Bug 1252822
Summary: | [origin_devexp_555]When push to origin-gitserver there is always a error tip info | ||
---|---|---|---|
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, haowang, 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:53:49 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:57:14 UTC
Ok, we need to set a KUBECONFIG for the local environment (KUBECONFIG='-') so that it picks up the right variables. The gitserver service account should now be able to invoke new-app or start a new build as long as it is assigned the 'edit' role. Please see doc at: https://github.com/openshift/origin/tree/master/examples/gitserver No error when the push code to gitserver with openshift/origin-gitserver (d4413378d01d). Total 267 (delta 88), reused 267 (delta 88) remote: --> Found Docker image 7666c51 (2 weeks old) from Docker Hub for "centos/ruby-22-centos7" remote: remote: Ruby 2.2 remote: -------- remote: Platform for building and running Ruby 2.2 applications remote: remote: Tags: builder, ruby, ruby22 remote: remote: * An image stream will be created as "ruby-22-centos7:latest" that will track the source image remote: * A Docker build using source code from http://git:8080/ruby-hello-world.git will be created remote: * The resulting image will be pushed to image stream "ruby-hello-world:latest" remote: * Every time "ruby-22-centos7:latest" changes a new build will be triggered remote: * This image will be deployed in deployment config "ruby-hello-world" remote: * Port 8080 will be load balanced by service "ruby-hello-world" remote: * Other containers can access this service through the hostname "ruby-hello-world" remote: 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 $ git push openshift master Counting objects: 4, done. Delta compression using up to 4 threads. Compressing objects: 100% (2/2), done. Writing objects: 100% (3/3), 253 bytes | 0 bytes/s, done. Total 3 (delta 1), reused 0 (delta 0) remote: build: started on build configuration 'ruby-hello-world' To http://git-xiuwang.0428-og3.qe.rhcloud.com/ruby-hello-world.git e79d887..6d24ed5 master -> master |