From fae3351a10d61db26d1563038df582280997ab18 Mon Sep 17 00:00:00 2001 From: Denis Biondic Date: Thu, 1 Sep 2022 12:00:43 +0200 Subject: [PATCH] feat: tooling upgrade --- Dockerfile | 10 +++++----- pkg/hq/dependencies.go | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Dockerfile b/Dockerfile index e88c9ad..0f9dd11 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.18.2-bullseye +FROM golang:1.18.5-bullseye RUN apt-get update && \ apt-get install lsb-release -y @@ -8,14 +8,14 @@ RUN go version RUN apt-get update ################## Tooling prerequisites ###################### -ARG AZURE_CLI_VERSION=2.37.0 +ARG AZURE_CLI_VERSION=2.39.0 RUN echo "deb [arch=amd64] https://packages.microsoft.com/repos/azure-cli/ $(lsb_release -cs) main" > /etc/apt/sources.list.d/azure-cli.list RUN curl -L https://packages.microsoft.com/keys/microsoft.asc | apt-key add - RUN apt-get install apt-transport-https RUN apt-get update && apt-get install -y azure-cli=${AZURE_CLI_VERSION}-1~bullseye # Install terraform -ARG TERRAFORM_VERSION=1.2.1 +ARG TERRAFORM_VERSION=1.2.8 RUN curl -L https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraform_${TERRAFORM_VERSION}_linux_amd64.zip --output terraform.zip RUN apt-get install unzip RUN unzip terraform.zip @@ -24,7 +24,7 @@ RUN mv terraform /usr/local/bin # k8s CLI # You must use a kubectl version that is within one minor version difference of your cluster. # For example, a v1.24 client can communicate with v1.23, v1.24, and v1.25 control planes. -ARG KUBECTL_VERSION=v1.23.5 +ARG KUBECTL_VERSION=v1.25.0 RUN curl -LO https://dl.k8s.io/release/${KUBECTL_VERSION}/bin/linux/amd64/kubectl RUN install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl RUN kubectl version --client=true @@ -35,7 +35,7 @@ RUN chmod 700 get_helm.sh RUN ./get_helm.sh # copsctl -ENV COPSCTL_VERSION 0.8.2 +ENV COPSCTL_VERSION 0.8.4 RUN curl -LO https://github.com/conplementAG/copsctl/releases/download/v${COPSCTL_VERSION}/copsctl_${COPSCTL_VERSION}_Linux_x86_64.tar.gz RUN tar xvzf copsctl_${COPSCTL_VERSION}_Linux_x86_64.tar.gz RUN mv copsctl $GOPATH/bin diff --git a/pkg/hq/dependencies.go b/pkg/hq/dependencies.go index d584050..4886c58 100644 --- a/pkg/hq/dependencies.go +++ b/pkg/hq/dependencies.go @@ -11,11 +11,11 @@ import ( ) const ( - ExpectedMinAzureCliVersion = "2.37.0" - ExpectedMinTerraformVersion = "1.2.1" + ExpectedMinAzureCliVersion = "2.39.0" + ExpectedMinTerraformVersion = "1.2.8" ExpectedMinHelmVersion = "3.8.2" - ExpectedMinKubectlVersion = "1.23.5" - ExpectedMinCopsctlVersion = "0.8.0" + ExpectedMinKubectlVersion = "1.25.0" + ExpectedMinCopsctlVersion = "0.8.4" ExpectedMinSopsVersion = "3.7.3" )