3 Commits

Author SHA1 Message Date
unkinben 67841094d5 feat: check if zip file is valid
Build / build (pull_request) Successful in 41s
Deploy / deploy (pull_request) Failing after 42s
- test the zip file to ensure its valid
2024-12-30 00:45:23 +11:00
unkinben 9cb07d9cef feat: wait for artifacts to be created
Build / build (pull_request) Successful in 39s
2024-12-30 00:22:34 +11:00
unkinben 809d26349b Merge pull request 'fix: update deployment' (#3) from neoloc/deploy_workflow into master
Build / build (push) Successful in 37s
Deploy / deploy (push) Failing after 1m10s
Reviewed-on: https://git.query.consul/unkin/terraform-nomad/pulls/3
2024-12-28 22:58:25 +11:00
+3 -7
View File
@@ -1,6 +1,7 @@
name: Deploy
on:
pull_request:
push:
branches:
- master
@@ -16,18 +17,13 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3
- name: Download Build Artifacts
uses: actions/download-artifact@v3
with:
name: plans
path: /workspace/unkin/terraform-nomad/plans
- name: Install Packages
run: |
dnf install terraform terragrunt vault jq -y
- name: Run Terraform Apply
- name: Run Terraform
env:
VAULT_ROLEID: ${{ secrets.TERRAFORM_NOMAD_VAULT_ROLEID }}
run: |
make plan
make apply