deps: terraform 1.2.3, conftest 0.32.1 (#2328)

* deps: terraform 1.2.3

Signed-off-by: Rui Chen <rui@chenrui.dev>

* deps: conftest 0.32.1

Signed-off-by: Rui Chen <rui@chenrui.dev>
This commit is contained in:
Rui Chen
2022-06-16 20:02:50 -04:00
committed by GitHub
parent 56d463be94
commit d315e50073
5 changed files with 7 additions and 7 deletions

View File

@@ -16,7 +16,7 @@ jobs:
# We do this instead of setting --default-tf-version because setting
# that flag starts the download asynchronously so we'd have a race
# condition.
TERRAFORM_VERSION: 1.2.0
TERRAFORM_VERSION: 1.2.3
steps:
- checkout
- run: make build-service

View File

@@ -13,7 +13,7 @@ FROM ghcr.io/runatlantis/atlantis-base:2022.05.13 AS base
ARG TARGETPLATFORM
# install terraform binaries
ENV DEFAULT_TERRAFORM_VERSION=1.2.0
ENV DEFAULT_TERRAFORM_VERSION=1.2.3
# In the official Atlantis image we only have the latest of each Terraform version.
RUN AVAILABLE_TERRAFORM_VERSIONS="0.11.15 0.12.31 0.13.7 0.14.11 0.15.5 1.0.11 1.1.9 ${DEFAULT_TERRAFORM_VERSION}" && \
@@ -35,7 +35,7 @@ RUN AVAILABLE_TERRAFORM_VERSIONS="0.11.15 0.12.31 0.13.7 0.14.11 0.15.5 1.0.11 1
done && \
ln -s /usr/local/bin/tf/versions/${DEFAULT_TERRAFORM_VERSION}/terraform /usr/local/bin/terraform
ENV DEFAULT_CONFTEST_VERSION=0.31.0
ENV DEFAULT_CONFTEST_VERSION=0.32.1
RUN AVAILABLE_CONFTEST_VERSIONS="${DEFAULT_CONFTEST_VERSION}" && \
case ${TARGETPLATFORM} in \

View File

@@ -1,6 +1,6 @@
FROM ghcr.io/runatlantis/atlantis:latest
COPY atlantis /usr/local/bin/atlantis
# TODO: remove this once we get this in the base image
ENV DEFAULT_CONFTEST_VERSION=0.31.0
ENV DEFAULT_CONFTEST_VERSION=0.32.1
WORKDIR /atlantis/src

View File

@@ -34,7 +34,7 @@ import (
)
const hashicorpReleasesURL = "https://releases.hashicorp.com"
const terraformVersion = "1.2.0"
const terraformVersion = "1.2.3"
const ngrokDownloadURL = "https://bin.equinox.io/c/4VmDzA7iaHb"
const ngrokAPIURL = "localhost:41414" // We hope this isn't used.
const atlantisPort = 4141

View File

@@ -3,7 +3,7 @@ FROM golang:1.17
RUN apt-get update && apt-get install unzip
# Install Terraform
ENV TERRAFORM_VERSION=1.2.0
ENV TERRAFORM_VERSION=1.2.3
RUN case $(uname -m) in x86_64|amd64) ARCH="amd64" ;; aarch64|arm64|armv7l) ARCH="arm64" ;; esac && \
wget -nv -O terraform.zip https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraform_${TERRAFORM_VERSION}_linux_${ARCH}.zip && \
mkdir -p /usr/local/bin/tf/versions/${TERRAFORM_VERSION} && \
@@ -12,7 +12,7 @@ RUN case $(uname -m) in x86_64|amd64) ARCH="amd64" ;; aarch64|arm64|armv7l) ARCH
rm terraform.zip
# Install conftest
ENV CONFTEST_VERSION=0.31.0
ENV CONFTEST_VERSION=0.32.1
RUN case $(uname -m) in x86_64|amd64) ARCH="x86_64" ;; aarch64|arm64|armv7l) ARCH="arm64" ;; esac && \
curl -LOs https://github.com/open-policy-agent/conftest/releases/download/v${CONFTEST_VERSION}/conftest_${CONFTEST_VERSION}_Linux_${ARCH}.tar.gz && \
curl -LOs https://github.com/open-policy-agent/conftest/releases/download/v${CONFTEST_VERSION}/checksums.txt && \