This repository has been archived on 2020-08-11. You can view files and clone it, but cannot push or open issues or pull requests.
2020-04-27 19:55:45 +00:00
|
|
|
|
2020-04-28 17:41:26 +00:00
|
|
|
load("@this//stack:drone.star", "drone")
|
2020-04-29 12:54:07 +00:00
|
|
|
load("@this//stack:stack-name.star", "stackName")
|
|
|
|
load("@this//stack:stack-root.star", "stackRoot")
|
|
|
|
|
2020-04-27 19:55:45 +00:00
|
|
|
|
|
|
|
def main(ctx):
|
2020-04-28 17:41:26 +00:00
|
|
|
return drone(
|
|
|
|
ctx,
|
|
|
|
"do",
|
2020-04-29 12:54:07 +00:00
|
|
|
stackRoot,
|
|
|
|
stackName,
|
2020-04-28 19:32:05 +00:00
|
|
|
[
|
2020-04-29 12:54:07 +00:00
|
|
|
"docker service scale {name}_chat=1".format(name=stackName),
|
2020-04-28 19:32:05 +00:00
|
|
|
]
|
2020-04-28 17:41:26 +00:00
|
|
|
)
|
|
|
|
|