diff options
author | Brenton Leanhardt <bleanhar@redhat.com> | 2016-04-06 07:58:18 -0400 |
---|---|---|
committer | Brenton Leanhardt <bleanhar@redhat.com> | 2016-04-06 07:58:18 -0400 |
commit | bd48369d0f9baf9d9635b1cc2cb3ed23de1f9bf6 (patch) | |
tree | d7974b4114afe0a681b8ad9a8d074e8c882f6ddb /roles/openshift_examples/examples-sync.sh | |
parent | f13efb21bb48a2202a09d70bf0a0103461b22950 (diff) | |
parent | 658b0180689365bc3f7c71bd1a3bdc3c78443590 (diff) | |
download | openshift-bd48369d0f9baf9d9635b1cc2cb3ed23de1f9bf6.tar.gz openshift-bd48369d0f9baf9d9635b1cc2cb3ed23de1f9bf6.tar.bz2 openshift-bd48369d0f9baf9d9635b1cc2cb3ed23de1f9bf6.tar.xz openshift-bd48369d0f9baf9d9635b1cc2cb3ed23de1f9bf6.zip |
Merge pull request #1698 from sdodson/xpaas13
XPAAS v1.3 content
Diffstat (limited to 'roles/openshift_examples/examples-sync.sh')
-rwxr-xr-x | roles/openshift_examples/examples-sync.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/openshift_examples/examples-sync.sh b/roles/openshift_examples/examples-sync.sh index 6108a1485..af388f6cf 100755 --- a/roles/openshift_examples/examples-sync.sh +++ b/roles/openshift_examples/examples-sync.sh @@ -5,7 +5,7 @@ # # This script should be run from openshift-ansible/roles/openshift_examples -XPAAS_VERSION=ose-v1.2.0-1 +XPAAS_VERSION=ose-v1.3.0 ORIGIN_VERSION=${1:-v1.2} EXAMPLES_BASE=$(pwd)/files/examples/${ORIGIN_VERSION} find ${EXAMPLES_BASE} -name '*.json' -delete @@ -36,7 +36,7 @@ cp nodejs-ex-master/openshift/templates/* ${EXAMPLES_BASE}/quickstart-templates/ cp dancer-ex-master/openshift/templates/* ${EXAMPLES_BASE}/quickstart-templates/ cp cakephp-ex-master/openshift/templates/* ${EXAMPLES_BASE}/quickstart-templates/ mv application-templates-${XPAAS_VERSION}/jboss-image-streams.json ${EXAMPLES_BASE}/xpaas-streams/ -find application-templates-${XPAAS_VERSION}/ -name '*.json' ! -wholename '*secret*' -exec mv {} ${EXAMPLES_BASE}/xpaas-templates/ \; +find application-templates-${XPAAS_VERSION}/ -name '*.json' ! -wholename '*secret*' ! -wholename '*demo*' -exec mv {} ${EXAMPLES_BASE}/xpaas-templates/ \; wget https://raw.githubusercontent.com/jboss-fuse/application-templates/master/fis-image-streams.json -O ${EXAMPLES_BASE}/xpaas-streams/fis-image-streams.json wget https://raw.githubusercontent.com/openshift/origin-metrics/master/metrics.yaml -O ${EXAMPLES_BASE}/infrastructure-templates/origin/metrics-deployer.yaml |