diff options
author | Luke Meyer <lmeyer@redhat.com> | 2015-11-10 09:56:54 -0500 |
---|---|---|
committer | Luke Meyer <lmeyer@redhat.com> | 2015-11-10 14:51:40 -0500 |
commit | 36d44c4b8bb2e3059b67dea7ddb67f7bbaf921e4 (patch) | |
tree | c92d504cc989a1691e23f6c5eb095346a351a34f /roles/openshift_examples/examples-sync.sh | |
parent | 35c3b7d15cfac7da748382dc4ad429ca78e7c74e (diff) | |
download | openshift-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-x | roles/openshift_examples/examples-sync.sh | 8 |
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 |