.
continuous-integration/drone/push Build was killed
Details
continuous-integration/drone/push Build was killed
Details
This commit is contained in:
parent
5b5935afff
commit
1e2d4d6d00
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
||||
),
|
||||
],
|
||||
|
|
|
@ -5,6 +5,7 @@ publicSecrets = [
|
|||
"drone-domain",
|
||||
"drone-gitea-client-id",
|
||||
"drone-gitea-server",
|
||||
"drone-server-host",
|
||||
"git-domain",
|
||||
"local-docker-registry",
|
||||
"remote-domain",
|
||||
|
|
Reference in New Issue