From 18a9c41b6aec5a175dad601e9ed5fd917ab462b7 Mon Sep 17 00:00:00 2001 From: 1gtm <1gtm@appscode.com> Date: Sat, 10 Oct 2026 20:06:15 +0000 Subject: [PATCH 1/2] Use Go 1.27, k8s 1.37 & debian:13 /cherry-pick Signed-off-by: 1gtm <1gtm@appscode.com> --- .github/dependabot.yml | 7 +++++++ .github/workflows/ci.yml | 4 ++-- Dockerfile.dbg | 2 +- Makefile | 2 +- 4 files changed, 11 insertions(+), 4 deletions(-) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 000000000..3dd792052 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,7 @@ +version: 2 +updates: + - package-ecosystem: "gomod" + directory: "/" + schedule: + interval: "daily" + open-pull-requests-limit: 0 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3a371c1eb..8f5fb1dbf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,10 +13,10 @@ jobs: name: Build runs-on: ubuntu-24.04 steps: - - name: Set up Go 1.25 + - name: Set up Go 1.27 uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5.6.0 with: - go-version: '1.25' + go-version: '1.27' id: go - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 diff --git a/Dockerfile.dbg b/Dockerfile.dbg index 7f6c05a6e..9d939fd42 100644 --- a/Dockerfile.dbg +++ b/Dockerfile.dbg @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -FROM debian:12 +FROM debian:13 ENV DEBIAN_FRONTEND noninteractive ENV DEBCONF_NONINTERACTIVE_SEEN true diff --git a/Makefile b/Makefile index 4e5b3c1d1..abea06aba 100644 --- a/Makefile +++ b/Makefile @@ -68,7 +68,7 @@ TAG := $(VERSION)_$(OS)_$(ARCH) TAG_PROD := $(TAG) TAG_DBG := $(VERSION)-dbg_$(OS)_$(ARCH) -GO_VERSION ?= 1.25 +GO_VERSION ?= 1.27 BUILD_IMAGE ?= ghcr.io/appscode/golang-dev:$(GO_VERSION) OUTBIN = bin/$(OS)_$(ARCH)/$(BIN) From d06964730f47f828a6f606ea63636c8afa2d1a64 Mon Sep 17 00:00:00 2001 From: Tamal Saha Date: Sun, 11 Oct 2026 02:24:43 +0600 Subject: [PATCH 2/2] Fix lint errors Signed-off-by: Tamal Saha --- pkg/utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/utils.go b/pkg/utils.go index 3a3ab5378..010c9ab7b 100644 --- a/pkg/utils.go +++ b/pkg/utils.go @@ -148,7 +148,7 @@ func (session *sessionWrapper) setMultiDumpArgs(args string) { func (session *sessionWrapper) buildCommonArgsString() string { var builder strings.Builder for _, arg := range session.cmd.Args { - builder.WriteString(fmt.Sprintf(" %v", arg)) + fmt.Fprintf(&builder, " %v", arg) } return strings.TrimSpace(builder.String()) }