diff options
author | Brenton Leanhardt <bleanhar@redhat.com> | 2015-11-20 13:18:50 -0500 |
---|---|---|
committer | Brenton Leanhardt <bleanhar@redhat.com> | 2015-11-20 13:18:50 -0500 |
commit | ca2e6af84b5d3f5239302348011b053c596a6ac6 (patch) | |
tree | 24bc02302fbe8d5a09c5ba3c66daacd784890151 /roles/openshift_examples/examples-sync.sh | |
parent | 24f21d3115a1b25b93acef1d80509347117454c2 (diff) | |
parent | cef52c3a1aabb10be8c1d4b81f37464982832105 (diff) | |
download | openshift-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-x | roles/openshift_examples/examples-sync.sh | 7 |
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 |