forked from nephio-project/porch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request nephio-project#176 from Nordix/bump_go_versions
Bump go versions to 1.23.5
- Loading branch information
Showing
15 changed files
with
39 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ | |
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
GO_VERSION ?= 1.22.2 | ||
GO_VERSION ?= 1.23.5 | ||
TEST_COVERAGE_FILE=lcov.info | ||
TEST_COVERAGE_HTML_FILE=coverage_unit.html | ||
TEST_COVERAGE_FUNC_FILE=func_coverage.out | ||
|
@@ -25,7 +25,7 @@ unit: test | |
.PHONY: test | ||
test: ## Run unit tests (go test) | ||
ifeq ($(CONTAINER_RUNNABLE), 0) | ||
$(RUN_CONTAINER_COMMAND) docker.io/nephio/gotests:1782782171367346176 \ | ||
$(RUN_CONTAINER_COMMAND) docker.io/nephio/gotests:1885274380137664512 \ | ||
sh -e -c "git config --global --add user.name test; \ | ||
git config --global --add user.email [email protected]; \ | ||
go test ./... -v -coverprofile ${TEST_COVERAGE_FILE}; \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Copyright 2022 The kpt and Nephio Authors | ||
# Copyright 2022-2025 The kpt and Nephio Authors | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
|
@@ -25,7 +25,7 @@ FROM gcr.io/kpt-fn/set-project-id:v0.2.0 AS set-project-id | |
FROM gcr.io/kpt-fn/starlark:v0.3.0 AS starlark | ||
FROM gcr.io/kpt-fn/upsert-resource:v0.2.0 AS upsert-resource | ||
|
||
FROM golang:1.22.1-alpine3.18 AS builder | ||
FROM golang:1.23.5-alpine3.21 AS builder | ||
WORKDIR /go/src | ||
|
||
RUN go install github.com/grpc-ecosystem/[email protected] | ||
|
@@ -35,7 +35,7 @@ COPY . . | |
RUN cd func ; go build -v -o /server ./server | ||
COPY func/config.yaml /config.yaml | ||
|
||
FROM alpine:3.18 | ||
FROM alpine:3.21 | ||
|
||
COPY --from=apply-setters /usr/local/bin/function /functions/apply-setters | ||
COPY --from=apply-setters-v1 /usr/local/bin/function /functions/apply-setters-v1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
module github.com/nephio-project/porch | ||
|
||
go 1.22.0 | ||
go 1.23.5 | ||
|
||
retract v1.3.0 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters