Platform independent image builds#897
Conversation
|
@smarterclayton This solves it. It would have been much simpler to just include the binary in the release tar, but this does the job. |
|
[test] |
|
continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_openshift3/1093/) |
|
@smarterclayton If you also think this fixes the problem, maybe we could get it merged for beta1 with a refactor followup? I avoided the hello image because it seems to have a binary committed rather than following the bin directory convention, and I didn't want to do too much at once yet. |
|
Not beta1 |
|
Alright, but it's unfortunate that what's in master went from working to broken suddenly. |
|
Also build assets |
Can you elaborate on this? I'm happy to keep running with the PR for beta2. |
|
If the release image was capable of building assets (not by default, but in a mode we can run) it would benefit folks deving on weird systems.
|
|
We can nuke the committed binary - it was convenient, that's all.
|
|
This is working for me on boot2docker: #!/bin/sh
docker run \
-v $GOPATH/src/github.com/openshift/origin:/go/src/github.com/openshift/origin \
-v /usr/local/bin/docker:/usr/bin/docker \
-v /var/run/docker.sock:/var/run/docker.sock \
-e OS_VERSION_FILE="" \
openshift/origin-release hack/build-images.sh |
|
@csrwng One nit with that approach is that you're building bind mounted source through the VM rather than letting the origin-release container build from the source that was prepared and streamed to it. @smarterclayton I had one more idea to revise what I have here: what if instead of building just 1 release tar and pulling down the image binaries separately place_bins was modified to produce the release tar (excluding image binaries), and a second image binaries tar (including only image binaries)? Then the build-release.sh could:
I think that seems more internally consistent than what I have so far. |
|
Yes. ----- Original Message -----
|
96f4569 to
47185c1
Compare
|
@smarterclayton Check out this new revision. |
47185c1 to
04348d4
Compare
|
Do hello-Openshift as well |
ddd7ff0 to
d5b9ba9
Compare
6cced84 to
6655abe
Compare
|
Ready for another review. I think I managed to get the release builder just generic enough to support our core/images splits. |
6655abe to
4ecc527
Compare
|
@smarterclayton I know you've been busy with an upstream refactor, so I promise to ping you about this only once a day. |
4ecc527 to
b4279cb
Compare
|
Rebased. |
|
@smarterclayton Psssst. |
b4279cb to
488ae32
Compare
|
Have you got a passing jenkins test? |
Make the build/release process more generic to allow multiple release targets such as core and image binaries. This makes the build/release process once again platform independent (provided docker is available on the host), and re-enables support for build-release/build-images on OSX.
488ae32 to
794be1e
Compare
|
Figures... it was green for days and when you come back around everything's red red red |
|
Rebased again, waiting for results. |
|
LGTM [merge] |
|
continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/merge_pull_requests_openshift3/941/) (Image: devenv-fedora_814) |
|
Evaluated for origin up to 794be1e |
Merged by openshift-bot
…service-catalog/' changes from c91fecb..1bfff53 1bfff53 instance never provisioned should just delete (openshift#891) 1ae26db Adding a fake broker server (openshift#928) 6403076 docs: fix quoting issue, clarify naming in auth.md (openshift#931) 8ac0775 Merge branch 'pr/927' 02af952 Merge branch 'pr/876' 2aa84f9 add Jenkins badge to README 0c08788 Brokers must have at least one service (openshift#930) cbfa39b Add PodPreset support (openshift#917) 0d9b810 refactor Jenkins GitHub status postback to work on non-PR commits (openshift#916) 066159d Converting the AuthSecret field to a union AuthInfo type (openshift#877) 203af5c Add leader election namespace configuration (openshift#920) 5831502 Add example JSON schema to controller unit tests (openshift#918) b78ab99 Fix usage of finalizers (openshift#894) d3d29f0 Enable pprof in controller-manager (openshift#896) f4233a0 Correct parameter schema support (openshift#912) 05c6f00 bump image tags from v0.0.8 to v0.0.9 (openshift#910) 97d278a Add support for OSB parameter schemas (openshift#822) 3e4120e Fix nil dereference panic on request timeout (openshift#906) d8c7494 Add feature gate for audit options in helm chart (openshift#904) 89ce1cd Decompose controller unit tests (openshift#899) a1e83b2 Add e2e for walkthrough (openshift#832) 4679685 Add support for audit log options (openshift#897) 262a94f Do not allow updates to an object if asynchronous operation is in progress (openshift#853) 7295dad Validate that a ServiceClass must have at least one plan (openshift#879) 9db9fa4 Decompose controller.go (openshift#893) c3ea9bd Nits in our types (openshift#854) 1d8280a bump tags from v0.0.7 to v0.0.8 (openshift#892) 5e6925d Clean up the OSB client (openshift#888) fe6aee9 cleaning up logs and adding more log detail (openshift#874) f41516f Detect if a TPR update represents a soft delete (openshift#836) 9ce99f3 Add functions on Makefile for build and tag REVERT: c91fecb Merge pull request openshift#1 from jpeeler/origin-build REVERT: 55ccf3d origin build: add _output to .gitignore REVERT: 8352e14 origin build: make build-go and build-cross work REVERT: d969641 origin build: modify hard coded path REVERT: 30000cc origin build: add origin tooling git-subtree-dir: cmd/service-catalog/go/src/github.com/kubernetes-incubator/service-catalog git-subtree-split: 1bfff53
…service-catalog/' changes from c91fecb..568a7b9 568a7b9 origin build: add origin tooling 1bfff53 instance never provisioned should just delete (openshift#891) 1ae26db Adding a fake broker server (openshift#928) 6403076 docs: fix quoting issue, clarify naming in auth.md (openshift#931) 8ac0775 Merge branch 'pr/927' 02af952 Merge branch 'pr/876' 2aa84f9 add Jenkins badge to README 0c08788 Brokers must have at least one service (openshift#930) cbfa39b Add PodPreset support (openshift#917) 0d9b810 refactor Jenkins GitHub status postback to work on non-PR commits (openshift#916) 066159d Converting the AuthSecret field to a union AuthInfo type (openshift#877) 203af5c Add leader election namespace configuration (openshift#920) 5831502 Add example JSON schema to controller unit tests (openshift#918) b78ab99 Fix usage of finalizers (openshift#894) d3d29f0 Enable pprof in controller-manager (openshift#896) f4233a0 Correct parameter schema support (openshift#912) 05c6f00 bump image tags from v0.0.8 to v0.0.9 (openshift#910) 97d278a Add support for OSB parameter schemas (openshift#822) 3e4120e Fix nil dereference panic on request timeout (openshift#906) d8c7494 Add feature gate for audit options in helm chart (openshift#904) 89ce1cd Decompose controller unit tests (openshift#899) a1e83b2 Add e2e for walkthrough (openshift#832) 4679685 Add support for audit log options (openshift#897) 262a94f Do not allow updates to an object if asynchronous operation is in progress (openshift#853) 7295dad Validate that a ServiceClass must have at least one plan (openshift#879) 9db9fa4 Decompose controller.go (openshift#893) c3ea9bd Nits in our types (openshift#854) 1d8280a bump tags from v0.0.7 to v0.0.8 (openshift#892) 5e6925d Clean up the OSB client (openshift#888) fe6aee9 cleaning up logs and adding more log detail (openshift#874) f41516f Detect if a TPR update represents a soft delete (openshift#836) 9ce99f3 Add functions on Makefile for build and tag REVERT: c91fecb Merge pull request openshift#1 from jpeeler/origin-build REVERT: 55ccf3d origin build: add _output to .gitignore REVERT: 8352e14 origin build: make build-go and build-cross work REVERT: d969641 origin build: modify hard coded path REVERT: 30000cc origin build: add origin tooling git-subtree-dir: cmd/service-catalog/go/src/github.com/kubernetes-incubator/service-catalog git-subtree-split: 568a7b9dbdc4fdd1fabffdd52af030ec73124b89
* Add support for audit log options * Add chart options for audit-log
The [Alerting Consistency][1] enhancement, and the proposed updates to it in [openshift/enhancements openshift#897][2], define a style-guide for the alerts shipped as part of OpenShift. This adds a test validating some of the guidelines considered required. [1]: https://github.com/openshift/enhancements/blob/master/enhancements/monitoring/alerting-consistency.md [2]: openshift/enhancements#897
Make the build/release process more generic to allow multiple release targets
such as core and image binaries. This makes the build/release process once
again platform independent (provided docker is available on the host), and
re-enables support for build-release/build-images on OSX.