Skip to content
Merged
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
11 changes: 6 additions & 5 deletions .devfile.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
FROM quay.io/devfile/universal-developer-image:ubi8-latest

RUN cd /tmp && wget https://go.dev/dl/go1.25.5.linux-amd64.tar.gz && \
mkdir $HOME/go1.25.5 && \
tar -xvzf go1.25.5.linux-amd64.tar.gz -C $HOME/go1.25.5 --strip-components 1 && \
if ! grep -q "export PATH=\$HOME/go1.19/bin:\$PATH" $HOME/.bashrc; then echo "export PATH=\$HOME/go1.24.7/bin:\$PATH" >> $HOME/.bashrc; fi
ENV GO_VERSION=1.25.7
RUN cd /tmp && wget https://go.dev/dl/go${GO_VERSION}.linux-amd64.tar.gz && \
mkdir $HOME/go${GO_VERSION} && \
tar -xvzf go${GO_VERSION}.linux-amd64.tar.gz -C $HOME/go${GO_VERSION} --strip-components 1 && \
if ! grep -q "export PATH=\$HOME/go${GO_VERSION}/bin:\$PATH" $HOME/.bashrc; then echo "export PATH=\$HOME/go${GO_VERSION}/bin:\$PATH" >> $HOME/.bashrc; fi

# install chectl
RUN tag=$(curl https://api.github.com/repos/che-incubator/chectl/tags | jq -r '.[0].name') && \
Expand All @@ -13,4 +14,4 @@ RUN tag=$(curl https://api.github.com/repos/che-incubator/chectl/tags | jq -r '.
if ! grep -q "export PATH=\$HOME/chectl/bin:\$PATH" $HOME/.bashrc; then echo "export PATH=\$HOME/chectl/bin:\$PATH" >> $HOME/.bashrc; fi

# install goimports
RUN $HOME/go1.25.5/bin/go install golang.org/x/tools/cmd/goimports@latest
RUN $HOME/go${GO_VERSION}/bin/go install golang.org/x/tools/cmd/goimports@latest
4 changes: 2 additions & 2 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Go 1.25.5
- name: Set up Go 1.25.7
uses: actions/setup-go@v3
with:
go-version: 1.25.5
go-version: 1.25.7
- name: Run unit tests
run: make test
- name: Build Codecov report
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/pr-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
steps:
- name: Checkout source code
uses: actions/checkout@v4
- name: Set up Go 1.25.5
- name: Set up Go 1.25.7
uses: actions/setup-go@v3
with:
go-version: 1.25.5
go-version: 1.25.7
- name: Run unit tests
run: make test
multiplatform-image-build:
Expand All @@ -47,10 +47,10 @@ jobs:
steps:
- name: Checkout source code
uses: actions/checkout@v4
- name: Set up Go 1.25.5
- name: Set up Go 1.25.7
uses: actions/setup-go@v3
with:
go-version: 1.25.5
go-version: 1.25.7
- name: Cache go modules
id: cache-mod
uses: actions/cache@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,10 @@ jobs:
sudo chmod +x /usr/local/bin/base32
#remove base32 from current directory to avoid it being commited during release
rm $(pwd)/base32
- name: Set up Go 1.25.5
- name: Set up Go 1.25.7
uses: actions/setup-go@v3
with:
go-version: 1.25.5
go-version: 1.25.7
- name: Release operator
env:
IMAGE_REGISTRY_HOST: quay.io
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/resources-check-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ jobs:
uses: actions/checkout@v4
- name: Install yq
run: sudo pip install yq
- name: Set up Go 1.25.5
- name: Set up Go 1.25.7
uses: actions/setup-go@v3
with:
go-version: 1.25.5
go-version: 1.25.7
- name: Validate operator resources
run: |
go install golang.org/x/tools/cmd/goimports@latest
Expand All @@ -38,9 +38,9 @@ jobs:
uses: actions/checkout@v4
- name: Install yq
run: sudo pip install yq
- name: Set up Go 1.25.5
- name: Set up Go 1.25.7
uses: actions/setup-go@v3
with:
go-version: 1.25.5
go-version: 1.25.7
- name: Validate OLM bundle version
run: ${GITHUB_WORKSPACE}/build/scripts/check-bundle-version.sh
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ ARG SKIP_TESTS="false"
USER root

### Start installing go
ENV GO_VERSION=1.25.5
ENV GO_VERSION=1.25.7
ENV GOROOT=/usr/local/go
ENV PATH=$PATH:$GOROOT/bin
RUN dnf install unzip gcc -y
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/eclipse-che/che-operator

go 1.25.5
go 1.25

require (
github.com/che-incubator/kubernetes-image-puller-operator v0.0.0-20250214104625-65e5ec32f521
Expand Down