diff options
author | Brenton Leanhardt <bleanhar@redhat.com> | 2015-11-10 15:58:00 -0500 |
---|---|---|
committer | Brenton Leanhardt <bleanhar@redhat.com> | 2015-11-10 15:58:00 -0500 |
commit | 6ee3d4deb200219098596562e502ca34e550f6fd (patch) | |
tree | bef03951221471cc0e93bb8b04d21d4355d3ca98 /roles/openshift_examples/examples-sync.sh | |
parent | 1735585f0a1f0ff510f359b3f86fc80d04182d01 (diff) | |
parent | 36d44c4b8bb2e3059b67dea7ddb67f7bbaf921e4 (diff) | |
download | openshift-6ee3d4deb200219098596562e502ca34e550f6fd.tar.gz openshift-6ee3d4deb200219098596562e502ca34e550f6fd.tar.bz2 openshift-6ee3d4deb200219098596562e502ca34e550f6fd.tar.xz openshift-6ee3d4deb200219098596562e502ca34e550f6fd.zip |
Merge pull request #857 from sosiouxme/20151110-infrastructure-templates
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 |