.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
e4f2ab011c
commit
a6d0bf7faf
|
@ -434,7 +434,6 @@ volumes:
|
|||
drone:
|
||||
drone-data:
|
||||
registry-data:
|
||||
registry-cache-data:
|
||||
guacamole-postgresql-data:
|
||||
commento-postgresql-data:
|
||||
ghost-content:
|
||||
|
@ -458,8 +457,3 @@ networks:
|
|||
externalnet:
|
||||
driver: overlay
|
||||
external: true
|
||||
secrets:
|
||||
'registry-cert':
|
||||
file: .certificates/registry.crt
|
||||
'registry-key':
|
||||
file: .certificates/registry.key
|
||||
|
|
|
@ -30,9 +30,6 @@ def deploy(
|
|||
"export DRONE_COMMIT={commit}".format(commit=ctx.build.commit),
|
||||
"docker network prune -f",
|
||||
"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),
|
||||
"sleep 30",
|
||||
"docker stack deploy -c {filename} {name}".format(name= name, filename = filename),
|
||||
|
|
|
@ -39,23 +39,7 @@ def drone(
|
|||
),
|
||||
build("gitea"),
|
||||
build("guacamole-postgresql"),
|
||||
build("ngrok-gitea"),
|
||||
build("letsencrypt-nginx"),
|
||||
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),
|
||||
pull(
|
||||
"pull images",
|
||||
|
@ -63,26 +47,9 @@ def drone(
|
|||
"drone-starlark",
|
||||
"gitea",
|
||||
"ghost",
|
||||
"ngrok-gitea",
|
||||
"letsencrypt-git",
|
||||
"letsencrypt-drone",
|
||||
"guacamole-postgresql",
|
||||
],
|
||||
),
|
||||
#pull(
|
||||
# "pull registry",
|
||||
# [
|
||||
# "letsencrypt-registry",
|
||||
# ],
|
||||
#),
|
||||
#deploy(
|
||||
# "docker-compose-registry.yml",
|
||||
# 'registry',
|
||||
# base,
|
||||
# publicSecrets + secretSecrets,
|
||||
# commands,
|
||||
# ctx
|
||||
#),
|
||||
deploy(
|
||||
"docker-compose.yml",
|
||||
name,
|
||||
|
|
Reference in New Issue