diff --git a/.drone.jsonnet b/.drone.jsonnet index c0881ea..4b702fb 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -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({ diff --git a/.drone.yml b/.drone.yml index 020bedb..6a2f96b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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