-
Notifications
You must be signed in to change notification settings - Fork 4.7k
oc new-app --build-env doesn't work on templates #14922
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
oc new-app --build-env doesn't work on templates #14922
Conversation
[test][testextended][extended:core(builds)] |
@openshift/devex ptal |
pkg/generate/app/cmd/newapp.go
Outdated
buildEnv := buildutil.GetBuildConfigEnv(result.Objects[i].(*buildapi.BuildConfig)) | ||
buildEnv = app.JoinEnvironment(buildEnv, buildEnvironment.List()) | ||
buildutil.SetBuildConfigEnv(result.Objects[i].(*buildapi.BuildConfig), buildEnv) | ||
} |
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.
use a type switch like GetPodSpec does.
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.
updated
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.
add a test case to newapp.sh please.
test/flake #14043 |
@bparees test case added |
[merge] |
[merge]
Ben Parees | OpenShift
…On Jun 30, 2017 06:07, "OpenShift Bot" ***@***.***> wrote:
continuous-integration/openshift-jenkins/merge NOT_FOUND (
https://ci.openshift.redhat.com/jenkins/job/merge_pull_
request_origin/1183/) (Base Commit: 383de81
<383de81>)
(PR Branch Commit: c0016d4
<c0016d4>
)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#14922 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AEvl3j4TS7uJBWg7l3WunX45TzDE29RCks5sJMjsgaJpZM4OHCh7>
.
|
[test] |
Evaluated for origin testextended up to 1b648eb |
Evaluated for origin test up to 1b648eb |
continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_request_origin/2896/) (Base Commit: 57a4d50) (PR Branch Commit: 1b648eb) |
[merge] |
continuous-integration/openshift-jenkins/testextended SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_request_origin_extended/805/) (Base Commit: 57a4d50) (PR Branch Commit: 1b648eb) (Extended Tests: core(builds)) |
Gce Provision failed. [merge]
Ben Parees | OpenShift
…On Jul 2, 2017 3:39 AM, "OpenShift Bot" ***@***.***> wrote:
continuous-integration/openshift-jenkins/merge FAILURE (
https://ci.openshift.redhat.com/jenkins/job/merge_pull_
request_origin/1207/) (Base Commit: 082730f
<082730f>)
(PR Branch Commit: 1b648eb
<1b648eb>
)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#14922 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AEvl3ox0eP_kfxICHvmqPXOeiDx-eotaks5sJ0kugaJpZM4OHCh7>
.
|
Evaluated for origin merge up to 1b648eb |
continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/merge_pull_request_origin/1212/) (Base Commit: 60caae1) (PR Branch Commit: 1b648eb) (Image: devenv-rhel7_6419) |
Fixes #14906