Skip to content

Commit

Permalink
remove terraform CI checks and change flux folder (#294)
Browse files Browse the repository at this point in the history
  • Loading branch information
garciagenrique authored Nov 15, 2024
1 parent 31481b6 commit a5a1fe1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 30 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/merge-check-always.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,9 @@ name: flux check pipeline # Merge Check Workflow for Terraform and Flux Files if
on:
pull_request:
paths-ignore:
- '**.tf'
- 'infrastructure/cluster/flux-v2/**'
- 'infrastructure/cluster/flux/**'

jobs:
terraform-validate:
name: "Validate Terraform files"
runs-on: ubuntu-latest
steps:
- run: 'echo "No check required"'

flux-validate:
name: "Validate Flux files"
runs-on: ubuntu-latest
Expand Down
24 changes: 2 additions & 22 deletions .github/workflows/merge-check-paths.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,34 +4,14 @@ on:
workflow_dispatch:
pull_request:
paths:
- '**.tf'
- 'infrastructure/cluster/flux-v2/**'
- 'infrastructure/cluster/flux/**'
push:
branches:
- main
paths:
- '**.tf'
- 'infrastructure/cluster/flux-v2/**'
- 'infrastructure/cluster/flux/**'

jobs:
terraform-validate:
name: "Validate Terraform files"
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Terraform Setup
uses: hashicorp/setup-terraform@v1

- name: Terraform Format
id: fmt
run: terraform fmt -check

- name: Terraform Validate
id: validate
run: terraform validate -no-color

flux-validate:
name: "Validate Flux files"
runs-on: ubuntu-latest
Expand Down

0 comments on commit a5a1fe1

Please sign in to comment.