.
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,
|
name,
|
||||||
folder,
|
folder,
|
||||||
secrets,
|
secrets,
|
||||||
|
commands,
|
||||||
):
|
):
|
||||||
return {
|
return {
|
||||||
"name": "deploy",
|
"name": "deploy",
|
||||||
|
@ -29,6 +30,6 @@ def deploy(
|
||||||
"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),
|
||||||
]
|
] + commands
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -22,6 +22,7 @@ def drone(
|
||||||
branch,
|
branch,
|
||||||
base,
|
base,
|
||||||
name,
|
name,
|
||||||
|
commands,
|
||||||
):
|
):
|
||||||
if ctx.build.branch == branch:
|
if ctx.build.branch == branch:
|
||||||
return [
|
return [
|
||||||
|
@ -64,7 +65,8 @@ def drone(
|
||||||
"docker-compose-home.yml",
|
"docker-compose-home.yml",
|
||||||
name,
|
name,
|
||||||
base,
|
base,
|
||||||
publicSecrets + secretSecrets
|
publicSecrets + secretSecrets,
|
||||||
|
commands
|
||||||
|
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
|
|
@ -5,6 +5,7 @@ publicSecrets = [
|
||||||
"drone-domain",
|
"drone-domain",
|
||||||
"drone-gitea-client-id",
|
"drone-gitea-client-id",
|
||||||
"drone-gitea-server",
|
"drone-gitea-server",
|
||||||
|
"drone-server-host",
|
||||||
"git-domain",
|
"git-domain",
|
||||||
"local-docker-registry",
|
"local-docker-registry",
|
||||||
"remote-domain",
|
"remote-domain",
|
||||||
|
|
Reference in New Issue