-
-
Save slaskawi/36341b63cc5c03afa3beb3c345f9a313 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Git repo | |
# https://github.com/tnozicka/gopipelines | |
# (optional) pre-pull images | |
docker pull openshift/origin-sti-builder:v1.4.1 | |
docker pull openshift/origin-deployer:v1.4.1 | |
docker pull openshift/origin-docker-registry:v1.4.1 | |
docker pull openshift/origin-haproxy-router:v1.4.1 | |
docker pull openshift/origin:v1.4.1 | |
docker pull openshift/origin-pod:v1.4.1 | |
docker pull openshift/jenkins-2-centos7@sha256:9a8633f8edcc20b87bd8094c4568dd1e4f22d0adbeb9d28b619dd9aee5b12460 | |
docker tag openshift/jenkins-2-centos7@sha256:9a8633f8edcc20b87bd8094c4568dd1e4f22d0adbeb9d28b619dd9aee5b12460 openshift/jenkins-2-centos7:latest | |
docker pull tnozicka/s2i-centos7-golang@sha256:e4340c1a503913d45d8a6ab1d4985a2975f76070ddf2e11a3b4ee8c4bfeca884 | |
docker tag tnozicka/s2i-centos7-golang@sha256:e4340c1a503913d45d8a6ab1d4985a2975f76070ddf2e11a3b4ee8c4bfeca884 tnozicka/s2i-centos7-golang:latest | |
# --- | |
# get OpenShift | |
curl -L https://github.com/openshift/origin/releases/download/v1.4.1/openshift-origin-client-tools-v1.4.1-3f9807a-linux-64bit.tar.gz | tar -f - -x -z --strip-components=1 -C ./ openshift-origin-client-tools-v1.4.1+3f9807a-linux-64bit/oc | |
oc cluster up # --public-hostname 192.168.42.42 | |
oc process -f https://github.com/tnozicka/gopipelines/raw/devconf2017/deploy/pipeline-template.yaml -v GIT_URL=https://github.com/tnozicka/gopipelines.git -v GIT_REF=devconf2017 | oc create -f - | |
oc start-build hellouniverse-pipeline |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment