diff --git a/.github/workflows/infrastructure.yml b/.github/workflows/infrastructure.yml index b0b98abf..1148ac47 100644 --- a/.github/workflows/infrastructure.yml +++ b/.github/workflows/infrastructure.yml @@ -1,6 +1,9 @@ --- name: Infrastructure Pipeline +env: + URL: https://releases.hashicorp.com/terraform/1.0.7/terraform_1.0.7_linux_amd64.zip + on: push: branches: @@ -24,8 +27,6 @@ defaults: jobs: format: runs-on: ubuntu-latest - env: - URL: https://releases.hashicorp.com/terraform/1.0.7/terraform_1.0.7_linux_amd64.zip steps: - uses: actions/checkout@v3 - name: Install Terraform diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 34f02530..9f1efdd6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -135,12 +135,14 @@ repos: hooks: - id: pyupgrade - # Ansible hooks - - repo: https://github.com/ansible/ansible-lint - rev: v6.19.0 - hooks: - - id: ansible-lint - # files: molecule/default/playbook.yml +# # Ansible hooks +# This hook takes several minutes checking .yml files outside our version control and +# there are no ansible playbooks in this repository +# - repo: https://github.com/ansible/ansible-lint +# rev: v6.19.0 +# hooks: +# - id: ansible-lint +# files: molecule/default/playbook.yml # Terraform hooks - repo: https://github.com/antonbabenko/pre-commit-terraform @@ -155,9 +157,10 @@ repos: hooks: - id: docker-compose-check - # Packer hooks - - repo: https://github.com/cisagov/pre-commit-packer - rev: v0.0.2 - hooks: - - id: packer_validate - - id: packer_fmt +# # Packer hooks +# This hook fails and there are no packer files in this repository +# - repo: https://github.com/cisagov/pre-commit-packer +# rev: v0.0.2 +# hooks: +# - id: packer_validate +# - id: packer_fmt