From a61ae8678a4765efb07b451864f24b43f5c0097c Mon Sep 17 00:00:00 2001 From: "Grayson, Matthew" Date: Fri, 8 Mar 2024 13:33:33 -0600 Subject: [PATCH] Troubleshoot URL var in infrastructure.yml. --- .github/workflows/infrastructure.yml | 5 +++-- .pre-commit-config.yaml | 27 +++++++++++++++------------ 2 files changed, 18 insertions(+), 14 deletions(-) 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