Skip to content

Releases: gruntwork-io/pre-commit

v0.1.15

27 Sep 13:28
2053191
Compare
Choose a tag to compare

Modules affected

  • packer-validate [NEW MODULE]

Description

A new hook was added to validate packer files.

Special thanks

Special thanks to @queglay for the contribution!

Related links

v0.1.14

23 Sep 15:31
ebe15a2
Compare
Choose a tag to compare

Modules affected

  • terraform-fmt

Description

  • Save the original value of $PATH and change it back after.

Special thanks

Special thanks to @joshschmitter for the contribution!

Related links

v0.1.13

21 Sep 10:15
c9d4458
Compare
Choose a tag to compare

Modules affected

  • go-fmt
  • goimports
  • helmlint
  • mdlink-check
  • terragrunt-hclfmt
  • yapf

Description

  • Use /usr/bin/env bash in all the scripts, to improve portability.

Special thanks

Special thanks to @alias-dev for the contribution!

Related links

v0.1.12

10 Dec 16:14
e9250bd
Compare
Choose a tag to compare

Modules affected

  • terraform-fmt
  • terraform-validate

Description

  • The terraform-validate hook will now (a) set the TF_IN_AUTOMATION variable to reduce Terraform output that isn't relevant in automation, (b) print out each directory it's running in so if you hit an error, you know where to look, (c) save errors until the end, so validate runs in all modules, rather than exiting on the first error.
  • The terraform-fmt hook will now (a) run with -diff -check so the differences and affected files are printed to logs, rather than written to disk and (b) save errors until the end, so fmt runs in all modules, rather than exiting on the first error.

Special thanks

Special thanks to @davidalger for the contributions!

Related links

v0.1.11

25 Nov 08:24
edda9e3
Compare
Choose a tag to compare

Modules affected

  • terraform-fmt
  • terraform-validate
  • tflint

Description

Use /usr/bin/env bash instead of /bin/bash for better portability.

Special thanks

Special thanks to @parkalla86 for their contribution!

Related links

v0.1.10

17 Aug 16:18
f2d6727
Compare
Choose a tag to compare

Modules affected

  • helmlint

Description

helmlint hook will now run serially.

Special thanks

Special thanks to @shmileee for their contribution!

Related links

v0.1.9

16 Jun 01:23
4373c1e
Compare
Choose a tag to compare

Modules affected

  • terraform-validate

Description

This fixes a regression bug where the terraform-validate hook that broke with the tfenv support release (v0.1.5).

Related links

v0.1.8

05 Jun 21:26
6b5c74c
Compare
Choose a tag to compare

Modules affected

  • terraform-fmt
  • terraform-validate
  • terragrunt-hclfmt

Description

This fixes a regression bug where the terraform fmt and terragrunt hclfmt calls were not running on the right files after the improvement to support tfenv and tgenv.

Special Thanks

Special thanks to @oasys for their contribution!

Related links

v0.1.7

02 Jun 21:43
0fdadbe
Compare
Choose a tag to compare

Modules affected

  • shellcheck

Description

You can now configure shellcheck to enable certain checks with the --enable CLI arg in the pre-commit check.

Special Thanks

Special thanks to @06kellyjac for their contribution!

Related links

v0.1.6

02 Jun 21:32
0e0fb57
Compare
Choose a tag to compare

Modules affected

  • terraform-fmt
  • terraform-validate
  • terragrunt-hclfmt

Description

The terraform and terragrunt related precommit hooks now run the commands in the directory of each module to respect setups that depend on tfenv and tgenv.

Special Thanks

Special thanks to @AlainODea for their contribution!

Related links