summaryrefslogtreecommitdiffstats
path: root/roles/openshift_examples/examples-sync.sh
diff options
context:
space:
mode:
authorBrenton Leanhardt <bleanhar@redhat.com>2016-03-14 11:56:09 -0400
committerBrenton Leanhardt <bleanhar@redhat.com>2016-03-14 11:56:09 -0400
commit00ccce6741369f5cffdcca2a9511c57e3aff4b47 (patch)
tree02576ace505cc387703255484dec9f8ac1d0dac4 /roles/openshift_examples/examples-sync.sh
parenta0e7f19f9f7f423d8fe001a247ccf2c98d815d68 (diff)
parent145cf0c6e25460532862a21a9a145980a810e09d (diff)
downloadopenshift-00ccce6741369f5cffdcca2a9511c57e3aff4b47.tar.gz
openshift-00ccce6741369f5cffdcca2a9511c57e3aff4b47.tar.bz2
openshift-00ccce6741369f5cffdcca2a9511c57e3aff4b47.tar.xz
openshift-00ccce6741369f5cffdcca2a9511c57e3aff4b47.zip
Merge pull request #1451 from sdodson/is-sync
Sync with latest image stream and templates
Diffstat (limited to 'roles/openshift_examples/examples-sync.sh')
-rwxr-xr-xroles/openshift_examples/examples-sync.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_examples/examples-sync.sh b/roles/openshift_examples/examples-sync.sh
index 22cef303b..6108a1485 100755
--- a/roles/openshift_examples/examples-sync.sh
+++ b/roles/openshift_examples/examples-sync.sh
@@ -6,7 +6,7 @@
# This script should be run from openshift-ansible/roles/openshift_examples
XPAAS_VERSION=ose-v1.2.0-1
-ORIGIN_VERSION=v1.2
+ORIGIN_VERSION=${1:-v1.2}
EXAMPLES_BASE=$(pwd)/files/examples/${ORIGIN_VERSION}
find ${EXAMPLES_BASE} -name '*.json' -delete
find ${EXAMPLES_BASE} -name '*.yaml' -delete