.
continuous-integration/drone/push Build was killed Details

This commit is contained in:
Giles Bradshaw 2020-04-28 20:22:17 +01:00
parent 5b5935afff
commit 1e2d4d6d00
3 changed files with 6 additions and 2 deletions

View File

@ -8,6 +8,7 @@ def deploy(
name,
folder,
secrets,
commands,
):
return {
"name": "deploy",
@ -29,6 +30,6 @@ def deploy(
"docker stack rm {name}".format(name = name),
"sleep 30",
"docker stack deploy -c {filename} {name}".format(name= name, filename = filename),
]
] + commands
}
}

View File

@ -22,6 +22,7 @@ def drone(
branch,
base,
name,
commands,
):
if ctx.build.branch == branch:
return [
@ -64,7 +65,8 @@ def drone(
"docker-compose-home.yml",
name,
base,
publicSecrets + secretSecrets
publicSecrets + secretSecrets,
commands
),
],

View File

@ -5,6 +5,7 @@ publicSecrets = [
"drone-domain",
"drone-gitea-client-id",
"drone-gitea-server",
"drone-server-host",
"git-domain",
"local-docker-registry",
"remote-domain",