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

Document Arm Containers #905

Merged
merged 7 commits into from
Aug 23, 2021
Merged

Document Arm Containers #905

merged 7 commits into from
Aug 23, 2021

Conversation

fkorotkov
Copy link
Contributor

TLDR now you can use arm_container instead of container to run arm64 containers.

task:
  arm_container:
    image: ubuntu:latest
  script: uname -a

Fixes #218

@maflcko
Copy link
Contributor

maflcko commented Aug 20, 2021

Is there an issue where arm doesn't upload the logs? See for example: https://cirrus-ci.com/task/4712248254922752?logs=clone#L1

@fkorotkov
Copy link
Contributor Author

@MarcoFalke sorry for the inconvenience. We were testing and changing some last things. Now everything should work as expected

@real-or-random
Copy link

There seem to be some more issues: https://cirrus-ci.com/task/5504774142427136 (Or is this a bug in our config?)

@maflcko
Copy link
Contributor

maflcko commented Aug 21, 2021

Maybe an intermittent issue? In our repo it still works fine.

Edit: Or maybe it can't run from a Dockerfile?

@fkorotkov
Copy link
Contributor Author

fkorotkov commented Aug 21, 2021

@MarcoFalke, yeah, dockerfile for arm_containers is not yet supported. It's related to #900

@real-or-random
Copy link

Oh okay, I see, thank for letting us know!

@real-or-random
Copy link

dockerfile for arm_containers is not yet supported. It's related to #900

Are there plans to support this now that #900 has been done?

Basically all of our current Linux builds use a Docker image. If we could port that easily to ARM, I think this would help us a lot.

fkorotkov added a commit to cirruslabs/cirrus-cli that referenced this pull request Nov 29, 2022
Similar to platform guessing we can check if the instances has "Arm" in the type url.

Related to cirruslabs/cirrus-ci-docs#905 (comment)
@fkorotkov
Copy link
Contributor Author

@real-or-random actually now it's much simpler since GCP has Arm instances added #1027. Adding some parser improvements in cirruslabs/cirrus-cli#586 and shortly after we should be able to add dockerfile support. Note that instead of a single multi-arch container we'll build two separate images for each architecture.

@real-or-random
Copy link

Sounds great!

Note that instead of a single multi-arch container we'll build two separate images for each architecture.

Yep, and I also believe that's in general the better of the two alternatives.

fkorotkov added a commit to cirruslabs/cirrus-cli that referenced this pull request Nov 30, 2022
* Advanced archiotecture guessing

Similar to platform guessing we can check if the instances has "Arm" in the type url.

Related to cirruslabs/cirrus-ci-docs#905 (comment)

* Use scaleway worker
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.

Add ARM support for Linux
3 participants