Skip to content

Fix ppc64le and s390x architecture mapping in bellsoft-liberica-dependency - #1911

Merged
dmikusa merged 1 commit into
mainfrom
fix/ppc64le-arch-mapping
Jul 29, 2026
Merged

dmikusa merged 1 commit into
mainfrom
fix/ppc64le-arch-mapping

Conversation

@dmikusa

@dmikusa dmikusa commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Summary

The BellSoft API (api.bell-sw.com/v1/liberica/architectures) returns ["arm", "ppc", "riscv", "sparc", "x86"] as valid architectures, but the bellsoft-liberica-dependency action was only translating arm64 → arm, missing translations for ppc64le → ppc and s390x → sparc.

Without this fix, any update workflow for PPC64LE or s390x dependencies fails with a 400 Bad Request from the BellSoft API because it doesn't recognize ppc64le or s390x as valid architecture parameters.

Fix

Added architecture mapping for:

  • ppc64le → ppc
  • s390x → sparc

Also updated the comment to reflect the current API response (including riscv).

Impact

Fixes all PPC64LE and s390x update workflows across all Paketo buildpacks that use this action (bellsoft-liberica and likely others).

Fixes: https://github.com/paketo-buildpacks/bellsoft-liberica/actions/runs/30333405829

The BellSoft API (api.bell-sw.com) uses different architecture names
than the GitHub Actions runner:
  - ppc64le -> ppc
  - s390x   -> sparc

arm64 -> arm mapping already existed but ppc64le and s390x were
missing, causing the bellsoft-liberica-dependency action to fail
with a 400 Bad Request when querying for PPC64LE or s390x releases.
@dmikusa
dmikusa requested a review from a team as a code owner July 29, 2026 04:24
@dmikusa dmikusa added type:bug A general bug semver:patch A change requiring a patch version bump labels Jul 29, 2026
@dmikusa
dmikusa merged commit c7e5452 into main Jul 29, 2026
7 checks passed
@dmikusa
dmikusa deleted the fix/ppc64le-arch-mapping branch July 29, 2026 04:25
This was referenced Jul 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

semver:patch A change requiring a patch version bump type:bug A general bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant