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

ci: Migrate some integration tests to GitHub actions #311

Merged

Conversation

rbradford
Copy link
Member

@rbradford rbradford commented Jan 25, 2024

Migrate the basic x86-64 integration tests to run on GitHub actions.

  • scripts: Run integration tests in series
  • ci: Run unit & integration tests on GitHub runner
  • ci: Remove x86-64 Linux tests from Jenkinsfile

The GitHub hosted runners do not have sufficient storage space to run
all the tests in parallel - instead run the tests in series. This has
only a marginal impact on the total CI cycle time.

Signed-off-by: Rob Bradford <rbradford@rivosinc.com>
The GitHub hosted runners now support running nested VMs so this can be
used over the Jenkins setup for a smoother CI experience.

Signed-off-by: Rob Bradford <rbradford@rivosinc.com>
Signed-off-by: Rob Bradford <rbradford@rivosinc.com>
@rbradford rbradford requested a review from retrage January 25, 2024 18:15
@rbradford
Copy link
Member Author

rbradford commented Jan 25, 2024

@rmstoi thanks for pointing out that GH hosted runners now support running VMs

@retrage - I am also looking at if we can:
a.) use a self hosted runner for aarch64 native and
b.) support cross hosting with QEMU (e.g. run on x86-64 host but emulate an aarch64 guest) for the QEMU tests - this will help with riscv64 support too but obviously won't help with testing against CH.

@retrage
Copy link
Contributor

retrage commented Jan 26, 2024

@rbradford For a GitHub Actions self-hosted runner for aarch64 Linux, they already release a runner binary for the environment. For supporting a cross hosting, we can use Docker Buildx https://github.com/docker/setup-buildx-action to run QEMU.

@retrage retrage merged commit 4d11133 into cloud-hypervisor:main Jan 26, 2024
6 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