11defaults : &defaults
22 machine : true
33 environment :
4- GRUNTWORK_INSTALLER_VERSION : v0.0.21
4+ GRUNTWORK_INSTALLER_VERSION : v0.0.25
55 TERRATEST_LOG_PARSER_VERSION : v0.13.24
6- MODULE_CI_VERSION : v0.13.3
7- TERRAFORM_VERSION : 0.12.2
6+ MODULE_CI_VERSION : v0.18.4
7+ TERRAFORM_VERSION : 0.12.23
88 TERRAGRUNT_VERSION : NONE
99 PACKER_VERSION : NONE
10- GOLANG_VERSION : 1.11.2
10+ GOLANG_VERSION : 1.13.8
1111
1212install_gruntwork_utils : &install_gruntwork_utils
1313 name : install gruntwork utils
@@ -16,32 +16,20 @@ install_gruntwork_utils: &install_gruntwork_utils
1616 gruntwork-install --module-name "gruntwork-module-circleci-helpers" --repo "https://github.com/gruntwork-io/module-ci" --tag "${MODULE_CI_VERSION}"
1717 gruntwork-install --binary-name "terratest_log_parser" --repo "https://github.com/gruntwork-io/terratest" --tag "${TERRATEST_LOG_PARSER_VERSION}"
1818 configure-environment-for-gruntwork-module \
19- --circle-ci-2-machine-executor \
2019 --terraform-version ${TERRAFORM_VERSION} \
2120 --terragrunt-version ${TERRAGRUNT_VERSION} \
2221 --packer-version ${PACKER_VERSION} \
23- --use-go-dep \
24- --go-version ${GOLANG_VERSION} \
25- --go-src-path test
22+ --go-version ${GOLANG_VERSION}
2623version : 2
2724jobs :
2825 build :
2926 << : *defaults
3027 steps :
3128 - checkout
32- - restore_cache :
33- keys :
34- - dep-v1-{{ checksum "test/Gopkg.lock" }}
35-
3629 # Install gruntwork utilities
3730 - run :
3831 << : *install_gruntwork_utils
3932
40- - save_cache :
41- key : dep-v1-{{ checksum "test/Gopkg.lock" }}
42- paths :
43- - ./test/vendor
44-
4533 # Fail the build if the pre-commit hooks don't pass. Note: if you run pre-commit install locally, these hooks will
4634 # execute automatically every time before you commit, ensuring the build never fails at this step!
4735 - run : pip install pre-commit==1.11.2 cfgv==2.0.1 yapf
0 commit comments