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

build(*-arm64.yaml): run on ubuntu-22.04-arm #5688

Merged
merged 7 commits into from
Feb 5, 2025
Merged

Conversation

youtalk
Copy link
Member

@youtalk youtalk commented Jan 24, 2025

Description

Although it is still in the public preview stage, ARM runners have recently become available for free in OSS repositories. This PR changes the setup to use them instead of self-hosted runners.

https://github.blog/changelog/2025-01-16-linux-arm64-hosted-runners-now-available-for-free-in-public-repositories-public-preview/

How was this PR tested?

Notes for reviewers

None.

Effects on system behavior

None.

@youtalk youtalk self-assigned this Jan 24, 2025
Copy link

github-actions bot commented Jan 24, 2025

Thank you for contributing to the Autoware project!

🚧 If your pull request is in progress, switch it to draft mode.

Please ensure:

@youtalk youtalk added type:github-actions Github actions related. (auto-assigned) type:containers Docker containers, containerization of components, or container orchestration. component:openadkit Issues or Features related to Open AD Kit labels Jan 24, 2025
Signed-off-by: Yutaka Kondo <[email protected]>
Signed-off-by: Yutaka Kondo <[email protected]>
@youtalk youtalk force-pushed the build/ubuntu-22.04-arm branch from debb6fa to 777b4ac Compare January 27, 2025 00:01
@youtalk youtalk changed the base branch from main to fix/use-ghcr-io January 27, 2025 00:01
Base automatically changed from fix/use-ghcr-io to main January 27, 2025 00:03
@youtalk youtalk added the tag:run-health-check Run health-check label Jan 27, 2025
@youtalk youtalk marked this pull request as ready for review January 27, 2025 00:05
@youtalk youtalk requested a review from oguzkaganozt as a code owner January 27, 2025 00:05
@youtalk youtalk requested review from xmfcx and mitsudome-r January 27, 2025 00:06
@xmfcx
Copy link
Contributor

xmfcx commented Jan 27, 2025

This is exciting, I will wait for the health-check results ⏳

Copy link
Member

@mitsudome-r mitsudome-r left a comment

Choose a reason for hiding this comment

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

LGTM

@youtalk
Copy link
Member Author

youtalk commented Jan 27, 2025

It seems that the autoware-buildcache might be corrupted, causing the docker-build-and-push-arm64 to fail immediately. I will try rebuilding the buildcache and attempt again after a few hours.

https://github.com/autowarefoundation/autoware/actions/runs/12979541362/job/36196099074#step:7:4821

Error: buildx bake failed with: ERROR: target core-devel: failed to solve: failed to configure registry cache exporter: invalid reference format

@youtalk
Copy link
Member Author

youtalk commented Jan 27, 2025

It seems to be unstable for now.

@youtalk youtalk closed this Jan 27, 2025
@youtalk youtalk deleted the build/ubuntu-22.04-arm branch January 27, 2025 10:53
@youtalk youtalk restored the build/ubuntu-22.04-arm branch January 31, 2025 04:08
@youtalk youtalk reopened this Jan 31, 2025
@youtalk
Copy link
Member Author

youtalk commented Jan 31, 2025

@mitsudome-r
Copy link
Member

I'm suspecting memory insufficiency as the reason for build failure.
I have added the action to allocate swap space as a test:
https://github.com/autowarefoundation/autoware/actions/runs/13129580812/job/36632043200

@youtalk
Copy link
Member Author

youtalk commented Feb 4, 2025

@mitsudome-r The workflow was success and I merged your commit here. Thank you for your investigation.

@youtalk youtalk enabled auto-merge (squash) February 4, 2025 09:55
Signed-off-by: Yutaka Kondo <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:openadkit Issues or Features related to Open AD Kit tag:run-health-check Run health-check type:containers Docker containers, containerization of components, or container orchestration. type:github-actions Github actions related. (auto-assigned)
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants