From 18cbfd2c4a6d5f13d21cbbd7c547962b6c820187 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20=C4=8Ctvrtka?= Date: Thu, 12 Mar 2026 11:54:45 +0100 Subject: [PATCH 1/5] PMM-7 Go bump. --- config/scripts/pt_builder.sh | 2 +- go.mod | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/scripts/pt_builder.sh b/config/scripts/pt_builder.sh index 136ee0d5..f7eb26d4 100644 --- a/config/scripts/pt_builder.sh +++ b/config/scripts/pt_builder.sh @@ -170,7 +170,7 @@ install_go() { #rm -rf /usr/local/go /usr/local/go1.8 /usr/local/go1.9 #mv go1.9 /usr/local/ #ln -s /usr/local/go1.9 /usr/local/go - GO_VERSION=1.25.5 + GO_VERSION=1.25.8 if [ x"$ARCH" = "xx86_64" ]; then GO_ARCH="amd64" elif [ x"$ARCH" = "xaarch64" ]; then diff --git a/go.mod b/go.mod index 695c6288..d118a63b 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/percona/percona-toolkit -go 1.25.5 +go 1.25.8 require ( github.com/AlekSi/pointer v1.2.0 From ee866a6fe225097ff529637c1b93563c3bb338af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20=C4=8Ctvrtka?= Date: Thu, 12 Mar 2026 11:57:02 +0100 Subject: [PATCH 2/5] PMM-7 Exclude pt_builder. --- config/scripts/pt_builder.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/scripts/pt_builder.sh b/config/scripts/pt_builder.sh index f7eb26d4..136ee0d5 100644 --- a/config/scripts/pt_builder.sh +++ b/config/scripts/pt_builder.sh @@ -170,7 +170,7 @@ install_go() { #rm -rf /usr/local/go /usr/local/go1.8 /usr/local/go1.9 #mv go1.9 /usr/local/ #ln -s /usr/local/go1.9 /usr/local/go - GO_VERSION=1.25.8 + GO_VERSION=1.25.5 if [ x"$ARCH" = "xx86_64" ]; then GO_ARCH="amd64" elif [ x"$ARCH" = "xaarch64" ]; then From 50984808211fb633f4909a670f14009f23b248ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20=C4=8Ctvrtka?= Date: Thu, 12 Mar 2026 12:07:28 +0100 Subject: [PATCH 3/5] Revert "PMM-7 Exclude pt_builder." This reverts commit ee866a6fe225097ff529637c1b93563c3bb338af. --- config/scripts/pt_builder.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/scripts/pt_builder.sh b/config/scripts/pt_builder.sh index 136ee0d5..f7eb26d4 100644 --- a/config/scripts/pt_builder.sh +++ b/config/scripts/pt_builder.sh @@ -170,7 +170,7 @@ install_go() { #rm -rf /usr/local/go /usr/local/go1.8 /usr/local/go1.9 #mv go1.9 /usr/local/ #ln -s /usr/local/go1.9 /usr/local/go - GO_VERSION=1.25.5 + GO_VERSION=1.25.8 if [ x"$ARCH" = "xx86_64" ]; then GO_ARCH="amd64" elif [ x"$ARCH" = "xaarch64" ]; then From 091f4f8c46a23ed6ff388a98a967f0ee0d4ddee2 Mon Sep 17 00:00:00 2001 From: Alex Demidoff Date: Thu, 12 Mar 2026 14:41:48 +0300 Subject: [PATCH 4/5] PMM-7 Bump trivy action to 0.35.0 --- .github/workflows/toolkit.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/toolkit.yml b/.github/workflows/toolkit.yml index 27e84e53..4b0db3b8 100644 --- a/.github/workflows/toolkit.yml +++ b/.github/workflows/toolkit.yml @@ -27,7 +27,7 @@ jobs: - name: Build the Docker image run: echo "FROM oraclelinux:9-slim" > Dockerfile; echo "RUN microdnf -y update" >> Dockerfile; echo "COPY bin/* /usr/bin/" >> Dockerfile; docker build . --file Dockerfile --tag percona-toolkit:${{ github.sha }} - name: Run Trivy vulnerability scanner - uses: aquasecurity/trivy-action@0.34.0 + uses: aquasecurity/trivy-action@0.35.0 with: image-ref: 'percona-toolkit:${{ github.sha }}' format: 'table' From 76db8a53008b79c22cc016154cd98e13f6c3a02e Mon Sep 17 00:00:00 2001 From: Alex Demidoff Date: Thu, 12 Mar 2026 15:13:27 +0300 Subject: [PATCH 5/5] PMM-7 Pick up Go version from go.mod --- .github/workflows/toolkit.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/toolkit.yml b/.github/workflows/toolkit.yml index 4b0db3b8..2194fb40 100644 --- a/.github/workflows/toolkit.yml +++ b/.github/workflows/toolkit.yml @@ -20,7 +20,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v6 with: - go-version: '1.25' + go-version-file: ${{ github.workspace }}/go.mod - name: Build run: cd src/go; make linux-amd64; cd ../../