1 Commits

Author SHA1 Message Date
unkinben ce8483f9fa feat: initial setup
Build / build (pull_request) Successful in 39s
- manage nomad jobs
- create makefile
- create gitignore
- manage terragrunt environments
- add build/deploy jobs
2024-12-28 22:37:54 +11:00
3 changed files with 9 additions and 8 deletions
+1 -4
View File
@@ -2,9 +2,6 @@ name: Build
on:
pull_request:
push:
branches:
- master
jobs:
build:
@@ -17,7 +14,7 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3
- name: Install Packages
- name: Install Terraform/Terragrunt
run: |
dnf install terraform terragrunt vault jq -y
+7 -4
View File
@@ -1,12 +1,15 @@
name: Deploy
on:
push:
branches:
- master
workflow_run:
workflows:
- Build
types:
- completed
jobs:
deploy:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: almalinux-8
container:
image: git.query.consul/unkin/almalinux8-runnerdnd:latest
@@ -22,7 +25,7 @@ jobs:
name: plans
path: /workspace/unkin/terraform-nomad/plans
- name: Install Packages
- name: Install Terraform/Terragrunt
run: |
dnf install terraform terragrunt vault jq -y
+1
View File
@@ -21,6 +21,7 @@ clean:
init:
$(call vault_env) && \
env | sort && \
terragrunt --terragrunt-working-dir $(ENV_DIR) init
plan: init