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

Revert "If no resources are linked, don't make a PVC πŸ—‘οΈ" #1071

Merged
merged 1 commit into from
Jul 12, 2019

Conversation

dlorenc
Copy link
Contributor

@dlorenc dlorenc commented Jul 12, 2019

Changes

This reverts commit 1d99c32.

This fixes #1068, but reopens #937

We'll try again with a correct-fix for #937 after fixing the 0.5 release.

Submitter Checklist

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

See the contribution guide for more details.

Double check this list of stuff that's easy to miss:

Release Notes

Reverts attempt to "fix" extra PVC creation when no resources are linked - this fix will re-introduce #937 and an unneeded PVC will be created. This fixes #1068  such that unlinked TaskRuns with outputs will not hang.

@googlebot googlebot added the cla: yes Trying to make the CLA bot happy with ppl from different companies work on one commit label Jul 12, 2019
@tekton-robot tekton-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Jul 12, 2019
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.

/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Jul 12, 2019
@tekton-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dlorenc, 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

@afrittoli
Copy link
Member

afrittoli commented Jul 12, 2019

Thanks, this looks like a good tmp solution.
We should add an e2e test that covers #1068 before we fix #937 :)

@vdemeester
Copy link
Member

/test pull-tekton-pipeline-integration-tests

1 similar comment
@bobcatfish
Copy link
Collaborator

/test pull-tekton-pipeline-integration-tests

@tekton-robot tekton-robot merged commit 9cf387e into tektoncd:master Jul 12, 2019
dlorenc added a commit to dlorenc/build-pipeline that referenced this pull request Nov 8, 2019
We only need to make a PVC if a Pipeline contains tasks that declare Output
resources of the allowed types. This PR changges our detection to only create
a PVC under those conditions.

This was originally attempted in tektoncd#1007 and
then subsequently rolled back in tektoncd#1071. I
*think* this one gets the logic correct :)

Co-authored-by: Christie Wilson <[email protected]>
Fixes: tektoncd#937
dlorenc added a commit to dlorenc/build-pipeline that referenced this pull request Nov 8, 2019
We only need to make a PVC if a Pipeline contains tasks that declare Output
resources of the allowed types. This PR changges our detection to only create
a PVC under those conditions.

This was originally attempted in tektoncd#1007 and
then subsequently rolled back in tektoncd#1071. I
*think* this one gets the logic correct :)

Co-authored-by: Christie Wilson <[email protected]>
Fixes: tektoncd#937
dlorenc added a commit to dlorenc/build-pipeline that referenced this pull request Nov 8, 2019
We only need to make a PVC if a Pipeline contains tasks that declare Output
resources of the allowed types. This PR changges our detection to only create
a PVC under those conditions.

This was originally attempted in tektoncd#1007 and
then subsequently rolled back in tektoncd#1071. I
*think* this one gets the logic correct :)

Co-authored-by: Christie Wilson <[email protected]>
Fixes: tektoncd#937
tekton-robot pushed a commit that referenced this pull request Nov 12, 2019
We only need to make a PVC if a Pipeline contains tasks that declare Output
resources of the allowed types. This PR changges our detection to only create
a PVC under those conditions.

This was originally attempted in #1007 and
then subsequently rolled back in #1071. I
*think* this one gets the logic correct :)

Co-authored-by: Christie Wilson <[email protected]>
Fixes: #937
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. cla: yes Trying to make the CLA bot happy with ppl from different companies work on one commit lgtm Indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PipelineRun hangs in Pending state
6 participants