.
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Giles Bradshaw 2020-04-27 16:25:17 +01:00
parent ef41cf5f67
commit 6f82de569e
2 changed files with 33 additions and 6 deletions

View File

@ -90,16 +90,43 @@ def main(ctx):
#build("letsencrypt-nginx"), #build("letsencrypt-nginx"),
build("drone-starlark"), build("drone-starlark"),
#buildHome(), #buildHome(),
buildDockerFolder(
"Dockerfile.home",
"nginx:latest",
"home",
"letsencrypt-nginx"
),
buildDockerFolder( buildDockerFolder(
"Dockerfile.blog", "Dockerfile.blog",
"letsencrypt-nginx", "letsencrypt-nginx",
"letsencrypt-blog", "letsencrypt-blog",
"letsencrypt-nginx" "letsencrypt-nginx"
), ),
buildFolder("drone", "letsencrypt-nginx"), buildDockerFolder(
buildFolder("git", "letsencrypt-nginx"), "Dockerfile.drone",
buildFolder("remote", "letsencrypt-nginx"), "letsencrypt-nginx",
buildFolder("chat", "letsencrypt-nginx"), "letsencrypt-drone",
"letsencrypt-nginx"
),
buildDockerFolder(
"Dockerfile.git",
"letsencrypt-nginx",
"letsencrypt-git",
"letsencrypt-nginx"
),
buildDockerFolder(
"Dockerfile.remote",
"letsencrypt-nginx",
"letsencrypt-remote",
"letsencrypt-nginx"
),
buildDockerFolder(
"Dockerfile.chat",
"letsencrypt-nginx",
"letsencrypt-chat",
"letsencrypt-nginx"
),
scp("~/gitea-drone-stack"), scp("~/gitea-drone-stack"),
pull([ pull([
"letsencrypt-git", "letsencrypt-git",
@ -107,7 +134,7 @@ def main(ctx):
"letsencrypt-drone", "letsencrypt-drone",
"letsencrypt-remote", "letsencrypt-remote",
"letsencrypt-blog", "letsencrypt-blog",
"nginx-home1", "home",
"drone-starlark", "drone-starlark",
]), ]),
deploy( deploy(

View File

@ -347,7 +347,7 @@ services:
replicas: 1 replicas: 1
restart_policy: restart_policy:
condition: any condition: any
image: ${LOCAL_DOCKER_REGISTRY}nginx-home1 image: ${LOCAL_DOCKER_REGISTRY}home
environment: environment:
- SERVER_NAME=${BLOG_DOMAIN} - SERVER_NAME=${BLOG_DOMAIN}
ports: ports: