Skip to content

Commit

Permalink
Troubleshoot URL var in infrastructure.yml.
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew-Grayson committed Mar 8, 2024
1 parent 79abf6c commit a61ae86
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 14 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/infrastructure.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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
Expand Down
27 changes: 15 additions & 12 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit a61ae86

Please sign in to comment.