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.
stack/.drone-home.star

18 lines
465 B
Plaintext
Raw Normal View History

2020-04-26 13:11:56 +00:00
2020-04-28 16:02:57 +00:00
load("@this//stack:drone.star", "drone")
2020-04-29 12:11:23 +00:00
load("@this//stack:stack-name.star", "stackName")
load("@this//stack:stack-root.star", "stackRoot")
2020-04-26 12:24:13 +00:00
2020-04-24 06:32:20 +00:00
def main(ctx):
2020-04-28 16:02:57 +00:00
return drone(
2020-04-28 16:03:26 +00:00
ctx,
2020-04-28 16:02:57 +00:00
"home-deploy",
2020-04-29 12:11:23 +00:00
stackRoot,
stackName,
2020-04-28 21:22:55 +00:00
[
2020-04-29 12:11:23 +00:00
"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),
2020-04-28 21:22:55 +00:00
]
2020-04-28 16:02:57 +00:00
)