Skip to content

Commit

Permalink
ci: update go version from 1.21 to 1.22
Browse files Browse the repository at this point in the history
crc moved to use go-1.22 but here it is built using 1.21 and result to
an error.
  • Loading branch information
praveenkumar committed Sep 25, 2024
1 parent cdae701 commit 5a71aba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ sudo systemctl reload NetworkManager

git clone https://github.com/code-ready/crc.git
pushd crc
podman run --rm -v ${PWD}:/data:Z registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.21-openshift-4.16 /bin/bash -c "cd /data && make cross"
podman run --rm -v ${PWD}:/data:Z registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.22-openshift-4.17 /bin/bash -c "cd /data && make cross"
sudo mv out/linux-amd64/crc /usr/local/bin/
popd

Expand Down
2 changes: 1 addition & 1 deletion ci_microshift.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ sudo virsh undefine crc --nvram

git clone https://github.com/crc-org/crc.git
pushd crc
podman run --rm -v ${PWD}:/data:Z registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.21-openshift-4.16 /bin/bash -c "cd /data && make cross"
podman run --rm -v ${PWD}:/data:Z registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.22-openshift-4.17 /bin/bash -c "cd /data && make cross"
sudo mv out/linux-amd64/crc /usr/local/bin/
popd

Expand Down

0 comments on commit 5a71aba

Please sign in to comment.