-
Notifications
You must be signed in to change notification settings - Fork 698
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
Git spec handling revamp #771
Git spec handling revamp #771
Conversation
3b7bced
to
560df6a
Compare
[test] |
10867d8
to
6884016
Compare
6884016
to
a424c3b
Compare
29bdf39
to
fd7e384
Compare
fd7e384
to
7ca38b3
Compare
7ca38b3
to
1573292
Compare
/cc @deads2k this change will have to be bumped into origin once it merges here (at least so i assume, i haven't looked at exactly what @jim-minter has done yet) |
8075a9e
to
a7b503b
Compare
a7b503b
to
8db8142
Compare
8db8142
to
e4b3a53
Compare
@bparees ptal... |
@openshift/devex fyi |
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.
a few nits. also i hate to mention this but after this merges you're going to need to backport it to the 3.6.0 branch before doing the bump into origin (which will be delivered to the origin 3.6.x branch once it exists).
test_debug "s2i build with relative path with file://" | ||
|
||
s2i build file://./cakephp-ex openshift/php-55-centos7 test --loglevel=5 &> "${WORK_DIR}/s2i-rel-proto.log" | ||
check_result $? "${WORK_DIR}/s2i-rel-proto.log" |
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.
do we have a test for a relative path without file:// ?
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, under the section marked "s2i build with relative path without file://" :-)
pkg/build/config.go
Outdated
config.Source = repo | ||
source, err := git.Parse(repo) | ||
if err != nil { | ||
return fmt.Errorf("couldn't parse label %q: %v", api.DefaultNamespace+"source-location", err) |
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 print the value of the label too. (unless the err will always contain that already) but i don't love that coupling.
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.
also should be "build.source-location"
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.
fixed - thanks
e4b3a53
to
7da3d3e
Compare
Evaluated for source to image test up to 7da3d3e |
Source To Image Test Results: SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_s2i/596/) (Base Commit: fdcbd68) (PR Branch Commit: 7da3d3e) |
[merge] |
Source To Image Merge Results: SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_s2i/596/) (Base Commit: fdcbd68) (PR Branch Commit: 7da3d3e) |
Evaluated for source to image merge up to 7da3d3e |
xref openshift/origin#15071