mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-02 09:26:08 -05:00
Fix up Terraform installation and get back to latest changed file check
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
This commit is contained in:
8
.github/workflows/deploy-demo.yml
vendored
8
.github/workflows/deploy-demo.yml
vendored
@@ -16,6 +16,14 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 2
|
fetch-depth: 2
|
||||||
|
|
||||||
|
# Looks like we need to install Terraform ourselves now!
|
||||||
|
# https://github.com/actions/runner-images/issues/10796#issuecomment-2417064348
|
||||||
|
- name: Setup Terraform
|
||||||
|
uses: hashicorp/setup-terraform@v3
|
||||||
|
with:
|
||||||
|
terraform_version: "^1.7.5"
|
||||||
|
terraform_wrapper: false
|
||||||
|
|
||||||
- name: Check for changes to Terraform
|
- name: Check for changes to Terraform
|
||||||
id: changed-terraform-files
|
id: changed-terraform-files
|
||||||
uses: tj-actions/changed-files@v45
|
uses: tj-actions/changed-files@v45
|
||||||
|
|||||||
8
.github/workflows/deploy-prod.yml
vendored
8
.github/workflows/deploy-prod.yml
vendored
@@ -20,6 +20,14 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 2
|
fetch-depth: 2
|
||||||
|
|
||||||
|
# Looks like we need to install Terraform ourselves now!
|
||||||
|
# https://github.com/actions/runner-images/issues/10796#issuecomment-2417064348
|
||||||
|
- name: Setup Terraform
|
||||||
|
uses: hashicorp/setup-terraform@v3
|
||||||
|
with:
|
||||||
|
terraform_version: "^1.7.5"
|
||||||
|
terraform_wrapper: false
|
||||||
|
|
||||||
- name: Check for changes to Terraform
|
- name: Check for changes to Terraform
|
||||||
id: changed-terraform-files
|
id: changed-terraform-files
|
||||||
uses: tj-actions/changed-files@v45
|
uses: tj-actions/changed-files@v45
|
||||||
|
|||||||
12
.github/workflows/deploy.yml
vendored
12
.github/workflows/deploy.yml
vendored
@@ -22,9 +22,17 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 2
|
fetch-depth: 2
|
||||||
|
|
||||||
|
# Looks like we need to install Terraform ourselves now!
|
||||||
|
# https://github.com/actions/runner-images/issues/10796#issuecomment-2417064348
|
||||||
|
- name: Setup Terraform
|
||||||
|
uses: hashicorp/setup-terraform@v3
|
||||||
|
with:
|
||||||
|
terraform_version: "^1.7.5"
|
||||||
|
terraform_wrapper: false
|
||||||
|
|
||||||
- name: Check for changes to Terraform
|
- name: Check for changes to Terraform
|
||||||
id: changed-terraform-files
|
id: changed-terraform-files
|
||||||
uses: tj-actions/changed-files@v44
|
uses: tj-actions/changed-files@v45
|
||||||
with:
|
with:
|
||||||
files: |
|
files: |
|
||||||
terraform/staging/**
|
terraform/staging/**
|
||||||
@@ -84,7 +92,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Check for changes to templates.json
|
- name: Check for changes to templates.json
|
||||||
id: changed-templates
|
id: changed-templates
|
||||||
uses: tj-actions/changed-files@v44
|
uses: tj-actions/changed-files@v45
|
||||||
with:
|
with:
|
||||||
files: |
|
files: |
|
||||||
app/config_files/templates.json
|
app/config_files/templates.json
|
||||||
|
|||||||
24
.github/workflows/drift.yml
vendored
24
.github/workflows/drift.yml
vendored
@@ -15,6 +15,14 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
# Looks like we need to install Terraform ourselves now!
|
||||||
|
# https://github.com/actions/runner-images/issues/10796#issuecomment-2417064348
|
||||||
|
- name: Setup Terraform
|
||||||
|
uses: hashicorp/setup-terraform@v3
|
||||||
|
with:
|
||||||
|
terraform_version: "^1.7.5"
|
||||||
|
terraform_wrapper: false
|
||||||
|
|
||||||
- name: Check for drift
|
- name: Check for drift
|
||||||
uses: dflook/terraform-check@v1
|
uses: dflook/terraform-check@v1
|
||||||
env:
|
env:
|
||||||
@@ -35,6 +43,14 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
ref: 'production'
|
ref: 'production'
|
||||||
|
|
||||||
|
# Looks like we need to install Terraform ourselves now!
|
||||||
|
# https://github.com/actions/runner-images/issues/10796#issuecomment-2417064348
|
||||||
|
- name: Setup Terraform
|
||||||
|
uses: hashicorp/setup-terraform@v3
|
||||||
|
with:
|
||||||
|
terraform_version: "^1.7.5"
|
||||||
|
terraform_wrapper: false
|
||||||
|
|
||||||
- name: Check for drift
|
- name: Check for drift
|
||||||
uses: dflook/terraform-check@v1
|
uses: dflook/terraform-check@v1
|
||||||
env:
|
env:
|
||||||
@@ -55,6 +71,14 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
ref: 'production'
|
ref: 'production'
|
||||||
|
|
||||||
|
# Looks like we need to install Terraform ourselves now!
|
||||||
|
# https://github.com/actions/runner-images/issues/10796#issuecomment-2417064348
|
||||||
|
- name: Setup Terraform
|
||||||
|
uses: hashicorp/setup-terraform@v3
|
||||||
|
with:
|
||||||
|
terraform_version: "^1.7.5"
|
||||||
|
terraform_wrapper: false
|
||||||
|
|
||||||
- name: Check for drift
|
- name: Check for drift
|
||||||
uses: dflook/terraform-check@v1
|
uses: dflook/terraform-check@v1
|
||||||
env:
|
env:
|
||||||
|
|||||||
8
.github/workflows/terraform-demo.yml
vendored
8
.github/workflows/terraform-demo.yml
vendored
@@ -18,6 +18,14 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
# Looks like we need to install Terraform ourselves now!
|
||||||
|
# https://github.com/actions/runner-images/issues/10796#issuecomment-2417064348
|
||||||
|
- name: Setup Terraform
|
||||||
|
uses: hashicorp/setup-terraform@v3
|
||||||
|
with:
|
||||||
|
terraform_version: "^1.7.5"
|
||||||
|
terraform_wrapper: false
|
||||||
|
|
||||||
- name: Terraform format
|
- name: Terraform format
|
||||||
id: format
|
id: format
|
||||||
run: terraform fmt -check
|
run: terraform fmt -check
|
||||||
|
|||||||
8
.github/workflows/terraform-production.yml
vendored
8
.github/workflows/terraform-production.yml
vendored
@@ -18,6 +18,14 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
# Looks like we need to install Terraform ourselves now!
|
||||||
|
# https://github.com/actions/runner-images/issues/10796#issuecomment-2417064348
|
||||||
|
- name: Setup Terraform
|
||||||
|
uses: hashicorp/setup-terraform@v3
|
||||||
|
with:
|
||||||
|
terraform_version: "^1.7.5"
|
||||||
|
terraform_wrapper: false
|
||||||
|
|
||||||
- name: Terraform format
|
- name: Terraform format
|
||||||
id: format
|
id: format
|
||||||
run: terraform fmt -check
|
run: terraform fmt -check
|
||||||
|
|||||||
Reference in New Issue
Block a user