-
Notifications
You must be signed in to change notification settings - Fork 1.8k
entrypoint: handle linux in pkgs/platforms #9096
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
Conversation
Without this, we can errors such as the following
ERROR failed to get CPU variant os=linux error="getCPUVariant for OS linux: not implemented"
could not find command for platform "linux/arm64"
The main reason for this is because we are missing the variant when
getting the platform, but the oci images for arm64 have it, and thus
`TEKTON_PLATFORM_COMMANDS` as well. It creates a mismatch, and the
entrypoint cannot find the command it looks for.
Signed-off-by: Vincent Demeester <[email protected]>
|
/cherry-pick v1.0.x |
|
/cherry-pick v1.3.x |
twoGiants
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
/lgtm
afrittoli
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: afrittoli, twoGiants The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/retest |
|
Hopefully you're successful in setting up arm tests so we don't risk breaking this in future. |
|
@afrittoli the cherry-pick "bot" is not running in the infra anymore ? |
Changes
Without this, we can errors such as the following
The main reason for this is because we are missing the variant when getting the platform, but the oci images for arm64 have it, and thus
TEKTON_PLATFORM_COMMANDSas well. It creates a mismatch, and the entrypoint cannot find the command it looks for.Essentially it means that anyone running arm64 cluster and not using
scriptor specifyingcommandwon't be able to run a TaskRun 😅 .Closes #9094
/kind bug
@tektoncd/core-maintainers this will need to be cherry-pick to all LTS after 0.68.
Note: This is extracted from #9090 (which runs e2e tests on arm64 to catch things like that) so that we get it merged more quickly.
Submitter Checklist
As the author of this PR, please check off the items in this checklist:
/kind <type>. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tepRelease Notes