.drone.jsonnet: Explicitly specify manifest to use for deploySteps
This commit is contained in:
parent
920fe7d9f4
commit
6a00da6970
@ -106,7 +106,7 @@ local promoteStep(env,
|
||||
|
||||
local deployStep(name, target=name, args=[]) = guix_step_time_machine(
|
||||
name,
|
||||
std.format('shell -CN -E "^AWS.*$" -- make %s ENV="${DRONE_DEPLOY_TO}" %s', [target, std.join(" ", args)]),
|
||||
std.format('shell -CN -E "^AWS.*$" -m manifest.scm -- make %s ENV="${DRONE_DEPLOY_TO}" %s', [target, std.join(" ", args)]),
|
||||
cwd="infra",
|
||||
channels="../channels.scm")
|
||||
.withEnv({ PLAN: "out.plan" } + env_from_secret({
|
||||
|
@ -70,7 +70,7 @@ steps:
|
||||
image: docker.nexus.home.rekahsoft.ca/guix:latest
|
||||
commands:
|
||||
- cd infra
|
||||
- "guix time-machine -C ../channels.scm -- shell -CN -E \"^AWS.*$\" -- make setup ENV=\"${DRONE_DEPLOY_TO}\" "
|
||||
- "guix time-machine -C ../channels.scm -- shell -CN -E \"^AWS.*$\" -m manifest.scm -- make setup ENV=\"${DRONE_DEPLOY_TO}\" "
|
||||
environment:
|
||||
AWS_ACCESS_KEY_ID:
|
||||
from_secret: aws_access_key_id
|
||||
@ -83,7 +83,7 @@ steps:
|
||||
image: docker.nexus.home.rekahsoft.ca/guix:latest
|
||||
commands:
|
||||
- cd infra
|
||||
- "guix time-machine -C ../channels.scm -- shell -CN -E \"^AWS.*$\" -- make plan ENV=\"${DRONE_DEPLOY_TO}\" "
|
||||
- "guix time-machine -C ../channels.scm -- shell -CN -E \"^AWS.*$\" -m manifest.scm -- make plan ENV=\"${DRONE_DEPLOY_TO}\" "
|
||||
environment:
|
||||
AWS_ACCESS_KEY_ID:
|
||||
from_secret: aws_access_key_id
|
||||
@ -96,7 +96,7 @@ steps:
|
||||
image: docker.nexus.home.rekahsoft.ca/guix:latest
|
||||
commands:
|
||||
- cd infra
|
||||
- "guix time-machine -C ../channels.scm -- shell -CN -E \"^AWS.*$\" -- make deploy ENV=\"${DRONE_DEPLOY_TO}\" "
|
||||
- "guix time-machine -C ../channels.scm -- shell -CN -E \"^AWS.*$\" -m manifest.scm -- make deploy ENV=\"${DRONE_DEPLOY_TO}\" "
|
||||
environment:
|
||||
AWS_ACCESS_KEY_ID:
|
||||
from_secret: aws_access_key_id
|
||||
|
Loading…
Reference in New Issue
Block a user