Skip to content

Commit

Permalink
Update atlantis 0.23.4, TG 0.45.2 (#69)
Browse files Browse the repository at this point in the history
* Update atlantis 0.23.4, TG 0.45.2

* Fix paths for TF-binaries
  • Loading branch information
snovikov authored Apr 11, 2023
1 parent eb3111d commit eaff21c
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 16 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/docker_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,18 @@ jobs:
fail-fast: false
matrix:
ATLANTIS:
- 0.23.3
- 0.23.4
TF_TG:
# Terraform 1.4.x
- 'TF-1.4.4 TG-0.45.0'
- 'TF-1.4.4 TG-0.45.2'
# Terraform 1.3.x
- 'TF-1.3.9 TG-0.45.0'
- 'TF-1.3.9 TG-0.45.2'
# Terraform 1.2.x
- 'TF-1.2.9 TG-0.45.0'
- 'TF-1.2.9 TG-0.45.2'
# Terraform 1.1.x
- 'TF-1.1.9 TG-0.45.0'
- 'TF-1.1.9 TG-0.45.2'
# Terraform 1.0.x
- 'TF-1.0.11 TG-0.45.0'
- 'TF-1.0.11 TG-0.45.2'

steps:
- name: Checkout repository
Expand Down
9 changes: 4 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,14 @@ RUN set -eux \
| tail -1 \
)"; \
fi \
&& if [ ! -d "/usr/local/bin/tf/versions/${TERRAFORM}" ]; then \
mkdir "/usr/local/bin/tf/versions/${TERRAFORM}" \
&& cd "/usr/local/bin/tf/versions/${TERRAFORM}" \
&& if ! terraform version | grep -qE " v${TERRAFORM}\$"; then \
cd "/tmp" \
&& curl -sS "https://releases.hashicorp.com/terraform/${TERRAFORM}/terraform_${TERRAFORM}_linux_amd64.zip" -o terraform.zip \
&& unzip terraform.zip \
&& rm terraform.zip \
&& chmod +x terraform; \
&& chmod +x terraform \
&& mv terraform /usr/local/bin/terraform; \
fi \
&& ln -sf "/usr/local/bin/tf/versions/${TERRAFORM}/terraform" /usr/local/bin/terraform \
&& terraform --version | grep "v${TERRAFORM}"

###
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ IMAGE = "flaconi/atlantis-terragrunt"
TAG = latest

# Versions
ATLANTIS = '0.23.3'
ATLANTIS = '0.23.4'
TERRAFORM = '1.4.4'
TERRAGRUNT = '0.45.0'
TERRAGRUNT = '0.45.2'
TERRAGRUNT_ATLANTIS_CONFIG = '1.16.0'

pull:
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ For building you can overwrite your desired versions with the following three Ma
```
make build
make build TERRAFORM=1.4.4
make build TERRAFORM=1.4.4 TERRAGRUNT=0.45.0
make build TERRAFORM=1.4.4 TERRAGRUNT=0.45.0 ATLANTIS=0.23.3
make build TERRAFORM=1.4.4 TERRAGRUNT=0.45.0 ATLANTIS=0.23.3 TERRAGRUNT_ATLANTIS_CONFIG=1.16.0
make build TERRAFORM=1.4.4 TERRAGRUNT=0.45.2
make build TERRAFORM=1.4.4 TERRAGRUNT=0.45.2 ATLANTIS=0.23.4
make build TERRAFORM=1.4.4 TERRAGRUNT=0.45.2 ATLANTIS=0.23.4 TERRAGRUNT_ATLANTIS_CONFIG=1.16.0
```

## Available images
Expand Down

0 comments on commit eaff21c

Please sign in to comment.