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

Use native ARM runners when testing on ARM architecture #214

Merged
merged 2 commits into from
Jan 24, 2025

Conversation

jsf9k
Copy link
Member

@jsf9k jsf9k commented Jan 18, 2025

🗣 Description

This pull request:

💭 Motivation and context

  • This provides better and faster testing of ARM architectures than using QEMU emulation.
  • We are no longer emulating ARM under QEMU, so using this GitHub Action no longer causes the runners to run out of resources and crash.

Resolves #211.

🧪 Testing

All automated tests pass. I also verified that the expected platforms are indeed tested via native ARM runners.

✅ Pre-approval checklist

  • This PR has an informative and human-readable title.
  • Changes are limited to a single goal - eschew scope creep!
  • All relevant type-of-change labels have been added.
  • I have read the CONTRIBUTING document.
  • These code changes follow cisagov code standards.
  • All new and existing tests pass.

@jsf9k jsf9k added improvement This issue or pull request will add or improve functionality, maintainability, or ease of use github-actions Pull requests that update GitHub Actions code kraken 🐙 This pull request is ready to merge during the next Lineage Kraken release labels Jan 18, 2025
@jsf9k jsf9k force-pushed the improvement/use-native-arm-runners branch from afd5051 to b10d648 Compare January 18, 2025 17:54
@jsf9k jsf9k marked this pull request as ready for review January 18, 2025 18:06
@jsf9k jsf9k requested a review from a team January 20, 2025 16:37
Copy link
Member

@dav3r dav3r left a comment

Choose a reason for hiding this comment

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

ARMazing! 🚀

Can you please note somewhere in this PR why the Fedora 40 and 41 tests are failing?

@jsf9k
Copy link
Member Author

jsf9k commented Jan 21, 2025

Note that the Fedora 40 and 41 checks are currently failing because of fedora-cloud/docker-brew-fedora#117.

@jsf9k
Copy link
Member Author

jsf9k commented Jan 22, 2025

@cisagov/vm-dev - Do you think I should remove the QEMU and buildx jazz from this workflow? We're not using it, but it isn't doing any harm.

@dav3r
Copy link
Member

dav3r commented Jan 22, 2025

@cisagov/vm-dev - Do you think I should remove the QEMU and buildx jazz from this workflow? We're not using it, but it isn't doing any harm.

If it's not causing any issues, I'm fine leaving it in.

@jsf9k
Copy link
Member Author

jsf9k commented Jan 22, 2025

Note that the Fedora 40 and 41 checks are currently failing because of fedora-cloud/docker-brew-fedora#117.

These failures are fixed by #216.

Copy link
Member

@mcdonnnj mcdonnnj left a comment

Choose a reason for hiding this comment

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

Seems reasonable enough 🔥

jsf9k added 2 commits January 23, 2025 21:27
This provides better and faster testing of ARM architectures than
testing under QEMU emulation.
We are no longer emulating ARM under QEMU, so using this GitHub Action
no longer causes the runners to run out of resources and crash.
@jsf9k jsf9k force-pushed the improvement/use-native-arm-runners branch from b10d648 to 7a3c694 Compare January 24, 2025 02:27
@jsf9k jsf9k enabled auto-merge January 24, 2025 03:15
@jsf9k jsf9k disabled auto-merge January 24, 2025 03:44
@jsf9k jsf9k added this pull request to the merge queue Jan 24, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 24, 2025
@jsf9k jsf9k added this pull request to the merge queue Jan 24, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 24, 2025
@jsf9k jsf9k added this pull request to the merge queue Jan 24, 2025
Merged via the queue into develop with commit be68cb2 Jan 24, 2025
57 checks passed
@jsf9k jsf9k deleted the improvement/use-native-arm-runners branch January 24, 2025 05:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
github-actions Pull requests that update GitHub Actions code improvement This issue or pull request will add or improve functionality, maintainability, or ease of use kraken 🐙 This pull request is ready to merge during the next Lineage Kraken release
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

GitHubSecurityLab/actions-permissions/monitor causes test jobs to randomly fail
4 participants