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

This commit is contained in:
Giles Bradshaw 2020-05-10 16:39:26 +01:00
parent e4f2ab011c
commit a6d0bf7faf
3 changed files with 0 additions and 42 deletions

View File

@ -434,7 +434,6 @@ volumes:
drone: drone:
drone-data: drone-data:
registry-data: registry-data:
registry-cache-data:
guacamole-postgresql-data: guacamole-postgresql-data:
commento-postgresql-data: commento-postgresql-data:
ghost-content: ghost-content:
@ -458,8 +457,3 @@ networks:
externalnet: externalnet:
driver: overlay driver: overlay
external: true external: true
secrets:
'registry-cert':
file: .certificates/registry.crt
'registry-key':
file: .certificates/registry.key

View File

@ -30,9 +30,6 @@ def deploy(
"export DRONE_COMMIT={commit}".format(commit=ctx.build.commit), "export DRONE_COMMIT={commit}".format(commit=ctx.build.commit),
"docker network prune -f", "docker network prune -f",
"cd {folder}".format(folder=folder), "cd {folder}".format(folder=folder),
"docker stack rm proxy",
"sleep 30",
"docker stack deploy -c docker-compose-proxy.yml proxy",
"docker stack rm {name}".format(name = name), "docker stack rm {name}".format(name = name),
"sleep 30", "sleep 30",
"docker stack deploy -c {filename} {name}".format(name= name, filename = filename), "docker stack deploy -c {filename} {name}".format(name= name, filename = filename),

View File

@ -39,23 +39,7 @@ def drone(
), ),
build("gitea"), build("gitea"),
build("guacamole-postgresql"), build("guacamole-postgresql"),
build("ngrok-gitea"),
build("letsencrypt-nginx"),
build("ghost"), build("ghost"),
buildDockerFolder(
"Dockerfile.git",
"$${LOCAL_DOCKER_REGISTRY}letsencrypt-nginx",
"$${LOCAL_DOCKER_REGISTRY}letsencrypt-git",
"letsencrypt-nginx",
"git",
),
buildDockerFolder(
"Dockerfile.drone",
"$${LOCAL_DOCKER_REGISTRY}letsencrypt-nginx",
"$${LOCAL_DOCKER_REGISTRY}letsencrypt-drone",
"letsencrypt-nginx",
"drone",
),
scp(base), scp(base),
pull( pull(
"pull images", "pull images",
@ -63,26 +47,9 @@ def drone(
"drone-starlark", "drone-starlark",
"gitea", "gitea",
"ghost", "ghost",
"ngrok-gitea",
"letsencrypt-git",
"letsencrypt-drone",
"guacamole-postgresql", "guacamole-postgresql",
], ],
), ),
#pull(
# "pull registry",
# [
# "letsencrypt-registry",
# ],
#),
#deploy(
# "docker-compose-registry.yml",
# 'registry',
# base,
# publicSecrets + secretSecrets,
# commands,
# ctx
#),
deploy( deploy(
"docker-compose.yml", "docker-compose.yml",
name, name,