Skip to content

Instantly share code, notes, and snippets.

@tnozicka
Last active January 31, 2017 09:50
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save tnozicka/e650cb8c41ddaeaded3603a88d41cf41 to your computer and use it in GitHub Desktop.
Save tnozicka/e650cb8c41ddaeaded3603a88d41cf41 to your computer and use it in GitHub Desktop.
# 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