19 lines
544 B
Plaintext
19 lines
544 B
Plaintext
|
|
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,
|
|
"stack-deploy",
|
|
stackRoot,
|
|
stackName,
|
|
[
|
|
"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),
|
|
]
|
|
)
|
|
|