summaryrefslogtreecommitdiffstats
path: root/roles/openshift_examples/examples-sync.sh
diff options
context:
space:
mode:
authorThomas Wiest <twiest@users.noreply.github.com>2015-12-17 22:02:37 -0500
committerThomas Wiest <twiest@users.noreply.github.com>2015-12-17 22:02:37 -0500
commitfabc75ca725c6a561bc5e70a63c4dbb2d37bc396 (patch)
tree2c79743633fa9cd25dea293f65e746d5f0902c02 /roles/openshift_examples/examples-sync.sh
parent2783ca72870440e7c229150073d8812e86954571 (diff)
parent4aed54937b7f30699b2a5476321ba4f52ebac983 (diff)
downloadopenshift-fabc75ca725c6a561bc5e70a63c4dbb2d37bc396.tar.gz
openshift-fabc75ca725c6a561bc5e70a63c4dbb2d37bc396.tar.bz2
openshift-fabc75ca725c6a561bc5e70a63c4dbb2d37bc396.tar.xz
openshift-fabc75ca725c6a561bc5e70a63c4dbb2d37bc396.zip
Merge pull request #1086 from sdodson/xpaas-1.2-jboss-fuse
Xpaas 1.2 and JBOSS Fuse examples
Diffstat (limited to 'roles/openshift_examples/examples-sync.sh')
-rwxr-xr-xroles/openshift_examples/examples-sync.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/roles/openshift_examples/examples-sync.sh b/roles/openshift_examples/examples-sync.sh
index 090fb9042..01ce6d819 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.1.0
+XPAAS_VERSION=ose-v1.2.0-1
ORIGIN_VERSION=v1.1
EXAMPLES_BASE=$(pwd)/files/examples/${ORIGIN_VERSION}
find ${EXAMPLES_BASE} -name '*.json' -delete
@@ -37,6 +37,7 @@ 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/ \;
+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
cp ${EXAMPLES_BASE}/infrastructure-templates/origin/metrics-*.yaml ${EXAMPLES_BASE}/infrastructure-templates/enterprise/