[WIP]Add s390x, ppc64le architecture support
Changes
As of now pipeline-as-code runs on amd64 platform. This PR will Add support for ppc64le, s390x platform.
Submitter Checklist
- [ ] โฝ Run
make test lintbefore submitting a PR (ie: with pre-commit, no need to waste CPU cycle on CI - [ ] ๐ If you are adding a user facing feature or make a change of the behavior, please verify that you have documented it
- [ ] ๐งช 100% coverage is not a target but most of the time we would rather have a unit test if you make a code change.
- [ ] ๐ If that's something that is possible to do please ensure to check if we can add a e2e test.
- [ ] ๐ If there is a flakiness in the CI tests then don't necessary ignore it, better get the flakyness fixed before merging or if that's not possible there is a good reason to bypass it. (token rate limitation may be a good reason to skip).
@chmouel @sm43 would you please review this PR.
Currently in my testing, it took only ~20min to build amd64/ppc64le/s390x multi-arch images compared to old builds with ~1Hr.
Build details: https://github.com/Basavaraju-G/pipelines-as-code/actions

would it okay if we run this as nightly(once a day) rather than after each pr merge?
would it okay if we run this as nightly(once a day) rather than after each pr merge?
@sm43 I agree with you for nightly build. but i see for every PR we are running only "E2E Tests on kind". we are not running "Create and publish a Docker image" workflow. this changes only works on building image time. not for every PR.
would it okay if we run this as nightly(once a day) rather than after each pr merge?
@sm43 I agree with you for nightly build. but i see for every PR we are running only "E2E Tests on kind". we are not running "Create and publish a Docker image" workflow. this changes only works on building image time. not for every PR.
yeah I meant for every merged PR. whenever a new PR is merged this is triggered
we were wondering if using ko can help us with this ๐ค https://github.com/marketplace/actions/setup-ko for multi platform images I need to try this out.
Can you add a new workflow with this changes running nightly? later if ko works as expected we can replace
/ok-to-test
Can you add a new workflow with this changes running nightly? later if ko works as expected we can replace
thanks @sm43. i will add those changes.