This commit is contained in:
parent
ff515c5930
commit
cc8cadca12
|
@ -1,17 +1,19 @@
|
|||
|
||||
load("@this//stack:drone.star", "drone")
|
||||
load("@this//stack:stack-name.star", "stackName")
|
||||
load("@this//stack:stack-root.star", "stackRoot")
|
||||
|
||||
def main(ctx):
|
||||
return drone(
|
||||
ctx,
|
||||
"home-deploy",
|
||||
"/stack/deploy",
|
||||
"stack",
|
||||
stackRoot,
|
||||
stackName,
|
||||
[
|
||||
"docker service scale stack_ngrok=1",
|
||||
"docker service scale stack_chat=1",
|
||||
"docker service scale stack_letsencrypt-drone=1",
|
||||
"docker service scale stack_letsencrypt-git=1",
|
||||
"docker service scale {name}_ngrok=1".format(name=stackName),
|
||||
"docker service scale {name}_chat=1".format(name=stackName),
|
||||
"docker service scale {name}_letsencrypt-drone=1".format(name=stackName),
|
||||
"docker service scale {name}_letsencrypt-git=1".format(name=stackName),
|
||||
]
|
||||
)
|
||||
|
|
@ -1 +1 @@
|
|||
stackRoot='${SIGYL_STACK_NAME}'
|
||||
stackName='${SIGYL_STACK_NAME}'
|
Reference in New Issue