diff --git a/.github/workflows/pull-cd-builder-images-centos7.yaml b/.github/workflows/pull-cd-builder-images-centos7.yaml index 014aa09d..2202ba6e 100644 --- a/.github/workflows/pull-cd-builder-images-centos7.yaml +++ b/.github/workflows/pull-cd-builder-images-centos7.yaml @@ -97,7 +97,7 @@ jobs: strategy: matrix: - profile: [go-1.26, go-1.25] + profile: [go-1.27, go-1.26, go-1.25] platform: [linux/amd64, linux/arm64] builder: ${{ fromJSON(needs.define-matrix.outputs.changed_go_builder_folders) }} max-parallel: 1 diff --git a/.github/workflows/pull-cd-builder-images.yaml b/.github/workflows/pull-cd-builder-images.yaml index ef1b19b5..00fecc23 100644 --- a/.github/workflows/pull-cd-builder-images.yaml +++ b/.github/workflows/pull-cd-builder-images.yaml @@ -137,7 +137,7 @@ jobs: strategy: matrix: - profile: [go-1.26, go-1.25] + profile: [go-1.27, go-1.26, go-1.25] platform: [linux/amd64, linux/arm64] builder: ${{ fromJSON(needs.define-matrix.outputs.changed_go_builder_folders) }} max-parallel: 1 diff --git a/.github/workflows/release-cd-builder-images-centos7.yaml b/.github/workflows/release-cd-builder-images-centos7.yaml index 78ade631..26c9b70d 100644 --- a/.github/workflows/release-cd-builder-images-centos7.yaml +++ b/.github/workflows/release-cd-builder-images-centos7.yaml @@ -98,7 +98,7 @@ jobs: strategy: matrix: - profile: [go-1.26, go-1.25] + profile: [go-1.27, go-1.26, go-1.25] builder: ${{ fromJSON(needs.define-matrix.outputs.changed_go_builder_folders) }} max-parallel: 1 diff --git a/.github/workflows/release-cd-builder-images.yaml b/.github/workflows/release-cd-builder-images.yaml index d7e496d9..be4bee3d 100644 --- a/.github/workflows/release-cd-builder-images.yaml +++ b/.github/workflows/release-cd-builder-images.yaml @@ -101,7 +101,7 @@ jobs: strategy: matrix: - profile: [go-1.26, go-1.25] + profile: [go-1.27, go-1.26, go-1.25] builder: ${{ fromJSON(needs.define-matrix.outputs.changed_go_builder_folders) }} max-parallel: 1 diff --git a/dockerfiles/cd/builders/ng-monitoring/Dockerfile b/dockerfiles/cd/builders/ng-monitoring/Dockerfile index 0392e3bb..78a3ff5d 100644 --- a/dockerfiles/cd/builders/ng-monitoring/Dockerfile +++ b/dockerfiles/cd/builders/ng-monitoring/Dockerfile @@ -20,7 +20,7 @@ RUN --mount=type=cache,target=/var/cache/dnf \ # install golang toolchain # renovate: datasource=docker depName=golang -ARG GOLANG_VERSION=1.26.9 +ARG GOLANG_VERSION=1.27.2 RUN OS=linux; ARCH=$([ "$(arch)" = "x86_64" ] && echo amd64 || echo arm64); \ curl -fsSL https://dl.google.com/go/go${GOLANG_VERSION}.linux-${ARCH}.tar.gz | tar -C /usr/local -xz ENV PATH=/usr/local/go/bin/:$PATH diff --git a/dockerfiles/cd/builders/ng-monitoring/centos7/Dockerfile b/dockerfiles/cd/builders/ng-monitoring/centos7/Dockerfile index 7b93ed1a..d3faf024 100644 --- a/dockerfiles/cd/builders/ng-monitoring/centos7/Dockerfile +++ b/dockerfiles/cd/builders/ng-monitoring/centos7/Dockerfile @@ -25,7 +25,7 @@ RUN --mount=type=cache,target=/var/cache/yum \ # install golang toolchain # renovate: datasource=docker depName=golang -ARG GOLANG_VERSION=1.26.9 +ARG GOLANG_VERSION=1.27.2 RUN OS=linux; ARCH=$([ "$(arch)" = "x86_64" ] && echo amd64 || echo arm64); \ curl -fsSL https://dl.google.com/go/go${GOLANG_VERSION}.linux-${ARCH}.tar.gz | tar -C /usr/local -xz ENV PATH=/usr/local/go/bin/:$PATH diff --git a/dockerfiles/cd/builders/ng-monitoring/skaffold.centos7.non-root.yaml b/dockerfiles/cd/builders/ng-monitoring/skaffold.centos7.non-root.yaml index 9396aadd..b8e7972c 100644 --- a/dockerfiles/cd/builders/ng-monitoring/skaffold.centos7.non-root.yaml +++ b/dockerfiles/cd/builders/ng-monitoring/skaffold.centos7.non-root.yaml @@ -19,6 +19,16 @@ build: concurrency: 0 tryImportMissing: true profiles: + - name: go-1.27 + patches: + - op: replace + path: /build/tagPolicy/customTemplate/template + value: "{{ .GIT }}-centos7-non-root-go1.27" + - op: add + path: /build/artifacts/0/docker/buildArgs + value: + # renovate: datasource=docker depName=golang + GOLANG_VERSION: 1.27.2 - name: go-1.26 patches: - op: replace diff --git a/dockerfiles/cd/builders/ng-monitoring/skaffold.centos7.yaml b/dockerfiles/cd/builders/ng-monitoring/skaffold.centos7.yaml index b1b322d6..da2bb04b 100644 --- a/dockerfiles/cd/builders/ng-monitoring/skaffold.centos7.yaml +++ b/dockerfiles/cd/builders/ng-monitoring/skaffold.centos7.yaml @@ -19,6 +19,16 @@ build: concurrency: 0 tryImportMissing: true profiles: + - name: go-1.27 + patches: + - op: replace + path: /build/tagPolicy/customTemplate/template + value: "{{ .GIT }}-centos7-go1.27" + - op: add + path: /build/artifacts/0/docker/buildArgs + value: + # renovate: datasource=docker depName=golang + GOLANG_VERSION: 1.27.2 - name: go-1.26 patches: - op: replace diff --git a/dockerfiles/cd/builders/ng-monitoring/skaffold.non-root.yaml b/dockerfiles/cd/builders/ng-monitoring/skaffold.non-root.yaml index 87013e5c..36ca9456 100644 --- a/dockerfiles/cd/builders/ng-monitoring/skaffold.non-root.yaml +++ b/dockerfiles/cd/builders/ng-monitoring/skaffold.non-root.yaml @@ -20,6 +20,16 @@ build: concurrency: 0 tryImportMissing: true profiles: + - name: go-1.27 + patches: + - op: replace + path: /build/tagPolicy/customTemplate/template + value: "{{ .GIT }}-non-root-go1.27" + - op: add + path: /build/artifacts/0/docker/buildArgs + value: + # renovate: datasource=docker depName=golang + GOLANG_VERSION: 1.27.2 - name: go-1.26 patches: - op: replace diff --git a/dockerfiles/cd/builders/ng-monitoring/skaffold.yaml b/dockerfiles/cd/builders/ng-monitoring/skaffold.yaml index 1ee72aca..8c154ea8 100644 --- a/dockerfiles/cd/builders/ng-monitoring/skaffold.yaml +++ b/dockerfiles/cd/builders/ng-monitoring/skaffold.yaml @@ -20,6 +20,16 @@ build: concurrency: 0 tryImportMissing: true profiles: + - name: go-1.27 + patches: + - op: replace + path: /build/tagPolicy/customTemplate/template + value: "{{ .GIT }}-go1.27" + - op: add + path: /build/artifacts/0/docker/buildArgs + value: + # renovate: datasource=docker depName=golang + GOLANG_VERSION: 1.27.2 - name: go-1.26 patches: - op: replace diff --git a/dockerfiles/cd/builders/pd/Dockerfile b/dockerfiles/cd/builders/pd/Dockerfile index 3106d584..81b91c62 100644 --- a/dockerfiles/cd/builders/pd/Dockerfile +++ b/dockerfiles/cd/builders/pd/Dockerfile @@ -19,7 +19,7 @@ RUN --mount=type=cache,target=/var/cache/dnf \ # install golang toolchain # renovate: datasource=docker depName=golang -ARG GOLANG_VERSION=1.26.1 +ARG GOLANG_VERSION=1.27.2 RUN OS=linux; ARCH=$([ "$(arch)" = "x86_64" ] && echo amd64 || echo arm64); \ curl -fsSL https://dl.google.com/go/go${GOLANG_VERSION}.linux-${ARCH}.tar.gz | tar -C /usr/local -xz ENV PATH=/usr/local/go/bin/:$PATH diff --git a/dockerfiles/cd/builders/pd/centos7/Dockerfile b/dockerfiles/cd/builders/pd/centos7/Dockerfile index ca6d4dcb..0f750f8e 100644 --- a/dockerfiles/cd/builders/pd/centos7/Dockerfile +++ b/dockerfiles/cd/builders/pd/centos7/Dockerfile @@ -23,7 +23,7 @@ RUN --mount=type=cache,target=/var/cache/yum \ yum install --nogpgcheck -y which # install golang toolchain -ARG GOLANG_VERSION=1.26.1 +ARG GOLANG_VERSION=1.27.2 RUN OS=linux; ARCH=$([ "$(arch)" = "x86_64" ] && echo amd64 || echo arm64); \ curl -fsSL https://dl.google.com/go/go${GOLANG_VERSION}.linux-${ARCH}.tar.gz | tar -C /usr/local -xz ENV PATH=/usr/local/go/bin/:$PATH diff --git a/dockerfiles/cd/builders/pd/skaffold.centos7.non-root.yaml b/dockerfiles/cd/builders/pd/skaffold.centos7.non-root.yaml index 1e86f5ae..cd13fe61 100644 --- a/dockerfiles/cd/builders/pd/skaffold.centos7.non-root.yaml +++ b/dockerfiles/cd/builders/pd/skaffold.centos7.non-root.yaml @@ -19,6 +19,16 @@ build: concurrency: 0 tryImportMissing: true profiles: + - name: go-1.27 + patches: + - op: replace + path: /build/tagPolicy/customTemplate/template + value: "{{ .GIT }}-centos7-non-root-go1.27" + - op: add + path: /build/artifacts/0/docker/buildArgs + value: + # renovate: datasource=docker depName=golang + GOLANG_VERSION: 1.27.2 - name: go-1.26 patches: - op: replace diff --git a/dockerfiles/cd/builders/pd/skaffold.centos7.yaml b/dockerfiles/cd/builders/pd/skaffold.centos7.yaml index 35bb6562..848e6dd5 100644 --- a/dockerfiles/cd/builders/pd/skaffold.centos7.yaml +++ b/dockerfiles/cd/builders/pd/skaffold.centos7.yaml @@ -20,6 +20,16 @@ build: concurrency: 0 tryImportMissing: true profiles: + - name: go-1.27 + patches: + - op: replace + path: /build/tagPolicy/customTemplate/template + value: "{{ .GIT }}-centos7-go1.27" + - op: add + path: /build/artifacts/0/docker/buildArgs + value: + # renovate: datasource=docker depName=golang + GOLANG_VERSION: 1.27.2 - name: go-1.26 patches: - op: replace diff --git a/dockerfiles/cd/builders/pd/skaffold.non-root.yaml b/dockerfiles/cd/builders/pd/skaffold.non-root.yaml index 2f517a46..ec5a2ec7 100644 --- a/dockerfiles/cd/builders/pd/skaffold.non-root.yaml +++ b/dockerfiles/cd/builders/pd/skaffold.non-root.yaml @@ -20,6 +20,16 @@ build: concurrency: 0 tryImportMissing: true profiles: + - name: go-1.27 + patches: + - op: replace + path: /build/tagPolicy/customTemplate/template + value: "{{ .GIT }}-non-root-go1.27" + - op: add + path: /build/artifacts/0/docker/buildArgs + value: + # renovate: datasource=docker depName=golang + GOLANG_VERSION: 1.27.2 - name: go-1.26 patches: - op: replace diff --git a/dockerfiles/cd/builders/pd/skaffold.yaml b/dockerfiles/cd/builders/pd/skaffold.yaml index 2ac3c393..1e82b805 100644 --- a/dockerfiles/cd/builders/pd/skaffold.yaml +++ b/dockerfiles/cd/builders/pd/skaffold.yaml @@ -20,6 +20,16 @@ build: concurrency: 0 tryImportMissing: true profiles: + - name: go-1.27 + patches: + - op: replace + path: /build/tagPolicy/customTemplate/template + value: "{{ .GIT }}-go1.27" + - op: add + path: /build/artifacts/0/docker/buildArgs + value: + # renovate: datasource=docker depName=golang + GOLANG_VERSION: 1.27.2 - name: go-1.26 patches: - op: replace diff --git a/dockerfiles/cd/builders/tem/Dockerfile b/dockerfiles/cd/builders/tem/Dockerfile index ada5435d..c310529a 100644 --- a/dockerfiles/cd/builders/tem/Dockerfile +++ b/dockerfiles/cd/builders/tem/Dockerfile @@ -36,7 +36,7 @@ ENV PATH=/usr/local/bin/buf/bin/:$PATH # install golang toolchain # renovate: datasource=docker depName=golang -ARG GOLANG_VERSION=1.26.9 +ARG GOLANG_VERSION=1.27.2 RUN OS=linux; ARCH=$([ "$(arch)" = "x86_64" ] && echo amd64 || echo arm64); \ curl -fsSL https://dl.google.com/go/go${GOLANG_VERSION}.linux-${ARCH}.tar.gz | tar -C /usr/local -xz ENV PATH=/usr/local/go/bin/:$PATH diff --git a/dockerfiles/cd/builders/tem/skaffold.non-root.yaml b/dockerfiles/cd/builders/tem/skaffold.non-root.yaml index 9ba10ea6..ed4ada21 100644 --- a/dockerfiles/cd/builders/tem/skaffold.non-root.yaml +++ b/dockerfiles/cd/builders/tem/skaffold.non-root.yaml @@ -20,6 +20,16 @@ build: concurrency: 0 tryImportMissing: true profiles: + - name: go-1.27 + patches: + - op: replace + path: /build/tagPolicy/customTemplate/template + value: "{{ .GIT }}-non-root-go1.27" + - op: add + path: /build/artifacts/0/docker/buildArgs + value: + # renovate: datasource=docker depName=golang + GOLANG_VERSION: 1.27.2 - name: go-1.26 patches: - op: replace diff --git a/dockerfiles/cd/builders/tem/skaffold.yaml b/dockerfiles/cd/builders/tem/skaffold.yaml index cf56d162..89b9271c 100644 --- a/dockerfiles/cd/builders/tem/skaffold.yaml +++ b/dockerfiles/cd/builders/tem/skaffold.yaml @@ -19,6 +19,16 @@ build: concurrency: 0 tryImportMissing: true profiles: + - name: go-1.27 + patches: + - op: replace + path: /build/tagPolicy/customTemplate/template + value: "{{ .GIT }}-go1.27" + - op: add + path: /build/artifacts/0/docker/buildArgs + value: + # renovate: datasource=docker depName=golang + GOLANG_VERSION: 1.27.2 - name: go-1.26 patches: - op: replace diff --git a/dockerfiles/cd/builders/ticdc/Dockerfile b/dockerfiles/cd/builders/ticdc/Dockerfile index 841ad6ed..94d67880 100644 --- a/dockerfiles/cd/builders/ticdc/Dockerfile +++ b/dockerfiles/cd/builders/ticdc/Dockerfile @@ -19,7 +19,7 @@ RUN --mount=type=cache,target=/var/cache/dnf \ # install golang toolchain # renovate: datasource=docker depName=golang -ARG GOLANG_VERSION=1.26.9 +ARG GOLANG_VERSION=1.27.2 RUN OS=linux; ARCH=$([ "$(arch)" = "x86_64" ] && echo amd64 || echo arm64); \ curl -fsSL https://dl.google.com/go/go${GOLANG_VERSION}.linux-${ARCH}.tar.gz | tar -C /usr/local -xz ENV PATH=/usr/local/go/bin/:$PATH diff --git a/dockerfiles/cd/builders/ticdc/centos7/Dockerfile b/dockerfiles/cd/builders/ticdc/centos7/Dockerfile index 3f299401..1bb3b2b0 100644 --- a/dockerfiles/cd/builders/ticdc/centos7/Dockerfile +++ b/dockerfiles/cd/builders/ticdc/centos7/Dockerfile @@ -27,7 +27,7 @@ RUN --mount=type=cache,target=/var/cache/yum \ # install golang toolchain # renovate: datasource=docker depName=golang -ARG GOLANG_VERSION=1.26.9 +ARG GOLANG_VERSION=1.27.2 RUN OS=linux; ARCH=$([ "$(arch)" = "x86_64" ] && echo amd64 || echo arm64); \ curl -fsSL https://dl.google.com/go/go${GOLANG_VERSION}.linux-${ARCH}.tar.gz | tar -C /usr/local -xz ENV PATH=/usr/local/go/bin/:$PATH diff --git a/dockerfiles/cd/builders/ticdc/skaffold.centos7.non-root.yaml b/dockerfiles/cd/builders/ticdc/skaffold.centos7.non-root.yaml index dcf98726..457fb45f 100644 --- a/dockerfiles/cd/builders/ticdc/skaffold.centos7.non-root.yaml +++ b/dockerfiles/cd/builders/ticdc/skaffold.centos7.non-root.yaml @@ -19,6 +19,16 @@ build: concurrency: 0 tryImportMissing: true profiles: + - name: go-1.27 + patches: + - op: replace + path: /build/tagPolicy/customTemplate/template + value: "{{ .GIT }}-centos7-non-root-go1.27" + - op: add + path: /build/artifacts/0/docker/buildArgs + value: + # renovate: datasource=docker depName=golang + GOLANG_VERSION: 1.27.2 - name: go-1.26 patches: - op: replace diff --git a/dockerfiles/cd/builders/ticdc/skaffold.centos7.yaml b/dockerfiles/cd/builders/ticdc/skaffold.centos7.yaml index ced89cc3..32811c30 100644 --- a/dockerfiles/cd/builders/ticdc/skaffold.centos7.yaml +++ b/dockerfiles/cd/builders/ticdc/skaffold.centos7.yaml @@ -19,6 +19,16 @@ build: concurrency: 0 tryImportMissing: true profiles: + - name: go-1.27 + patches: + - op: replace + path: /build/tagPolicy/customTemplate/template + value: "{{ .GIT }}-centos7-go1.27" + - op: add + path: /build/artifacts/0/docker/buildArgs + value: + # renovate: datasource=docker depName=golang + GOLANG_VERSION: 1.27.2 - name: go-1.26 patches: - op: replace diff --git a/dockerfiles/cd/builders/ticdc/skaffold.non-root.yaml b/dockerfiles/cd/builders/ticdc/skaffold.non-root.yaml index 74dd7166..9f0df5dd 100644 --- a/dockerfiles/cd/builders/ticdc/skaffold.non-root.yaml +++ b/dockerfiles/cd/builders/ticdc/skaffold.non-root.yaml @@ -20,6 +20,16 @@ build: concurrency: 0 tryImportMissing: true profiles: + - name: go-1.27 + patches: + - op: replace + path: /build/tagPolicy/customTemplate/template + value: "{{ .GIT }}-non-root-go1.27" + - op: add + path: /build/artifacts/0/docker/buildArgs + value: + # renovate: datasource=docker depName=golang + GOLANG_VERSION: 1.27.2 - name: go-1.26 patches: - op: replace diff --git a/dockerfiles/cd/builders/ticdc/skaffold.yaml b/dockerfiles/cd/builders/ticdc/skaffold.yaml index 743a4370..f61498c3 100644 --- a/dockerfiles/cd/builders/ticdc/skaffold.yaml +++ b/dockerfiles/cd/builders/ticdc/skaffold.yaml @@ -20,6 +20,16 @@ build: concurrency: 0 tryImportMissing: true profiles: + - name: go-1.27 + patches: + - op: replace + path: /build/tagPolicy/customTemplate/template + value: "{{ .GIT }}-go1.27" + - op: add + path: /build/artifacts/0/docker/buildArgs + value: + # renovate: datasource=docker depName=golang + GOLANG_VERSION: 1.27.2 - name: go-1.26 patches: - op: replace diff --git a/dockerfiles/cd/builders/tidb-dashboard/Dockerfile b/dockerfiles/cd/builders/tidb-dashboard/Dockerfile index 08e2ffe6..7be31be9 100644 --- a/dockerfiles/cd/builders/tidb-dashboard/Dockerfile +++ b/dockerfiles/cd/builders/tidb-dashboard/Dockerfile @@ -20,7 +20,7 @@ RUN --mount=type=cache,target=/var/cache/dnf \ # install golang toolchain # renovate: datasource=docker depName=golang -ARG GOLANG_VERSION=1.26.9 +ARG GOLANG_VERSION=1.27.2 RUN OS=linux; ARCH=$([ "$(arch)" = "x86_64" ] && echo amd64 || echo arm64); \ curl -fsSL https://dl.google.com/go/go${GOLANG_VERSION}.linux-${ARCH}.tar.gz | tar -C /usr/local -xz ENV PATH=/usr/local/go/bin/:$PATH diff --git a/dockerfiles/cd/builders/tidb-dashboard/centos7/Dockerfile b/dockerfiles/cd/builders/tidb-dashboard/centos7/Dockerfile index 5a169ce9..963ba22e 100644 --- a/dockerfiles/cd/builders/tidb-dashboard/centos7/Dockerfile +++ b/dockerfiles/cd/builders/tidb-dashboard/centos7/Dockerfile @@ -23,7 +23,7 @@ RUN --mount=type=cache,target=/var/cache/yum \ # install golang toolchain # renovate: datasource=docker depName=golang -ARG GOLANG_VERSION=1.26.9 +ARG GOLANG_VERSION=1.27.2 RUN OS=linux; ARCH=$([ "$(arch)" = "x86_64" ] && echo amd64 || echo arm64); \ curl -fsSL https://dl.google.com/go/go${GOLANG_VERSION}.linux-${ARCH}.tar.gz | tar -C /usr/local -xz ENV PATH=/usr/local/go/bin/:$PATH diff --git a/dockerfiles/cd/builders/tidb-dashboard/skaffold.centos7.non-root.yaml b/dockerfiles/cd/builders/tidb-dashboard/skaffold.centos7.non-root.yaml index 0bddefb3..00bb3585 100644 --- a/dockerfiles/cd/builders/tidb-dashboard/skaffold.centos7.non-root.yaml +++ b/dockerfiles/cd/builders/tidb-dashboard/skaffold.centos7.non-root.yaml @@ -19,6 +19,16 @@ build: concurrency: 0 tryImportMissing: true profiles: + - name: go-1.27 + patches: + - op: replace + path: /build/tagPolicy/customTemplate/template + value: "{{ .GIT }}-centos7-non-root-go1.27" + - op: add + path: /build/artifacts/0/docker/buildArgs + value: + # renovate: datasource=docker depName=golang + GOLANG_VERSION: 1.27.2 - name: go-1.26 patches: - op: replace diff --git a/dockerfiles/cd/builders/tidb-dashboard/skaffold.centos7.yaml b/dockerfiles/cd/builders/tidb-dashboard/skaffold.centos7.yaml index fda28f27..293e4256 100644 --- a/dockerfiles/cd/builders/tidb-dashboard/skaffold.centos7.yaml +++ b/dockerfiles/cd/builders/tidb-dashboard/skaffold.centos7.yaml @@ -19,6 +19,16 @@ build: concurrency: 0 tryImportMissing: true profiles: + - name: go-1.27 + patches: + - op: replace + path: /build/tagPolicy/customTemplate/template + value: "{{ .GIT }}-centos7-go1.27" + - op: add + path: /build/artifacts/0/docker/buildArgs + value: + # renovate: datasource=docker depName=golang + GOLANG_VERSION: 1.27.2 - name: go-1.26 patches: - op: replace diff --git a/dockerfiles/cd/builders/tidb-dashboard/skaffold.non-root.yaml b/dockerfiles/cd/builders/tidb-dashboard/skaffold.non-root.yaml index 9f96deaa..9f579bc6 100644 --- a/dockerfiles/cd/builders/tidb-dashboard/skaffold.non-root.yaml +++ b/dockerfiles/cd/builders/tidb-dashboard/skaffold.non-root.yaml @@ -20,6 +20,16 @@ build: concurrency: 0 tryImportMissing: true profiles: + - name: go-1.27 + patches: + - op: replace + path: /build/tagPolicy/customTemplate/template + value: "{{ .GIT }}-non-root-go1.27" + - op: add + path: /build/artifacts/0/docker/buildArgs + value: + # renovate: datasource=docker depName=golang + GOLANG_VERSION: 1.27.2 - name: go-1.26 patches: - op: replace diff --git a/dockerfiles/cd/builders/tidb-dashboard/skaffold.yaml b/dockerfiles/cd/builders/tidb-dashboard/skaffold.yaml index 152e684a..b47bd57b 100644 --- a/dockerfiles/cd/builders/tidb-dashboard/skaffold.yaml +++ b/dockerfiles/cd/builders/tidb-dashboard/skaffold.yaml @@ -20,6 +20,16 @@ build: concurrency: 0 tryImportMissing: true profiles: + - name: go-1.27 + patches: + - op: replace + path: /build/tagPolicy/customTemplate/template + value: "{{ .GIT }}-go1.27" + - op: add + path: /build/artifacts/0/docker/buildArgs + value: + # renovate: datasource=docker depName=golang + GOLANG_VERSION: 1.27.2 - name: go-1.26 patches: - op: replace diff --git a/dockerfiles/cd/builders/tidb-operator/Dockerfile b/dockerfiles/cd/builders/tidb-operator/Dockerfile index 9b4df382..b420a5c2 100644 --- a/dockerfiles/cd/builders/tidb-operator/Dockerfile +++ b/dockerfiles/cd/builders/tidb-operator/Dockerfile @@ -8,8 +8,9 @@ # - docker build -t tidb-operator -f Dockerfile ./tidb-operator ########### stage: builder -ARG GOLANG_VERSION=1.26.9 +ARG GOLANG_VERSION=1.27.2 FROM golang:${GOLANG_VERSION} AS builder +ARG GOLANG_VERSION LABEL org.opencontainers.image.authors="wuhui.zuo@pingcap.com" LABEL org.opencontainers.image.description="binary builder for TiDB Operator" LABEL org.opencontainers.image.source="https://github.com/PingCAP-QE/artifacts" diff --git a/dockerfiles/cd/builders/tidb-operator/skaffold.non-root.yaml b/dockerfiles/cd/builders/tidb-operator/skaffold.non-root.yaml index 341e6126..7c7376e4 100644 --- a/dockerfiles/cd/builders/tidb-operator/skaffold.non-root.yaml +++ b/dockerfiles/cd/builders/tidb-operator/skaffold.non-root.yaml @@ -20,6 +20,16 @@ build: concurrency: 0 tryImportMissing: true profiles: + - name: go-1.27 + patches: + - op: replace + path: /build/tagPolicy/customTemplate/template + value: "{{ .GIT }}-non-root-go1.27" + - op: add + path: /build/artifacts/0/docker/buildArgs + value: + # renovate: datasource=docker depName=golang + GOLANG_VERSION: 1.27.2 - name: go-1.26 patches: - op: replace diff --git a/dockerfiles/cd/builders/tidb-operator/skaffold.yaml b/dockerfiles/cd/builders/tidb-operator/skaffold.yaml index 7ad7f271..7979bc75 100644 --- a/dockerfiles/cd/builders/tidb-operator/skaffold.yaml +++ b/dockerfiles/cd/builders/tidb-operator/skaffold.yaml @@ -20,6 +20,16 @@ build: concurrency: 0 tryImportMissing: true profiles: + - name: go-1.27 + patches: + - op: replace + path: /build/tagPolicy/customTemplate/template + value: "{{ .GIT }}-go1.27" + - op: add + path: /build/artifacts/0/docker/buildArgs + value: + # renovate: datasource=docker depName=golang + GOLANG_VERSION: 1.27.2 - name: go-1.26 patches: - op: replace diff --git a/dockerfiles/cd/builders/tidb/Dockerfile b/dockerfiles/cd/builders/tidb/Dockerfile index 518be732..ae60e192 100644 --- a/dockerfiles/cd/builders/tidb/Dockerfile +++ b/dockerfiles/cd/builders/tidb/Dockerfile @@ -20,7 +20,7 @@ RUN --mount=type=cache,target=/var/cache/dnf \ # install golang toolchain # renovate: datasource=docker depName=golang -ARG GOLANG_VERSION=1.26.9 +ARG GOLANG_VERSION=1.27.2 RUN OS=linux; ARCH=$([ "$(arch)" = "x86_64" ] && echo amd64 || echo arm64); \ curl -fsSL https://dl.google.com/go/go${GOLANG_VERSION}.linux-${ARCH}.tar.gz | tar -C /usr/local -xz ENV PATH=/usr/local/go/bin/:$PATH diff --git a/dockerfiles/cd/builders/tidb/centos7/Dockerfile b/dockerfiles/cd/builders/tidb/centos7/Dockerfile index 8204e80e..48db2fe7 100644 --- a/dockerfiles/cd/builders/tidb/centos7/Dockerfile +++ b/dockerfiles/cd/builders/tidb/centos7/Dockerfile @@ -43,7 +43,7 @@ RUN --mount=type=cache,target=/var/cache/yum \ # install golang toolchain # renovate: datasource=docker depName=golang -ARG GOLANG_VERSION=1.26.9 +ARG GOLANG_VERSION=1.27.2 RUN OS=linux; ARCH=$([ "$(arch)" = "x86_64" ] && echo amd64 || echo arm64); \ curl -fsSL https://dl.google.com/go/go${GOLANG_VERSION}.linux-${ARCH}.tar.gz | tar -C /usr/local -xz ENV PATH=/usr/local/go/bin/:$PATH diff --git a/dockerfiles/cd/builders/tidb/skaffold.centos7.non-root.yaml b/dockerfiles/cd/builders/tidb/skaffold.centos7.non-root.yaml index e32cfd3d..5c92721b 100644 --- a/dockerfiles/cd/builders/tidb/skaffold.centos7.non-root.yaml +++ b/dockerfiles/cd/builders/tidb/skaffold.centos7.non-root.yaml @@ -19,6 +19,16 @@ build: concurrency: 0 tryImportMissing: true profiles: + - name: go-1.27 + patches: + - op: replace + path: /build/tagPolicy/customTemplate/template + value: "{{ .GIT }}-centos7-non-root-go1.27" + - op: add + path: /build/artifacts/0/docker/buildArgs + value: + # renovate: datasource=docker depName=golang + GOLANG_VERSION: 1.27.2 - name: go-1.26 patches: - op: replace diff --git a/dockerfiles/cd/builders/tidb/skaffold.centos7.yaml b/dockerfiles/cd/builders/tidb/skaffold.centos7.yaml index 19ea7aac..49d2f403 100644 --- a/dockerfiles/cd/builders/tidb/skaffold.centos7.yaml +++ b/dockerfiles/cd/builders/tidb/skaffold.centos7.yaml @@ -19,6 +19,16 @@ build: concurrency: 0 tryImportMissing: true profiles: + - name: go-1.27 + patches: + - op: replace + path: /build/tagPolicy/customTemplate/template + value: "{{ .GIT }}-centos7-go1.27" + - op: add + path: /build/artifacts/0/docker/buildArgs + value: + # renovate: datasource=docker depName=golang + GOLANG_VERSION: 1.27.2 - name: go-1.26 patches: - op: replace diff --git a/dockerfiles/cd/builders/tidb/skaffold.non-root.yaml b/dockerfiles/cd/builders/tidb/skaffold.non-root.yaml index 4606a5fd..a7931a92 100644 --- a/dockerfiles/cd/builders/tidb/skaffold.non-root.yaml +++ b/dockerfiles/cd/builders/tidb/skaffold.non-root.yaml @@ -20,6 +20,16 @@ build: concurrency: 0 tryImportMissing: true profiles: + - name: go-1.27 + patches: + - op: replace + path: /build/tagPolicy/customTemplate/template + value: "{{ .GIT }}-non-root-go1.27" + - op: add + path: /build/artifacts/0/docker/buildArgs + value: + # renovate: datasource=docker depName=golang + GOLANG_VERSION: 1.27.2 - name: go-1.26 patches: - op: replace diff --git a/dockerfiles/cd/builders/tidb/skaffold.yaml b/dockerfiles/cd/builders/tidb/skaffold.yaml index de0b6a3e..3c24df61 100644 --- a/dockerfiles/cd/builders/tidb/skaffold.yaml +++ b/dockerfiles/cd/builders/tidb/skaffold.yaml @@ -20,6 +20,16 @@ build: concurrency: 0 tryImportMissing: true profiles: + - name: go-1.27 + patches: + - op: replace + path: /build/tagPolicy/customTemplate/template + value: "{{ .GIT }}-go1.27" + - op: add + path: /build/artifacts/0/docker/buildArgs + value: + # renovate: datasource=docker depName=golang + GOLANG_VERSION: 1.27.2 - name: go-1.26 patches: - op: replace diff --git a/dockerfiles/cd/builders/tidbx/centos7/Dockerfile b/dockerfiles/cd/builders/tidbx/centos7/Dockerfile index f97feceb..a8781056 100644 --- a/dockerfiles/cd/builders/tidbx/centos7/Dockerfile +++ b/dockerfiles/cd/builders/tidbx/centos7/Dockerfile @@ -18,7 +18,7 @@ RUN --mount=type=cache,target=/var/cache/yum \ # install golang toolchain # renovate: datasource=docker depName=golang -ARG GOLANG_VERSION=1.26.9 +ARG GOLANG_VERSION=1.27.2 RUN OS=linux; ARCH=$([ "$(arch)" = "x86_64" ] && echo amd64 || echo arm64); \ curl -fsSL https://dl.google.com/go/go${GOLANG_VERSION}.linux-${ARCH}.tar.gz | tar -C /usr/local -xz ENV PATH=/usr/local/go/bin/:$PATH diff --git a/dockerfiles/cd/builders/tidbx/skaffold.centos7.non-root.yaml b/dockerfiles/cd/builders/tidbx/skaffold.centos7.non-root.yaml index b8ee9084..c461a543 100644 --- a/dockerfiles/cd/builders/tidbx/skaffold.centos7.non-root.yaml +++ b/dockerfiles/cd/builders/tidbx/skaffold.centos7.non-root.yaml @@ -19,6 +19,16 @@ build: concurrency: 0 tryImportMissing: true profiles: + - name: go-1.27 + patches: + - op: replace + path: /build/tagPolicy/customTemplate/template + value: "{{ .GIT }}-centos7-non-root-go1.27" + - op: add + path: /build/artifacts/0/docker/buildArgs + value: + # renovate: datasource=docker depName=golang + GOLANG_VERSION: 1.27.2 - name: go-1.26 patches: - op: replace diff --git a/dockerfiles/cd/builders/tidbx/skaffold.centos7.yaml b/dockerfiles/cd/builders/tidbx/skaffold.centos7.yaml index b15ba6ce..8c3d5292 100644 --- a/dockerfiles/cd/builders/tidbx/skaffold.centos7.yaml +++ b/dockerfiles/cd/builders/tidbx/skaffold.centos7.yaml @@ -19,6 +19,16 @@ build: concurrency: 0 tryImportMissing: true profiles: + - name: go-1.27 + patches: + - op: replace + path: /build/tagPolicy/customTemplate/template + value: "{{ .GIT }}-centos7-go1.27" + - op: add + path: /build/artifacts/0/docker/buildArgs + value: + # renovate: datasource=docker depName=golang + GOLANG_VERSION: 1.27.2 - name: go-1.26 patches: - op: replace diff --git a/dockerfiles/cd/builders/tiflow/Dockerfile b/dockerfiles/cd/builders/tiflow/Dockerfile index 6d98065c..cbe2f32d 100644 --- a/dockerfiles/cd/builders/tiflow/Dockerfile +++ b/dockerfiles/cd/builders/tiflow/Dockerfile @@ -15,7 +15,7 @@ RUN --mount=type=cache,target=/var/cache/dnf \ # install golang toolchain # renovate: datasource=docker depName=golang -ARG GOLANG_VERSION=1.26.9 +ARG GOLANG_VERSION=1.27.2 RUN OS=linux; ARCH=$([ "$(arch)" = "x86_64" ] && echo amd64 || echo arm64); \ curl -fsSL https://dl.google.com/go/go${GOLANG_VERSION}.linux-${ARCH}.tar.gz | tar -C /usr/local -xz ENV PATH=/usr/local/go/bin/:$PATH diff --git a/dockerfiles/cd/builders/tiflow/centos7/Dockerfile b/dockerfiles/cd/builders/tiflow/centos7/Dockerfile index 257d8260..93361ce2 100644 --- a/dockerfiles/cd/builders/tiflow/centos7/Dockerfile +++ b/dockerfiles/cd/builders/tiflow/centos7/Dockerfile @@ -24,7 +24,7 @@ RUN --mount=type=cache,target=/var/cache/yum \ # install golang toolchain # renovate: datasource=docker depName=golang -ARG GOLANG_VERSION=1.26.9 +ARG GOLANG_VERSION=1.27.2 RUN OS=linux; ARCH=$([ "$(arch)" = "x86_64" ] && echo amd64 || echo arm64); \ curl -fsSL https://dl.google.com/go/go${GOLANG_VERSION}.linux-${ARCH}.tar.gz | tar -C /usr/local -xz ENV PATH=/usr/local/go/bin/:$PATH diff --git a/dockerfiles/cd/builders/tiflow/skaffold.centos7.non-root.yaml b/dockerfiles/cd/builders/tiflow/skaffold.centos7.non-root.yaml index d53b4d9c..b38c9e25 100644 --- a/dockerfiles/cd/builders/tiflow/skaffold.centos7.non-root.yaml +++ b/dockerfiles/cd/builders/tiflow/skaffold.centos7.non-root.yaml @@ -19,6 +19,16 @@ build: concurrency: 0 tryImportMissing: true profiles: + - name: go-1.27 + patches: + - op: replace + path: /build/tagPolicy/customTemplate/template + value: "{{ .GIT }}-centos7-non-root-go1.27" + - op: add + path: /build/artifacts/0/docker/buildArgs + value: + # renovate: datasource=docker depName=golang + GOLANG_VERSION: 1.27.2 - name: go-1.26 patches: - op: replace diff --git a/dockerfiles/cd/builders/tiflow/skaffold.centos7.yaml b/dockerfiles/cd/builders/tiflow/skaffold.centos7.yaml index 482162aa..58557b7b 100644 --- a/dockerfiles/cd/builders/tiflow/skaffold.centos7.yaml +++ b/dockerfiles/cd/builders/tiflow/skaffold.centos7.yaml @@ -19,6 +19,16 @@ build: concurrency: 0 tryImportMissing: true profiles: + - name: go-1.27 + patches: + - op: replace + path: /build/tagPolicy/customTemplate/template + value: "{{ .GIT }}-centos7-go1.27" + - op: add + path: /build/artifacts/0/docker/buildArgs + value: + # renovate: datasource=docker depName=golang + GOLANG_VERSION: 1.27.2 - name: go-1.26 patches: - op: replace diff --git a/dockerfiles/cd/builders/tiflow/skaffold.non-root.yaml b/dockerfiles/cd/builders/tiflow/skaffold.non-root.yaml index 624191ca..2e865131 100644 --- a/dockerfiles/cd/builders/tiflow/skaffold.non-root.yaml +++ b/dockerfiles/cd/builders/tiflow/skaffold.non-root.yaml @@ -20,6 +20,16 @@ build: concurrency: 0 tryImportMissing: true profiles: + - name: go-1.27 + patches: + - op: replace + path: /build/tagPolicy/customTemplate/template + value: "{{ .GIT }}-non-root-go1.27" + - op: add + path: /build/artifacts/0/docker/buildArgs + value: + # renovate: datasource=docker depName=golang + GOLANG_VERSION: 1.27.2 - name: go-1.26 patches: - op: replace diff --git a/dockerfiles/cd/builders/tiflow/skaffold.yaml b/dockerfiles/cd/builders/tiflow/skaffold.yaml index c18e9c32..a7aa8780 100644 --- a/dockerfiles/cd/builders/tiflow/skaffold.yaml +++ b/dockerfiles/cd/builders/tiflow/skaffold.yaml @@ -20,6 +20,16 @@ build: concurrency: 0 tryImportMissing: true profiles: + - name: go-1.27 + patches: + - op: replace + path: /build/tagPolicy/customTemplate/template + value: "{{ .GIT }}-go1.27" + - op: add + path: /build/artifacts/0/docker/buildArgs + value: + # renovate: datasource=docker depName=golang + GOLANG_VERSION: 1.27.2 - name: go-1.26 patches: - op: replace