Skip to content
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

Correct workspace doc on behaviour of mountPath #3719

Merged
merged 1 commit into from Jan 27, 2021
Merged

Correct workspace doc on behaviour of mountPath #3719

merged 1 commit into from Jan 27, 2021

Conversation

ghost
Copy link

@ghost ghost commented Jan 26, 2021

Fixes #3716

Changes

Prior to this commit we documented that if a workspace's mountPath was
relative then Pipelines would prepend "/workspace/" to it. This behaviour
has never actually worked that way. Pipelines passes the literal mountPath
value directly to the volumeMount's mountPath, without any other
processing. It's then up to the platform to decide what to do with it.

This commit fixes the workspaces doc to remove the incorrect description.

Submitter Checklist

These are the criteria that every PR should meet, please check them off as you
review them:

  • Includes docs (if user facing)
  • Commit messages follow commit message best practices
  • Release notes block has been filled in or deleted (only if no user facing changes)

Release Notes

Fixed doc issue: relative workspace mountPaths are not prepended with "/workspace/" and never have been.

Prior to this commit we documented that if a workspace's mountPath was
relative then Pipelines would prepend "/workspace/" to it. This behaviour
has never actually worked that way. Pipelines passes the literal mountPath
value directly to the volumeMount's mountPath, without any other
processing. It's then up to the platform to decide what to do with it.

This commit fixes the workspaces doc to remove the incorrect description.
@ghost ghost added the kind/documentation Categorizes issue or PR as related to documentation. label Jan 26, 2021
@tekton-robot tekton-robot added the release-note Denotes a PR that will be considered when it comes time to generate release notes. label Jan 26, 2021
@tekton-robot tekton-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Jan 26, 2021
Copy link
Member

@vdemeester vdemeester left a comment

Choose a reason for hiding this comment

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

/meow
thanks for the quick fix @sbwsg 🤗

@tekton-robot
Copy link
Collaborator

@vdemeester: cat image

In response to this:

/meow
thanks for the quick fix @sbwsg 🤗

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.

@tekton-robot tekton-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 26, 2021
@tekton-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jerop, 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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@chmouel
Copy link
Member

chmouel commented Jan 26, 2021

awesome thanks

/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Jan 26, 2021
@ghost
Copy link
Author

ghost commented Jan 27, 2021

/test pull-tekton-pipeline-integration-tests

@tekton-robot tekton-robot merged commit d80cbc0 into tektoncd:master Jan 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. kind/documentation Categorizes issue or PR as related to documentation. lgtm Indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

mistake : mountPath of workspace
4 participants