Skip to content

ci: Migrate some integration tests to GitHub actions#311

Merged
retrage merged 3 commits intocloud-hypervisor:mainfrom
rbradford:2024-01-25-github-runner-tests
Jan 26, 2024
Merged

ci: Migrate some integration tests to GitHub actions#311
retrage merged 3 commits intocloud-hypervisor:mainfrom
rbradford:2024-01-25-github-runner-tests

Conversation

@rbradford
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
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