Skip to content

Commit 3b8c804

Browse files
feat(housekeeping): quaterly upgrades
1 parent 05887a4 commit 3b8c804

File tree

6 files changed

+81
-90
lines changed

6 files changed

+81
-90
lines changed

Dockerfile

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# - we would pass the linux/amd64 as the build variable to remove the warning, but since this here is a "boilerplate"
44
# image, it is meant to be copy pasted in the projects, where teams can still adjust the image and use the ${BUILDPLATFORM}
55
# variable. Check https://docs.docker.com/reference/build-checks/from-platform-flag-const-disallowed/ for reference.
6-
FROM --platform=linux/amd64 golang:1.23.1-bullseye
6+
FROM --platform=linux/amd64 golang:1.24.2-bullseye
77

88
RUN apt-get update && \
99
apt-get install lsb-release unzip -y
@@ -15,7 +15,7 @@ RUN apt-get update
1515
################## Tooling prerequisites ######################
1616
# Azure Cli
1717
# https://github.com/Azure/azure-cli/releases
18-
ARG AZURE_CLI_VERSION=2.64.0
18+
ARG AZURE_CLI_VERSION=2.71.0
1919
RUN echo "deb [arch=amd64] https://packages.microsoft.com/repos/azure-cli/ $(lsb_release -cs) main" > /etc/apt/sources.list.d/azure-cli.list && \
2020
curl -L https://packages.microsoft.com/keys/microsoft.asc | apt-key add - && \
2121
apt-get install apt-transport-https && \
@@ -24,7 +24,7 @@ RUN echo "deb [arch=amd64] https://packages.microsoft.com/repos/azure-cli/ $(lsb
2424

2525
# terraform
2626
# https://releases.hashicorp.com/terraform/
27-
ARG TERRAFORM_VERSION=1.9.6
27+
ARG TERRAFORM_VERSION=1.11.4
2828
RUN curl -L https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraform_${TERRAFORM_VERSION}_linux_amd64.zip --output terraform.zip && \
2929
unzip terraform.zip && \
3030
mv terraform /usr/local/bin && \
@@ -33,14 +33,14 @@ RUN curl -L https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraf
3333
# k8s CLI
3434
# You must use a kubectl version that is within one minor version difference of your cluster.
3535
# For example, a v1.24 client can communicate with v1.23, v1.24, and v1.25 control planes.
36-
ARG KUBECTL_VERSION=v1.29.9
36+
ARG KUBECTL_VERSION=v1.32.3
3737
RUN curl -LO https://dl.k8s.io/release/${KUBECTL_VERSION}/bin/linux/amd64/kubectl && \
3838
install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl && \
3939
kubectl version --client=true -o=json
4040

4141
# kubelogin CLI
42-
ARG KUBELOGIN_VERSION=v0.1.4
43-
ARG KUBELOGIN_SHA256=cda67158030669963f19abe7c47edbc941d842d18790c599e444998cbab6aae7
42+
ARG KUBELOGIN_VERSION=v0.2.7
43+
ARG KUBELOGIN_SHA256=5053984edc5ccb9dafccf41bcf8d1814f9a4704f2da529c4b9100ecca3ca7857
4444
RUN curl -LO https://github.com/Azure/kubelogin/releases/download/${KUBELOGIN_VERSION}/kubelogin-linux-amd64.zip && \
4545
echo "${KUBELOGIN_SHA256} kubelogin-linux-amd64.zip" | sha256sum -c && \
4646
unzip kubelogin-linux-amd64.zip -d kubelogin && \
@@ -49,22 +49,22 @@ RUN curl -LO https://github.com/Azure/kubelogin/releases/download/${KUBELOGIN_VE
4949
kubelogin --version
5050

5151
# helm
52-
ARG HELM_VERSION=3.16.1
52+
ARG HELM_VERSION=3.17.3
5353
RUN curl -L https://get.helm.sh/helm-v${HELM_VERSION}-linux-amd64.tar.gz --output helm.tar.gz && \
5454
tar xvzf helm.tar.gz && \
5555
mv linux-amd64/helm /usr/local/bin && \
5656
helm version
5757

5858
# copsctl
59-
ARG COPSCTL_VERSION=0.12.3
59+
ARG COPSCTL_VERSION=0.14.0
6060
RUN curl -LO https://github.com/conplementAG/copsctl/releases/download/v${COPSCTL_VERSION}/copsctl_Linux_x86_64.tar.gz && \
6161
tar xvzf copsctl_Linux_x86_64.tar.gz && \
6262
mv copsctl $GOPATH/bin && \
6363
copsctl --version
6464

6565
# sops
66-
ARG SOPS_VERSION=v3.9.0
67-
ARG SOPS_SHA256=0d65660fbe785647ff4f1764d7f69edf598f79d6d79ebbef4a501909b6ff6b82
66+
ARG SOPS_VERSION=v3.10.1
67+
ARG SOPS_SHA256=1bc9fbce48e3fcc7e684d604d50f7c56721b6cd2d27f96ec74b8b56b5a96c942
6868
RUN curl -LO https://github.com/mozilla/sops/releases/download/${SOPS_VERSION}/sops-${SOPS_VERSION}.linux.amd64 && \
6969
echo "${SOPS_SHA256} sops-${SOPS_VERSION}.linux.amd64" | sha256sum -c && \
7070
mv sops-${SOPS_VERSION}.linux.amd64 sops && \

go.mod

Lines changed: 20 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
module github.com/conplementag/cops-hq/v2
22

3-
go 1.23
3+
go 1.24.2
44

55
require (
66
github.com/Masterminds/semver/v3 v3.3.1
77
github.com/ahmetb/go-linq/v3 v3.2.0
8-
github.com/avast/retry-go/v4 v4.6.0
9-
github.com/briandowns/spinner v1.23.1
8+
github.com/avast/retry-go/v4 v4.6.1
9+
github.com/briandowns/spinner v1.23.2
1010
github.com/common-nighthawk/go-figure v0.0.0-20210622060536-734e95fb86be
1111
github.com/google/uuid v1.6.0
12-
github.com/mattn/go-colorable v0.1.13
12+
github.com/mattn/go-colorable v0.1.14
1313
github.com/sirupsen/logrus v1.9.3
1414
github.com/snowzach/rotatefilehook v0.0.0-20220211133110-53752135082d
15-
github.com/spf13/cobra v1.8.1
16-
github.com/spf13/viper v1.19.0
15+
github.com/spf13/cobra v1.9.1
16+
github.com/spf13/viper v1.20.1
1717
github.com/stretchr/testify v1.10.0
1818
github.com/x-cray/logrus-prefixed-formatter v0.5.2
1919
gopkg.in/yaml.v3 v3.0.1
@@ -22,32 +22,28 @@ require (
2222
require (
2323
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
2424
github.com/fatih/color v1.18.0 // indirect
25-
github.com/fsnotify/fsnotify v1.8.0 // indirect
26-
github.com/hashicorp/hcl v1.0.0 // indirect
25+
github.com/fsnotify/fsnotify v1.9.0 // indirect
26+
github.com/go-viper/mapstructure/v2 v2.2.1 // indirect
27+
github.com/google/go-cmp v0.7.0 // indirect
2728
github.com/inconshreveable/mousetrap v1.1.0 // indirect
28-
github.com/magiconair/properties v1.8.9 // indirect
2929
github.com/mattn/go-isatty v0.0.20 // indirect
3030
github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d // indirect
31-
github.com/mitchellh/mapstructure v1.5.0 // indirect
3231
github.com/onsi/ginkgo v1.16.5 // indirect
33-
github.com/onsi/gomega v1.36.1 // indirect
34-
github.com/pelletier/go-toml/v2 v2.2.3 // indirect
32+
github.com/onsi/gomega v1.37.0 // indirect
33+
github.com/pelletier/go-toml/v2 v2.2.4 // indirect
3534
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
36-
github.com/sagikazarmark/locafero v0.6.0 // indirect
37-
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
35+
github.com/sagikazarmark/locafero v0.9.0 // indirect
3836
github.com/sourcegraph/conc v0.3.0 // indirect
39-
github.com/spf13/afero v1.11.0 // indirect
40-
github.com/spf13/cast v1.7.0 // indirect
41-
github.com/spf13/pflag v1.0.5 // indirect
37+
github.com/spf13/afero v1.14.0 // indirect
38+
github.com/spf13/cast v1.7.1 // indirect
39+
github.com/spf13/pflag v1.0.6 // indirect
4240
github.com/stretchr/objx v0.5.2 // indirect
4341
github.com/subosito/gotenv v1.6.0 // indirect
4442
go.uber.org/multierr v1.11.0 // indirect
45-
golang.org/x/crypto v0.31.0 // indirect
46-
golang.org/x/exp v0.0.0-20241215155358-4a5509556b9e // indirect
47-
golang.org/x/net v0.32.0 // indirect
48-
golang.org/x/sys v0.28.0 // indirect
49-
golang.org/x/term v0.27.0 // indirect
50-
golang.org/x/text v0.21.0 // indirect
51-
gopkg.in/ini.v1 v1.67.0 // indirect
43+
golang.org/x/crypto v0.37.0 // indirect
44+
golang.org/x/net v0.39.0 // indirect
45+
golang.org/x/sys v0.32.0 // indirect
46+
golang.org/x/term v0.31.0 // indirect
47+
golang.org/x/text v0.24.0 // indirect
5248
gopkg.in/natefinch/lumberjack.v2 v2.2.1 // indirect
5349
)

0 commit comments

Comments
 (0)