Skip to content

Add ocs-kvm CI on GitHub Actions - #4

Merged
kmathewm merged 2 commits into
sonic-ocs:ocs-devfrom
kmathewm:ocs-dev
Sep 25, 2026
Merged

kmathewm merged 2 commits into
sonic-ocs:ocs-devfrom
kmathewm:ocs-dev

Conversation

@kmathewm

Copy link
Copy Markdown

Build the ocs-kvm installer on every push and pull request to ocs-dev, and
produce the KVM disk images (BIOS and UEFI) from it in a second job. Logs and
artifacts are served by GitHub, so anyone can read them.

Includes the grub2 nocheck change sonic-otn carries (5fb87a7): GRUB's own
test suite has a timing-flaky test that fails on loaded runners and broke the
ocs-kvm build.

Both jobs run on self-hosted runners operated by the maintainers. Fork pull
requests build after a maintainer approves the run. Only
.github/workflows/ocs-build.yml and src/grub2/Makefile change.

jjin62 and others added 2 commits September 19, 2026 10:56
GRUB's own "make check" runs during the native build, and its grub_cmd_sleep
test is timing-flaky: it fails non-deterministically on loaded runners and
breaks otn-kvm image builds. Pass DEB_BUILD_OPTIONS=nocheck on the native
build, mirroring the existing cross build (-Pcross,nocheck).

Fix for the sonic-otn build pipeline.
Build the ocs-kvm installer on every push and pull request to ocs-dev, and
produce the KVM disk image from it in a second job. Logs and artifacts are
served by GitHub. Both jobs run on the maintainers' self-hosted runners.
@kmathewm
kmathewm merged commit 32eecbc into sonic-ocs:ocs-dev Sep 25, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants