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 Cluster Operator images in GitHub Actions #1067

Closed
3 tasks
Zerpet opened this issue Jun 13, 2022 · 2 comments
Closed
3 tasks

Build Cluster Operator images in GitHub Actions #1067

Zerpet opened this issue Jun 13, 2022 · 2 comments
Labels
chore Errands and tasks to improve something. Usually does not provide user value. stale Issue or PR with long period of inactivity

Comments

@Zerpet
Copy link
Collaborator

Zerpet commented Jun 13, 2022

Description

Our current build system in Concourse uses oci-build-task, which seems to have a limitation to support multi platform images, as described in concourse/oci-build-task#85

As a potential solution, we could move the image baking process to GitHub Actions, using the build-push-action.

Additional information

One gotcha we have to look out for is the output of this task; we want to produce an OCI image output, not a docker image output. Both are compatible with each other, one is Docker specific, and the other is an open specification. We want to use OCI to ensure compatibility across registry implentation and container technologies.

Our internal CI system is running unit tests before building Cluster Operator images for every commit made to main branch. We can move the unit tests to GitHub Actions as well, before building an OCI for a specific commit. Lifting the tests to Actions is optional.

Our internal CI system runs system tests on every image it builds. We have to adapt our CI to take the image baked in GitHub Actions.

Tasks

  • (Optional) Create an Action to run unit tests on every commit to main
  • Create an Action to build multi platform (amd64 + arm64) OCI image
  • Adapt our internal CI to run system tests on images produced by Actions
@Zerpet Zerpet added the chore Errands and tasks to improve something. Usually does not provide user value. label Jun 13, 2022
@github-actions
Copy link

This issue has been marked as stale due to 60 days of inactivity. Stale issues will be closed after a further 30 days of inactivity; please remove the stale label in order to prevent this occurring.

@github-actions github-actions bot added the stale Issue or PR with long period of inactivity label Aug 13, 2022
@ablease
Copy link
Contributor

ablease commented Aug 16, 2022

Closing this since, Tanzu Net cannot support multi arch images :(

@ablease ablease closed this as completed Aug 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Errands and tasks to improve something. Usually does not provide user value. stale Issue or PR with long period of inactivity
Projects
None yet
Development

No branches or pull requests

2 participants