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

Cleanup of initializing working dirs #843

Merged
merged 6 commits into from
May 8, 2019

Conversation

abayer
Copy link
Contributor

@abayer abayer commented May 8, 2019

Changes

Subsumes #726, to fix #725, with a unit test fix and a tweak to make sure that
artifact_bucket_test doesn't try to run in parallel, since that messes
up various PipelineRun tests.

Note that I can't reproduce the e2e test failure seen in #726 locally, at least. We'll see if it pops up here.

Submitter Checklist

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

Release Notes

n/a

dicarlo2 and others added 3 commits May 3, 2019 16:09
In order to allow steps to define workingDirs that are subdirectories of the workspace directory we need to make sure they have been created first since they will not exist on startup.

Fixes tektoncd#725
Subsumes tektoncd#726, with a unit test fix and a tweak to make sure that
artifact_bucket_test doesn't try to run in parallel, since that messes
up various PipelineRun tests.

Signed-off-by: Andrew Bayer <andrew.bayer@gmail.com>
@googlebot
Copy link

So there's good news and bad news.

👍 The good news is that everyone that needs to sign a CLA (the pull request submitter and all commit authors) have done so. Everything is all good there.

😕 The bad news is that it appears that one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that here in the pull request.

Note to project maintainer: This is a terminal state, meaning the cla/google commit status will not change from this state. It's up to you to confirm consent of all the commit author(s), set the cla label to yes (if enabled on your project), and then merge this pull request when appropriate.

ℹ️ Googlers: Go here for more info.

@tekton-robot tekton-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label May 8, 2019
@abayer
Copy link
Contributor Author

abayer commented May 8, 2019

The CLA bot is definitely not liking multi-author PRs.

@abayer abayer added cla: yes Trying to make the CLA bot happy with ppl from different companies work on one commit and removed cla: no labels May 8, 2019
@googlebot
Copy link

☹️ Sorry, but only Googlers may change the label cla: yes.

@googlebot googlebot removed the cla: yes Trying to make the CLA bot happy with ppl from different companies work on one commit label May 8, 2019
@abayer
Copy link
Contributor Author

abayer commented May 8, 2019

awwwww I can't even set the CLA flag.

@abayer abayer added the cla: no label May 8, 2019
@abayer
Copy link
Contributor Author

abayer commented May 8, 2019

cc @dicarlo2 since I lifted your PR. =)

/assign @dlorenc
/assign @bobcatfish
/assign @imjasonh
...for help with the CLA label if nothing else. =)

@abayer
Copy link
Contributor Author

abayer commented May 8, 2019

Well, nice, looks like the override-with-bash-noop:latest image is working here.

@abayer
Copy link
Contributor Author

abayer commented May 8, 2019

dangit, it's back, but only in the yaml tests. I am confused.

@abayer
Copy link
Contributor Author

abayer commented May 8, 2019

Ok, this should actually be fixed now - tested locally.

@dlorenc
Copy link
Contributor

dlorenc commented May 8, 2019

I manually verified the CLAs are correct. Overriding the bot.

@dlorenc dlorenc added the cla: yes Trying to make the CLA bot happy with ppl from different companies work on one commit label May 8, 2019
@googlebot
Copy link

A Googler has manually verified that the CLAs look good.

(Googler, please make sure the reason for overriding the CLA status is clearly documented in these comments.)

ℹ️ Googlers: Go here for more info.

@googlebot googlebot removed the cla: no label May 8, 2019
@googlebot
Copy link

So there's good news and bad news.

👍 The good news is that everyone that needs to sign a CLA (the pull request submitter and all commit authors) have done so. Everything is all good there.

😕 The bad news is that it appears that one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that here in the pull request.

Note to project maintainer: This is a terminal state, meaning the cla/google commit status will not change from this state. It's up to you to confirm consent of all the commit author(s), set the cla label to yes (if enabled on your project), and then merge this pull request when appropriate.

ℹ️ Googlers: Go here for more info.

@googlebot googlebot added cla: no and removed cla: yes Trying to make the CLA bot happy with ppl from different companies work on one commit labels May 8, 2019
@abayer
Copy link
Contributor Author

abayer commented May 8, 2019

Thanks, @dlorenc!

@abayer
Copy link
Contributor Author

abayer commented May 8, 2019

The CLA bot is still confused, but eh, that can wait.

@dlorenc dlorenc added cla: yes Trying to make the CLA bot happy with ppl from different companies work on one commit and removed cla: no labels May 8, 2019
@googlebot
Copy link

A Googler has manually verified that the CLAs look good.

(Googler, please make sure the reason for overriding the CLA status is clearly documented in these comments.)

ℹ️ Googlers: Go here for more info.

@dlorenc
Copy link
Contributor

dlorenc commented May 8, 2019

/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label May 8, 2019
@dlorenc
Copy link
Contributor

dlorenc commented May 8, 2019

/approve

@tekton-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: abayer, dlorenc

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

@tekton-robot tekton-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 8, 2019
@vdemeester vdemeester removed lgtm Indicates that a PR is ready to be merged. labels May 8, 2019
@vdemeester
Copy link
Member

/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label May 8, 2019
@tekton-robot tekton-robot merged commit 8999271 into tektoncd:master May 8, 2019
@@ -48,7 +48,7 @@ func TestStorageBucketPipelineRun(t *testing.T) {
t.Skip("GCP_SERVICE_ACCOUNT_KEY_PATH variable is not set.")
}
c, namespace := setup(t)
t.Parallel()
// Bucket tests can't run in parallel without causing issues with other tests.
Copy link
Collaborator

Choose a reason for hiding this comment

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

what kind of issues?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The TestPipelineRun tests hang for me when run in parallel with TestStorageBucketPipelineRun - my guess is that when they get created, the ConfigMap is set up to use a bucket, but by the time they actually get going, the bucket has been deleted due to this test finishing.

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.

Steps with workingDir refuse to start because the directory does not exist on pod startup
8 participants