terraform-nomad/.gitea/workflows/deploy.yaml
Ben Vincent 67841094d5
Some checks failed
Build / build (pull_request) Successful in 41s
Deploy / deploy (pull_request) Failing after 42s
feat: check if zip file is valid
- test the zip file to ensure its valid
2024-12-30 00:45:23 +11:00

30 lines
562 B
YAML

name: Deploy
on:
pull_request:
push:
branches:
- master
jobs:
deploy:
runs-on: almalinux-8
container:
image: git.query.consul/unkin/almalinux8-runnerdnd:latest
options: --privileged
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install Packages
run: |
dnf install terraform terragrunt vault jq -y
- name: Run Terraform
env:
VAULT_ROLEID: ${{ secrets.TERRAFORM_NOMAD_VAULT_ROLEID }}
run: |
make plan
make apply