summaryrefslogtreecommitdiffstats
path: root/roles/openshift_examples/examples-sync.sh
diff options
context:
space:
mode:
authorLuke Meyer <lmeyer@redhat.com>2015-11-10 09:56:54 -0500
committerLuke Meyer <lmeyer@redhat.com>2015-11-10 14:51:40 -0500
commit36d44c4b8bb2e3059b67dea7ddb67f7bbaf921e4 (patch)
treec92d504cc989a1691e23f6c5eb095346a351a34f /roles/openshift_examples/examples-sync.sh
parent35c3b7d15cfac7da748382dc4ad429ca78e7c74e (diff)
downloadopenshift-36d44c4b8bb2e3059b67dea7ddb67f7bbaf921e4.tar.gz
openshift-36d44c4b8bb2e3059b67dea7ddb67f7bbaf921e4.tar.bz2
openshift-36d44c4b8bb2e3059b67dea7ddb67f7bbaf921e4.tar.xz
openshift-36d44c4b8bb2e3059b67dea7ddb67f7bbaf921e4.zip
examples: include logging and metrics infrastructure
Diffstat (limited to 'roles/openshift_examples/examples-sync.sh')
-rwxr-xr-xroles/openshift_examples/examples-sync.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/roles/openshift_examples/examples-sync.sh b/roles/openshift_examples/examples-sync.sh
index 21137e31b..3fda86907 100755
--- a/roles/openshift_examples/examples-sync.sh
+++ b/roles/openshift_examples/examples-sync.sh
@@ -7,8 +7,10 @@
EXAMPLES_BASE=$(pwd)/files/examples
find files/examples -name '*.json' -delete
+find files/examples -name '*.yaml' -delete
TEMP=`mktemp -d`
pushd $TEMP
+
wget https://github.com/openshift/origin/archive/master.zip -O origin-master.zip
wget https://github.com/openshift/django-ex/archive/master.zip -O django-ex-master.zip
wget https://github.com/openshift/rails-ex/archive/master.zip -O rails-ex-master.zip
@@ -33,5 +35,11 @@ cp dancer-ex-master/openshift/templates/* ${EXAMPLES_BASE}/quickstart-templates/
cp cakephp-ex-master/openshift/templates/* ${EXAMPLES_BASE}/quickstart-templates/
mv application-templates-master/jboss-image-streams.json ${EXAMPLES_BASE}/xpaas-streams/
find application-templates-master/ -name '*.json' ! -wholename '*secret*' -exec mv {} ${EXAMPLES_BASE}/xpaas-templates/ \;
+
+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/
+wget https://raw.githubusercontent.com/openshift/origin-aggregated-logging/master/deployment/deployer.yaml -O ${EXAMPLES_BASE}/infrastructure-templates/origin/logging-deployer.yaml
+wget https://raw.githubusercontent.com/openshift/origin-aggregated-logging/enterprise/deployment/deployer.yaml -O ${EXAMPLES_BASE}/infrastructure-templates/enterprise/logging-deployer.yaml
+
popd
git diff files/examples