Skip to content

Commit 9b9d99c

Browse files
committed
Bump up integration generator server and ci go version
Signed-off-by: thepetk <thepetk@gmail.com>
1 parent 89fc566 commit 9b9d99c

File tree

13 files changed

+127
-10
lines changed

13 files changed

+127
-10
lines changed

.ci/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
15-
FROM golang:1.19-alpine@sha256:276692412aea6f9dd6cdc5725b2f1c05bef8df7223811afbc6aa16294e2903f9 AS builder
15+
FROM golang:1.21-alpine@sha256:3f8e3ad3e7c128d29ac3004ac8314967c5ddbfa5bfa7caa59b0de493fc01686a AS builder
1616

1717
# Install dependencies
1818
RUN apk add --no-cache git bash curl zip

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ on:
2121
branches: [main]
2222

2323
env:
24-
GO_VERSION: 1.19
24+
GO_VERSION: 1.21
2525
OAPI_CODEGEN_VERSION: v1.12.4
2626

2727
jobs:

.github/workflows/codecov.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: Set up Go 1.x
2929
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
3030
with:
31-
go-version: 1.19
31+
go-version: 1.21
3232
- name: Run tests
3333
run: cd index/server && go test ./... -coverprofile cover.out
3434
- name: Codecov

.github/workflows/pushimage-next.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Setup Go environment
3131
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
3232
with:
33-
go-version: 1.19
33+
go-version: 1.21
3434
- name: Login to Quay
3535
uses: docker/login-action@465a07811f14bebb1938fbed4728c6a1ff8901fc # v2.2.0
3636
with:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<div id="header">
44

5-
![Go](https://img.shields.io/badge/Go-1.19-blue)
5+
![Go](https://img.shields.io/badge/Go-1.21-blue)
66
[![Apache2.0 License](https://img.shields.io/badge/license-Apache2.0-brightgreen.svg)](LICENSE)
77
[![OpenSSF Best Practices](https://www.bestpractices.dev/projects/8257/badge)](https://www.bestpractices.dev/projects/8257)
88
[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/devfile/registry-support/badge)](https://securityscorecards.dev/viewer/?uri=github.com/devfile/registry-support)

index/generator/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/devfile/registry-support/index/generator
22

3-
go 1.19
3+
go 1.21
44

55
require (
66
github.com/devfile/api/v2 v2.2.2

index/generator/go.sum

Lines changed: 35 additions & 0 deletions
Large diffs are not rendered by default.

index/server/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# limitations under the License.
1515

1616
# Index Server build stage
17-
FROM golang:1.19-alpine@sha256:276692412aea6f9dd6cdc5725b2f1c05bef8df7223811afbc6aa16294e2903f9 AS index-builder
17+
FROM golang:1.21-alpine@sha256:3f8e3ad3e7c128d29ac3004ac8314967c5ddbfa5bfa7caa59b0de493fc01686a AS index-builder
1818
WORKDIR /tools
1919
COPY . .
2020
RUN CGO_ENABLED=0 go build -mod=vendor -o index-server main.go

index/server/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/devfile/registry-support/index/server
22

3-
go 1.19
3+
go 1.21
44

55
require (
66
github.com/deepmap/oapi-codegen v1.12.4

index/server/go.sum

Lines changed: 43 additions & 0 deletions
Large diffs are not rendered by default.

tests/integration/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
15-
FROM golang:1.19-alpine@sha256:276692412aea6f9dd6cdc5725b2f1c05bef8df7223811afbc6aa16294e2903f9
15+
FROM golang:1.21-alpine@sha256:3f8e3ad3e7c128d29ac3004ac8314967c5ddbfa5bfa7caa59b0de493fc01686a
1616

1717
WORKDIR /registry-test
1818

tests/integration/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/devfile/registry-support/tests/integration
22

3-
go 1.19
3+
go 1.21
44

55
require (
66
github.com/devfile/library/v2 v2.2.2

tests/integration/go.sum

Lines changed: 39 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)