Skip to content

Commit ec7a360

Browse files
authored
Bump up registry go version to 1.23 and odo to 3.16.1 (#611)
* Bump up registry go version to 1.24 Signed-off-by: thepetk <[email protected]> * Further updates on go version Signed-off-by: thepetk <[email protected]> * Bump up .ci and .devfile Signed-off-by: thepetk <[email protected]> * Fix go-toolset version Signed-off-by: thepetk <[email protected]> * Fallback everywhere to 1.23 Signed-off-by: thepetk <[email protected]> * Use odo 3.16.1 instead of nightly builds Signed-off-by: thepetk <[email protected]> --------- Signed-off-by: thepetk <[email protected]>
1 parent 894d4f8 commit ec7a360

File tree

11 files changed

+16
-16
lines changed

11 files changed

+16
-16
lines changed

.ci/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
ARG BASE_IMAGE=quay.io/devfile/devfile-index-base:next
1616

17-
FROM registry.access.redhat.com/ubi8/go-toolset:1.21 AS builder
17+
FROM registry.access.redhat.com/ubi8/go-toolset:1.23 AS builder
1818

1919
# Set user as root
2020
USER root

.ci/Dockerfile.offline

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# limitations under the License.
1515
ARG BASE_IMAGE=quay.io/devfile/devfile-index-base:next
1616

17-
FROM registry.access.redhat.com/ubi8/go-toolset:1.21 AS builder
17+
FROM registry.access.redhat.com/ubi8/go-toolset:1.23 AS builder
1818

1919
# Set user as root
2020
USER root

.devfile.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ components:
4343
# Alternatively could be removed once https://github.com/redhat-developer/odo/issues/7162 is resolved
4444
- name: index-generator
4545
container:
46-
image: registry.access.redhat.com/ubi8/go-toolset:1.21.11-8.1724181402
46+
image: registry.access.redhat.com/ubi8/go-toolset:1.23.6-4
4747
# Devfile Registry Deployment resource
4848
- name: devfile-registry-deployment
4949
kubernetes:

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
- name: Setup Go environment
3737
uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
3838
with:
39-
go-version: 1.21
39+
go-version: 1.23
4040
- name: Set up QEMU # Enables arm64 image building
4141
uses: docker/setup-qemu-action@8b562efa09ec1557a9e26f25a7c6292838acea94
4242

.github/workflows/pushimge-next.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
- name: Setup Go environment
4242
uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
4343
with:
44-
go-version: 1.21
44+
go-version: 1.23
4545
- name: Set up QEMU # Enables arm64 image building
4646
uses: docker/setup-qemu-action@8b562efa09ec1557a9e26f25a7c6292838acea94
4747
- name: Login to Quay

.github/workflows/validate-samples.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
- name: Install Go
4545
uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
4646
with:
47-
go-version: "1.21"
47+
go-version: "1.23"
4848

4949
- name: Install Ginkgo
5050
run: go install -mod=mod github.com/onsi/ginkgo/v2/[email protected]

.github/workflows/validate-stacks.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
- name: Install Go
4747
uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
4848
with:
49-
go-version: "1.21"
49+
go-version: "1.23"
5050

5151
- name: Install Ginkgo
5252
run: go install -mod=mod github.com/onsi/ginkgo/v2/[email protected]
@@ -163,12 +163,12 @@ jobs:
163163
- name: Install Go
164164
uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
165165
with:
166-
go-version: "1.21"
166+
go-version: "1.23"
167167

168-
- name: Install odo latest version
169-
run: |
170-
curl -L https://s3.eu-de.cloud-object-storage.appdomain.cloud/odo-nightly-builds/odo-linux-amd64 -o odo
171-
sudo install -m 0755 odo /usr/local/bin/odo
168+
- name: Install odo latest version v3
169+
uses: redhat-actions/openshift-tools-installer@2de9a80cf012ad0601021515481d433b91ef8fd5 # v1
170+
with:
171+
odo: "3.16.1"
172172

173173
- name: Install Ginkgo
174174
run: go install -mod=mod github.com/onsi/ginkgo/v2/[email protected]

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ The public registry is updated weekly, by 12pm EST Wednesdays, with any updated
66

77
## Registry Status
88

9-
![Go](https://img.shields.io/badge/Go-1.21-blue)
9+
![Go](https://img.shields.io/badge/Go-1.23-blue)
1010
[![Validate Devfile stacks](https://github.com/devfile/registry/actions/workflows/validate-stacks.yaml/badge.svg?event=schedule)](https://github.com/devfile/registry/actions/workflows/validate-stacks.yaml)
1111
[![Renovate][1]][2]
1212

tests/check_non_terminating/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/tests/check_non_terminating
22

3-
go 1.21
3+
go 1.23
44

55
require github.com/devfile/library/v2 v2.3.0
66

tests/odov3/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/tests/odov3
22

3-
go 1.21
3+
go 1.23
44

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

tests/validate_devfile_schemas/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/tests/validate_devfiles
22

3-
go 1.21
3+
go 1.23
44

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

0 commit comments

Comments
 (0)