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

Make the OS_RELEASE=n ./hack/build-images.sh work again #12561

Merged
merged 1 commit into from
Jan 25, 2017

Conversation

miminar
Copy link

@miminar miminar commented Jan 19, 2017

Make the OS_RELEASE=n ./hack/build-images.sh work again

Without this patch, I get:

$ OS_RELEASE=n ./hack/build-images.sh
Building images from source v1.5.0-alpha.2-78d8140-6-dirty:

++ temporarily enabling swap space to assist in building in limited memory - use OS_BUILD_SWAP_DISABLE=1 to bypass
/data/src/github.com/openshift/origin/hack/common.sh: line 295: platforms[@]: unbound variable


$ OS_RELEASE=n ./hack/build-images.sh
Building images from source v1.5.0-alpha.2-78d8140-6-dirty:

OS_IMAGE_COMPILE_TARGETS:
++ temporarily enabling swap space to assist in building in limited memory - use OS_BUILD_SWAP_DISABLE=1 to bypass
++ Building go targets for linux/amd64:
++ Placing binaries

ln: failed to access '/data/src/github.com/openshift/origin/_output/local/bin/linux/amd64/pod': No such file or directory

@miminar miminar force-pushed the build-images.sh-fix branch from c2fea62 to 7d156ef Compare January 19, 2017 14:30
@miminar
Copy link
Author

miminar commented Jan 19, 2017

@stevekuznetsov PTAL

@stevekuznetsov
Copy link
Contributor

@smarterclayton PTAL

@mmilata
Copy link
Contributor

mmilata commented Jan 20, 2017

Fixes the problem for me.

FYI there's a merge conflict with #12548 which is in the process of merging.

@stevekuznetsov
Copy link
Contributor

Yeah, we'll work through it. Glad to hear it works for you.

@openshift-bot openshift-bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jan 20, 2017
@stevekuznetsov
Copy link
Contributor

@smarterclayton with regards to our last conversation ... do we just want to remove this section and have a build be a strict pre-req for images? I don't like how this stanza muddles the build flow.

@smarterclayton
Copy link
Contributor

I'm ok as long as our consumers have another path that they feel happy with. I don't like having it here either.

@miminar miminar force-pushed the build-images.sh-fix branch from 7d156ef to 91f8b59 Compare January 24, 2017 09:37
@miminar
Copy link
Author

miminar commented Jan 24, 2017

Rebased. I don't like it either. I leave the decision up to you .. merge or do it other way.

@openshift-bot openshift-bot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jan 24, 2017
@stevekuznetsov
Copy link
Contributor

Ok. I'll clean it up in a follow-up. [merge]

@openshift-bot
Copy link
Contributor

Evaluated for origin merge up to 91f8b59

@openshift-bot
Copy link
Contributor

[Test]ing while waiting on the merge queue

@openshift-bot
Copy link
Contributor

Evaluated for origin test up to 91f8b59

@openshift-bot
Copy link
Contributor

continuous-integration/openshift-jenkins/test FAILURE (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/13238/) (Base Commit: c5868ac)

@miminar
Copy link
Author

miminar commented Jan 24, 2017

@smarterclayton
Copy link
Contributor

smarterclayton commented Jan 24, 2017 via email

@openshift-bot
Copy link
Contributor

openshift-bot commented Jan 25, 2017

continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/13279/) (Base Commit: 86a9783) (Image: devenv-rhel7_5769)

@openshift-bot openshift-bot merged commit c82fb7d into openshift:master Jan 25, 2017
@miminar miminar deleted the build-images.sh-fix branch April 29, 2017 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants