fix OCP tool install on arm64 runners#126
Open
ktdreyer wants to merge 1 commit intoredhat-actions:mainfrom
Open
fix OCP tool install on arm64 runners#126ktdreyer wants to merge 1 commit intoredhat-actions:mainfrom
ktdreyer wants to merge 1 commit intoredhat-actions:mainfrom
Conversation
The OCP mirror directory now publishes binaries for arm64, ppc64le, and s390x alongside amd64. The filter pipeline for OCP tools previously skipped "filterByArch" because the directory was amd64-only. Without it, all architectures pass through and the first filename alphabetically wins - always the generic amd64 tarball. Adding "filterByArch" to the OCP pipeline allows "oc" and "openshift-install" to install correctly on non-amd64 runners. Filenames with no architecture indicator (like "openshift-client-windows.zip") are treated as implicit amd64, matching the mirror's naming convention. An arm64 job in the mirror example workflow ensures this path is tested on every PR. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
filterByArchto the OCP filter pipeline soocandopenshift-installselect the correct architecture binary on non-amd64 runnersopenshift-client-windows-4.21.12.zip) as implicit amd64, matching the mirror's naming conventionContext
The OCP mirror directory now publishes binaries for arm64, ppc64le, and s390x alongside amd64. The filter pipeline for OCP tools skipped
filterByArchbecause the directory was historically amd64-only. Without it, all architectures pass through and the first filename alphabetically wins — always the generic amd64 tarball.Tested across Linux amd64, Linux arm64, and Windows amd64 in ktdreyer/minc#1.
Fixes #124
Test plan
Install from Mirror Exampleworkflow passes on the PR, including the newLatest OCP tools on linux arm64job