This commit is contained in:
Giles Bradshaw 2020-04-29 13:11:23 +01:00
parent ff515c5930
commit cc8cadca12
2 changed files with 9 additions and 7 deletions

View File

@ -1,17 +1,19 @@
load("@this//stack:drone.star", "drone") load("@this//stack:drone.star", "drone")
load("@this//stack:stack-name.star", "stackName")
load("@this//stack:stack-root.star", "stackRoot")
def main(ctx): def main(ctx):
return drone( return drone(
ctx, ctx,
"home-deploy", "home-deploy",
"/stack/deploy", stackRoot,
"stack", stackName,
[ [
"docker service scale stack_ngrok=1", "docker service scale {name}_ngrok=1".format(name=stackName),
"docker service scale stack_chat=1", "docker service scale {name}_chat=1".format(name=stackName),
"docker service scale stack_letsencrypt-drone=1", "docker service scale {name}_letsencrypt-drone=1".format(name=stackName),
"docker service scale stack_letsencrypt-git=1", "docker service scale {name}_letsencrypt-git=1".format(name=stackName),
] ]
) )

View File

@ -1 +1 @@
stackRoot='${SIGYL_STACK_NAME}' stackName='${SIGYL_STACK_NAME}'