Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/arm64-build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:

env:
# Common versions
GO_VERSION: '1.23.8'
GO_VERSION: '1.27.1'

permissions:
contents: read
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/server-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:

env:
# Common versions
GO_VERSION: '1.23.8'
GO_VERSION: '1.27.1'

permissions:
contents: read
Expand Down Expand Up @@ -87,8 +87,8 @@ jobs:

- name: Install envtest binaries
run: |
go install sigs.k8s.io/controller-runtime/tools/setup-envtest@v0.0.0-20250308055145-5fe7bb3edc86 # release-0.19
echo "KUBEBUILDER_ASSETS=$("$(go env GOPATH)/bin/setup-envtest" use 1.26.1 -p path)" >> "$GITHUB_ENV"
go install sigs.k8s.io/controller-runtime/tools/setup-envtest@v0.25.2
echo "KUBEBUILDER_ASSETS=$("$(go env GOPATH)/bin/setup-envtest" use 1.37.0 -p path)" >> "$GITHUB_ENV"

- name: Run api server unit test
run: make unit-test-server-ci
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/staticcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
- release-*
env:
# Common versions
GO_VERSION: '1.23.8'
GO_VERSION: '1.27.1'

jobs:
detect-noop:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ RUN apk add --no-cache git make clang build-base python3
RUN yarn install && yarn build

# Build the manager binary
FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.23.8-alpine as server-builder
FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.27.1-alpine as server-builder
ARG GOPROXY
ENV GOPROXY=${GOPROXY:-https://goproxy.cn}
WORKDIR /workspace
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.e2e
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ RUN apk add --no-cache git
RUN yarn install && yarn build && yarn packages:plugins

# Build the manager binary
FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.23.8-alpine as server-builder
FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.27.1-alpine as server-builder
ARG GOPROXY
ENV GOPROXY=${GOPROXY:-https://goproxy.cn}
WORKDIR /workspace
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.local
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ARG BASE_IMAG
# Build the manager binary
FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.23.8-alpine as server-builder
FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.27.1-alpine as server-builder
ARG GOPROXY
ENV GOPROXY=${GOPROXY:-https://goproxy.cn}
WORKDIR /workspace
Expand Down
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@ all: docker-build

.PHONY: golangci
golangci:
ifeq ($(shell $(GLOBAL_GOLANGCILINT) version --format short), $(GOLANGCILINT_VERSION))
ifeq ($(shell $(GLOBAL_GOLANGCILINT) version --short), $(GOLANGCILINT_VERSION))
@$(OK) golangci-lint is already installed
GOLANGCILINT=$(GLOBAL_GOLANGCILINT)
else ifeq ($(shell $(GOBIN_GOLANGCILINT) version --format short), $(GOLANGCILINT_VERSION))
else ifeq ($(shell $(GOBIN_GOLANGCILINT) version --short), $(GOLANGCILINT_VERSION))
@$(OK) golangci-lint is already installed
GOLANGCILINT=$(GOBIN_GOLANGCILINT)
else
@{ \
set -e ;\
echo 'installing golangci-lint-$(GOLANGCILINT_VERSION)' ;\
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(GOBIN) v$(GOLANGCILINT_VERSION) ;\
go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v$(GOLANGCILINT_VERSION) ;\
echo 'Successfully installed' ;\
}
GOLANGCILINT=$(GOBIN)/golangci-lint
Expand All @@ -27,7 +27,7 @@ ifeq (, $(shell which staticcheck))
@{ \
set -e ;\
echo 'installing honnef.co/go/tools/cmd/staticcheck ' ;\
go install honnef.co/go/tools/cmd/staticcheck@v0.5.1 ;\
go install honnef.co/go/tools/cmd/staticcheck@v0.8.2 ;\
}
STATICCHECK=$(GOBIN)/staticcheck
else
Expand Down
2 changes: 1 addition & 1 deletion e2e-test/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ var _ = Describe("Test the rest api about the config", func() {

It("Test creating a config to a project", func() {

delete(fmt.Sprintf("/projects/" + projectName))
delete("/projects/" + projectName)

createProject := v1.CreateProjectRequest{
Name: projectName,
Expand Down
Loading
Loading