-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Use dockerized e2e in PR Jenkins when special file exists #384
Conversation
export PATH=${{PATH}}:/usr/local/go/bin | ||
exit | ||
fi | ||
# Nothing should want Jenkins $HOME |
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.
GitHub is doing a poor job of illustrating this diff, but I just made the release-1.0/release-1.1 case exit so I could remove the "else" and all of its indentation.
acc2b72
to
4e883ab
Compare
I assume you're going to make a PR that touches that file and ensure it works? |
Yes, that's the idea. :) |
@@ -373,7 +373,11 @@ | |||
# Get golang into our PATH so we can run e2e.go | |||
export PATH=${{PATH}}:/usr/local/go/bin | |||
|
|||
timeout -k 15m 55m ./hack/jenkins/e2e-runner.sh && rc=$? || rc=$? | |||
if [[ -e "./hack/jenkins/.use_dockerized_e2e" ]]; then |
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.
Should it be -x
?
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.
I'm not executing this file - just using it as a marker to trigger the dockerized code path.
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.
Yes, ok misread. Thought it was the same as the .sh below
Add kubernetes-test-go to build blockers
* Ignore localhost links by default * Allow per-repo custom config in /test Bonus: make library tests less verbose, and its output clearer.
It probably just works, but I'd like to test it first before I break the world. It'll use the existing method unless
./hack/jenkins/.use_dockerized_e2e
exists.After we verify that it works, we can remove this conditional.
A step towards fixing #318.