Skip to content
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

Update OKD version to 4.14.0-0.okd-scos-2024-01-10-151818 #3972

Merged
merged 2 commits into from
Jan 25, 2024
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
57 changes: 57 additions & 0 deletions .github/workflows/test-okd-bundle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: Test OKD bundle
on:
push:
branches: [ main ]
pull_request: {}
jobs:
build:
name: Run OKD bundle with crc
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
go:
- '1.20'
env:
SHELL: /bin/bash
KUBECONFIG: '/Users/runner/.kube/config'
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v3
with:
ref: ${{ github.sha }}
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go }}
- name: Build
run: |
make cross
sudo cp out/linux-amd64/crc /usr/local/bin/crc

- name: Install required virtualization software
run: |
sudo apt-get update
sudo apt install qemu-kvm libvirt-daemon libvirt-daemon-system
sudo usermod -a -G libvirt $USER
- name: Remove unwanted stuff to free up disk image
run: |
sudo rm -rf /usr/share/dotnet
sudo rm -rf /usr/local/lib/android
sudo rm -rf /opt/ghc
sudo rm -rf "/usr/local/share/boost"
sudo rm -rf /opt/hostedtoolcache/CodeQL

sudo docker image prune --all --force

sudo swapoff -a
sudo rm -f /mnt/swapfile

- name: Set the crc config
run: |
crc config set preset okd
crc config set network-mode user
- name: Setup the crc
run: sudo -su $USER crc setup
- name: Start the crc
run: sudo -su $USER crc start
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we can update this later to have --log-level debug so in case of failures we'll have more info

2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ SHELL := /bin/bash

OPENSHIFT_VERSION ?= 4.14.8
PODMAN_VERSION ?= 4.4.4
OKD_VERSION ?= 4.14.0-0.okd-2023-12-01-225814
OKD_VERSION ?= 4.14.0-0.okd-scos-2024-01-10-151818
MICROSHIFT_VERSION ?= 4.14.8
BUNDLE_EXTENSION = crcbundle
CRC_VERSION = 2.31.0
Expand Down