Commit 598a5977 authored by David McKay's avatar David McKay

chore: clean up GitHub Actions

parent 59c3f8cd
/terraform/ @rawkode @gitirabassi
name: Release Master
name: Release Helm Charts
on:
push:
......
name: Pull Request Checks
name: Test Helm Charts
on: pull_request
......
name: Terraform Apply
on:
push:
paths:
- ".github/workflows/terraform.yaml"
- "terraform/**"
branches:
- master
jobs:
terraform:
name: "Terraform Apply"
runs-on: ubuntu-latest
steps:
- name: "Checkout"
uses: actions/checkout@master
- name: "Terraform Format"
uses: hashicorp/terraform-github-actions@master
with:
tf_actions_version: 0.12.20
tf_actions_subcommand: "fmt"
tf_actions_working_dir: "terraform"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: "Terraform Init"
uses: hashicorp/terraform-github-actions@master
with:
tf_actions_version: 0.12.20
tf_actions_subcommand: "init"
tf_actions_working_dir: "terraform"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GOOGLE_CREDENTIALS: ${{ secrets.GOOGLE_CREDENTIALS }}
- name: "Terraform Validate"
uses: hashicorp/terraform-github-actions@master
with:
tf_actions_version: 0.12.20
tf_actions_subcommand: "validate"
tf_actions_working_dir: "terraform"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: "Terraform Apply"
uses: hashicorp/terraform-github-actions@master
with:
tf_actions_version: 0.12.20
tf_actions_subcommand: "apply"
tf_actions_working_dir: "terraform"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GOOGLE_CREDENTIALS: ${{ secrets.GOOGLE_CREDENTIALS }}
name: Repository Configuration with Terraform
name: Terraform Plan
on:
push:
pull_request:
branches:
- master
paths:
- ".github/workflows/terraform.yaml"
- "terraform/**"
jobs:
terraform:
name: "Terraform"
name: "Terraform Plan"
runs-on: ubuntu-latest
steps:
- name: "Checkout"
......
* @rawkode @gitirabassi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment