summaryrefslogtreecommitdiffstats
path: root/roles/openshift_examples/examples-sync.sh
diff options
context:
space:
mode:
authorBrenton Leanhardt <bleanhar@redhat.com>2015-11-20 13:18:50 -0500
committerBrenton Leanhardt <bleanhar@redhat.com>2015-11-20 13:18:50 -0500
commitca2e6af84b5d3f5239302348011b053c596a6ac6 (patch)
tree24bc02302fbe8d5a09c5ba3c66daacd784890151 /roles/openshift_examples/examples-sync.sh
parent24f21d3115a1b25b93acef1d80509347117454c2 (diff)
parentcef52c3a1aabb10be8c1d4b81f37464982832105 (diff)
downloadopenshift-ca2e6af84b5d3f5239302348011b053c596a6ac6.tar.gz
openshift-ca2e6af84b5d3f5239302348011b053c596a6ac6.tar.bz2
openshift-ca2e6af84b5d3f5239302348011b053c596a6ac6.tar.xz
openshift-ca2e6af84b5d3f5239302348011b053c596a6ac6.zip
Merge pull request #929 from sdodson/fix-30-imagestreams
Install version dependent image streams for v1.0 and v1.1
Diffstat (limited to 'roles/openshift_examples/examples-sync.sh')
-rwxr-xr-xroles/openshift_examples/examples-sync.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/roles/openshift_examples/examples-sync.sh b/roles/openshift_examples/examples-sync.sh
index a261a6ddd..090fb9042 100755
--- a/roles/openshift_examples/examples-sync.sh
+++ b/roles/openshift_examples/examples-sync.sh
@@ -6,9 +6,10 @@
# This script should be run from openshift-ansible/roles/openshift_examples
XPAAS_VERSION=ose-v1.1.0
-EXAMPLES_BASE=$(pwd)/files/examples
-find files/examples -name '*.json' -delete
-find files/examples -name '*.yaml' -delete
+ORIGIN_VERSION=v1.1
+EXAMPLES_BASE=$(pwd)/files/examples/${ORIGIN_VERSION}
+find ${EXAMPLES_BASE} -name '*.json' -delete
+find ${EXAMPLES_BASE} -name '*.yaml' -delete
TEMP=`mktemp -d`
pushd $TEMP