Skip to content

updating go version to 1.24 #626

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
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
4 changes: 2 additions & 2 deletions .ci/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# limitations under the License.
ARG BASE_IMAGE=quay.io/devfile/devfile-index-base:next

FROM registry.access.redhat.com/ubi8/go-toolset:1.23 AS builder
FROM registry.access.redhat.com/ubi8/go-toolset:1.24.4-1754328509 AS builder

# Set user as root
USER root
Expand All @@ -25,7 +25,7 @@ ARG TARGETARCH=amd64
# Install yq and jq
ENV YQ_VERSION=v4.44.1
ENV JQ_VERSION=1.6
RUN curl -sL -O https://github.com/mikefarah/yq/releases/download/${YQ_VERSION}/yq_linux_${TARGETARCH} -o /usr/local/bin/yq && mv ./yq_linux_${TARGETARCH} /usr/local/bin/yq && chmod +x /usr/local/bin/yq
RUN curl -sL https://github.com/mikefarah/yq/releases/download/${YQ_VERSION}/yq_linux_${TARGETARCH} -o /usr/local/bin/yq && chmod +x /usr/local/bin/yq
RUN yum install -y jq-${JQ_VERSION}

COPY . /registry
Expand Down
4 changes: 2 additions & 2 deletions .ci/Dockerfile.offline
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# limitations under the License.
ARG BASE_IMAGE=quay.io/devfile/devfile-index-base:next

FROM registry.access.redhat.com/ubi8/go-toolset:1.23 AS builder
FROM registry.access.redhat.com/ubi8/go-toolset:1.24.4-1754328509 AS builder

# Set user as root
USER root
Expand All @@ -25,7 +25,7 @@ ARG TARGETARCH=amd64
# Install yq and jq
ENV YQ_VERSION=v4.44.1
ENV JQ_VERSION=1.6
RUN curl -sL -O https://github.com/mikefarah/yq/releases/download/${YQ_VERSION}/yq_linux_${TARGETARCH} -o /usr/local/bin/yq && mv ./yq_linux_${TARGETARCH} /usr/local/bin/yq && chmod +x /usr/local/bin/yq
RUN curl -sL https://github.com/mikefarah/yq/releases/download/${YQ_VERSION}/yq_linux_${TARGETARCH} -o /usr/local/bin/yq && chmod +x /usr/local/bin/yq
RUN yum install -y jq-${JQ_VERSION}
COPY . /registry

Expand Down
2 changes: 1 addition & 1 deletion .devfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ components:
# Alternatively could be removed once https://github.com/redhat-developer/odo/issues/7162 is resolved
- name: index-generator
container:
image: registry.access.redhat.com/ubi8/go-toolset:1.23.6-4
image: registry.access.redhat.com/ubi8/go-toolset:1.24.4-1754328509
# Devfile Registry Deployment resource
- name: devfile-registry-deployment
kubernetes:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: Setup Go environment
uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
with:
go-version: 1.23
go-version: 1.24
- name: Set up QEMU # Enables arm64 image building
uses: docker/setup-qemu-action@8b562efa09ec1557a9e26f25a7c6292838acea94

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pushimge-next.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- name: Setup Go environment
uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
with:
go-version: 1.23
go-version: 1.24
- name: Set up QEMU # Enables arm64 image building
uses: docker/setup-qemu-action@8b562efa09ec1557a9e26f25a7c6292838acea94
- name: Login to Quay
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/validate-samples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
with:
go-version: "1.23"
go-version: "1.24"

- name: Install Ginkgo
run: go install -mod=mod github.com/onsi/ginkgo/v2/[email protected]
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/validate-stacks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
with:
go-version: "1.23"
go-version: "1.24"

- name: Install Ginkgo
run: go install -mod=mod github.com/onsi/ginkgo/v2/[email protected]
Expand Down Expand Up @@ -163,7 +163,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
with:
go-version: "1.23"
go-version: "1.24"

- name: Install odo latest version v3
uses: redhat-actions/openshift-tools-installer@2de9a80cf012ad0601021515481d433b91ef8fd5 # v1
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ The public registry is updated weekly, by 12pm EST Wednesdays, with any updated

## Registry Status

![Go](https://img.shields.io/badge/Go-1.23-blue)
![Go](https://img.shields.io/badge/Go-1.24-blue)
[![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)
[![Renovate][1]][2]

Expand Down
2 changes: 1 addition & 1 deletion extraDevfileEntries.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ samples:
- name: dotnet-basic
displayName: Basic .NET
description: MVC .NET 6.0 application
icon: https://github.com/dotnet/brand/raw/main/logo/dotnet-logo.png
icon: https://raw.githubusercontent.com/dotnet/brand/main/logo/dotnet-logo.png
tags:
- .NET
projectType: dotnet
Expand Down
2 changes: 1 addition & 1 deletion stacks/dotnet50/devfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ metadata:
name: dotnet50
displayName: .NET 5.0
description: .NET 5.0 application
icon: https://github.com/dotnet/brand/raw/main/logo/dotnet-logo.png
icon: https://raw.githubusercontent.com/dotnet/brand/main/logo/dotnet-logo.png
tags:
- .NET
- .NET 5.0
Expand Down
2 changes: 1 addition & 1 deletion stacks/dotnet60/devfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ metadata:
name: dotnet60
displayName: .NET 6.0
description: .NET 6.0 application
icon: https://github.com/dotnet/brand/raw/main/logo/dotnet-logo.png
icon: https://raw.githubusercontent.com/dotnet/brand/main/logo/dotnet-logo.png
tags:
- .NET
- .NET 6.0
Expand Down
2 changes: 1 addition & 1 deletion stacks/dotnet80/devfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ metadata:
name: dotnet80
displayName: .NET 8.0
description: .NET 8.0 application
icon: https://github.com/dotnet/brand/raw/main/logo/dotnet-logo.png
icon: https://raw.githubusercontent.com/dotnet/brand/main/logo/dotnet-logo.png
tags:
- .NET
- .NET 8.0
Expand Down
2 changes: 1 addition & 1 deletion stacks/dotnetcore31/devfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ metadata:
name: dotnetcore31
displayName: .NET Core 3.1
description: .NET Core 3.1 application
icon: https://github.com/dotnet/brand/raw/main/logo/dotnet-logo.png
icon: https://raw.githubusercontent.com/dotnet/brand/main/logo/dotnet-logo.png
tags:
- .NET
- .NET Core App 3.1
Expand Down
2 changes: 1 addition & 1 deletion tests/check_non_terminating/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/devfile/registry/tests/check_non_terminating

go 1.23
go 1.24

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

Expand Down
2 changes: 1 addition & 1 deletion tests/odov3/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/devfile/registry/tests/odov3

go 1.23
go 1.24

require (
github.com/devfile/api/v2 v2.3.0
Expand Down
2 changes: 1 addition & 1 deletion tests/validate_devfile_schemas/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/devfile/registry/tests/validate_devfiles

go 1.23
go 1.24

require (
github.com/devfile/library/v2 v2.3.0
Expand Down
Loading