-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Disable the default workingDir and HOME overrides #3878
Conversation
/kind feature |
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
This doesn't reproduce for me locally. Retrying. /test tekton-pipeline-unit-tests |
This PR should be up to date now with the latest |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: vdemeester 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 |
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.
Thank you for this, really nice!
I think we should start the deprecation of the feature flag right away, but it's also ok if you prefer to do it in a different PR.
Either case I'd like to start the deprecation in v0.24.
The following is the coverage report on the affected files.
|
/test pull-tekton-pipeline-build-tests |
I don't understand why these tests are all failing. They're all complaining about a lint error that doesn't exist in the latest commit:
I'm going to try opening a new PR to see if that gets things moving again. |
/reopen |
@sbwsg: Reopened this PR. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
The following is the coverage report on the affected files.
|
It looks like you might need a rebase? |
The following is the coverage report on the affected files.
|
so close. added a |
The following is the coverage report on the affected files.
|
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.
/lgtm
Should it be |
Yup, that was exactly it, very well spotted. |
Prior to this commit Steps were given a default HOME env var and a default workingDir. These defaults collide with any value set by the Step's image Dockerfile. This commit removes the default home and workingDir overrides (except in those few cases where they're still expected, like PipelineResources). See https://groups.google.com/g/tekton-dev/c/C-PL8VYN51E/m/el5Fca_PDAAJ for our tekton-dev announcement of this change. See #1836 for the original problem description and workingDir tracking issue. See #2013 for the HOME change tracking issue. See https://github.com/tektoncd/pipeline/blob/main/docs/deprecations.md for our documented dates for these deprecations. See https://github.com/tektoncd/pipeline/blob/main/api_compatibility_policy.md#alpha-beta-and-ga for our beta deprecation policy. ,
The following is the coverage report on the affected files.
|
/lgtm |
https://github.com/tektoncd/pipeline/releases/tag/v0.24.0 pr: tektoncd/pipeline#3878 Signed-off-by: xuzhu-591 <[email protected]>
Changes
Prior to this commit Steps were given a default HOME env var of "/tekton/home" and a default workingDir of "/workspace". These defaults collide with any value set by the Step's image Dockerfile.
This commit removes the default home and workingDir overrides (except in those few cases where they're still expected, like PipelineResources).
See https://groups.google.com/g/tekton-dev/c/C-PL8VYN51E/m/el5Fca_PDAAJ for our tekton-dev announcement of this change.
See #1836 for the original problem description and workingDir tracking issue.
See #2013 for the HOME change tracking issue.
See https://github.com/tektoncd/pipeline/blob/main/docs/deprecations.md for our documented dates for these deprecations.
See https://github.com/tektoncd/pipeline/blob/main/api_compatibility_policy.md#alpha-beta-and-ga
for our beta deprecation policy.
Submitter Checklist
As the author of this PR, please check off the items in this checklist:
functionality, content, code)
Release Notes