-
Notifications
You must be signed in to change notification settings - Fork 4.7k
block s2i from doing ONBUILD operations #8679
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
Conversation
@smarterclayton @mfojtik ptal (@mfojtik need you to review the env var change i had to make when bumping s2i) |
2f44276
to
9170ddb
Compare
Looks ok to me but will defer to Michal on sign off |
9170ddb
to
3fa1e1a
Compare
3fa1e1a
to
5751f9a
Compare
for _, item := range bi { | ||
envVars[item.Key] = item.Value | ||
envVars = append(envVars, s2iapi.EnvironmentSpec{Name: item.Key, Value: item.Value}) |
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.
you can also use err = envVars.Set("KEY=VALUE")
to make sure the checks for the format/etc apply, but append will work as well.
5751f9a
to
94146b5
Compare
@mfojtik updated per your suggestion, ptal |
manually tested env var behavior. [merge] |
LGTM
|
94146b5
to
ed5723d
Compare
[test] |
@smarterclayton @mfojtik @jwforres i ended up doing the bump here because i was going to have to update origin code (as this PR does) to make it compatible w/ the bump i was having to do to revert the change(sigh). |
[testonlyextended][extended:core(s2i build with environment file in sources)] |
Evaluated for origin testonlyextended up to ed5723d |
continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/3471/) |
Evaluated for origin test up to ed5723d |
continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/3471/) (Image: devenv-rhel7_4062) |
Evaluated for origin merge up to ed5723d |
continuous-integration/openshift-jenkins/testonlyextended SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin_extended/129/) (Extended Tests: core(s2i build with environment file in sources)) |
No description provided.