2020-05-10 16:16:11 +00:00
|
|
|
|
|
|
|
load("@this//drone:drone.star", "drone")
|
|
|
|
load("@this//drone:stack-name.star", "stackName")
|
|
|
|
load("@this//drone:stack-root.star", "stackRoot")
|
|
|
|
|
|
|
|
def main(ctx):
|
|
|
|
return drone(
|
|
|
|
ctx,
|
|
|
|
"home-deploy",
|
|
|
|
stackRoot,
|
|
|
|
stackName,
|
2020-05-11 00:30:19 +00:00
|
|
|
[
|
|
|
|
"docker service scale proxy_letsencrypt-drone=0",
|
|
|
|
"docker service scale proxy_letsencrypt-drone=1",
|
|
|
|
]
|
2020-05-10 16:16:11 +00:00
|
|
|
)
|
|
|
|
|