Bug 1252826
| Summary: | [origin_devexp_555]Can't trigger a new build when push some change to origin-gitserver | ||
|---|---|---|---|
| Product: | OKD | Reporter: | DeShuai Ma <dma> |
| Component: | Build | Assignee: | Cesar Wong <cewong> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Wenjing Zheng <wzheng> |
| Severity: | low | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.x | CC: | bparees, dmcphers, libra-bugs, xiuwang |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-09-19 13:50:54 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
DeShuai Ma
2015-08-12 09:59:54 UTC
We need to set a default hook in the image or template definition so that something runs. Builds should now be triggered. Please see documentation at https://github.com/openshift/origin/tree/master/examples/gitserver Verified this bug with openshift/origin-gitserver (d4413378d01d). Could trigger new build after push code to gitserver. remote: --> Creating resources with label app=ruby-hello-world ... remote: imagestream "ruby-22-centos7" created remote: imagestream "ruby-hello-world" created remote: buildconfig "ruby-hello-world" created remote: deploymentconfig "ruby-hello-world" created remote: service "ruby-hello-world" created remote: --> Success remote: Build scheduled, use 'oc logs -f bc/ruby-hello-world' to track its progress. remote: Run 'oc status' to view your app. To http://git-xiuwang.0428-og3.qe.rhcloud.com/ruby-hello-world.git * [new branch] master -> master [xiuj@dhcp-128-25 ruby-hello-world]$ oc get pods NAME READY STATUS RESTARTS AGE git-1-trrhu 1/1 Running 0 8m ruby-hello-world-1-build 1/1 Running 0 1m |