Skip to content

MULTIARCH-5995: add ppc64le support to the build#768

Open
raja-0940 wants to merge 1 commit into
Kuadrant:mainfrom
raja-0940:main
Open

MULTIARCH-5995: add ppc64le support to the build#768
raja-0940 wants to merge 1 commit into
Kuadrant:mainfrom
raja-0940:main

Conversation

@raja-0940
Copy link
Copy Markdown

@raja-0940 raja-0940 commented May 18, 2026

MULTIARCH-5995: add ppc64le support to the build

Summary by CodeRabbit

  • New Features
    • Added IBM POWER9 (linux/ppc64le) to container image and CLI binary build targets. Releases now produce builds for x86-64, ARM64, IBM System z and IBM POWER9, broadening supported computing architectures.

Review Change Stack

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 18, 2026

Warning

Rate limit exceeded

@raja-0940 has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 58 minutes and 15 seconds before requesting another review.

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: d870837e-dbb2-4cdf-b3e9-75655dc9b4c1

📥 Commits

Reviewing files that changed from the base of the PR and between 56b1575 and 9ed1581.

📒 Files selected for processing (4)
  • .github/workflows/build-coredns-images.yaml
  • .github/workflows/build-images-for-tag-release.yaml
  • .github/workflows/build-images.yaml
  • .github/workflows/upload-cli.yml
📝 Walkthrough

Walkthrough

GitHub Actions workflows updated across four files to add the ppc64le architecture to image build platforms and the CLI build matrix, expanding supported platforms alongside amd64, arm64 and s390x.

Changes

Multi-architecture build support

Layer / File(s) Summary
Container image platform expansion
.github/workflows/build-coredns-images.yaml, .github/workflows/build-images-for-tag-release.yaml, .github/workflows/build-images.yaml
CoreDNS, operator, bundle, and catalogue image build steps expand their Buildah platforms configuration to include linux/ppc64le in addition to linux/amd64, linux/arm64, and linux/s390x.
CLI binary architecture matrix
.github/workflows/upload-cli.yml
Release job build matrix adds ppc64le to matrix.goarch and updates the darwin exclusion rule to exclude both s390x and ppc64le.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

A rabbit taps the workflows’ key,
Adds ppc64le with gentle glee,
Images build and binaries too,
PowerPC hops in, hello to you,
A tiny pawprint in CI tree.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and specifically describes the main change: adding ppc64le architecture support to the build process across multiple workflow files.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In @.github/workflows/build-images-for-tag-release.yaml:
- Line 47: The catalogue build job is still missing linux/ppc64le in its
platforms list causing incomplete multi-arch tag releases; update the platforms
value used by the build-catalog step (the line with platforms:
linux/amd64,linux/arm64,linux/s390x,linux/ppc64le) to include linux/ppc64le
(matching the operator and bundle updates) so the build-catalog and any other
job using the same platforms variable publishes ppc64le as well.

In @.github/workflows/upload-cli.yml:
- Around line 25-28: The matrix.exclude block is malformed: remove the array
under goarch and add separate exclude entries for each unsupported darwin
architecture so scalar matching works; specifically update the matrix.exclude to
contain two entries each with goos: darwin and goarch: s390x and goos: darwin
and goarch: ppc64le (instead of a single entry using goarch: [s390x, ppc64le])
so the workflow correctly excludes darwin/s390x and darwin/ppc64le combinations.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 051be5dd-af85-409a-a75a-2ef416053cbe

📥 Commits

Reviewing files that changed from the base of the PR and between 3c826ea and bfdae12.

📒 Files selected for processing (4)
  • .github/workflows/build-coredns-images.yaml
  • .github/workflows/build-images-for-tag-release.yaml
  • .github/workflows/build-images.yaml
  • .github/workflows/upload-cli.yml

Comment thread .github/workflows/build-images-for-tag-release.yaml
Comment thread .github/workflows/upload-cli.yml Outdated
Signed-off-by: Rajakumar Battula <rbattula@redhat.com>
exclude:
- goos: darwin
goarch: s390x
- goos: darwin
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Suggested change
- goos: darwin
- goos: linux

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

I am currently excluding GOOS=darwin for power architecture. Would it be fine to change the target OS to linux instead?

 # build and publish in parallel: linux/amd64, linux/arm64, linux/s390x, linux/ppc64le, darwin/amd64, darwin/arm64
        goos: [linux, darwin]
        goarch: [amd64, arm64, s390x, ppc64le]
        exclude:
          - goos: darwin
            goarch: s390x
          - goos: darwin
            goarch: `ppc64le`

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

oh right... you are absolutely right.

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.

2 participants