Jack Lucas | 230ae89 | 2018-03-27 00:04:46 -0400 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | # Load DCAE blueprints/inputs onto container |
| 3 | # $1 Blueprint repo base URL |
| 4 | # Expect blueprints to be at <base URL>/blueprints |
| 5 | |
| 6 | set -x |
| 7 | |
| 8 | BLUEPRINTS=\ |
| 9 | " |
| 10 | k8s-config_binding_service.yaml \ |
| 11 | k8s-deployment_handler.yaml \ |
Jack Lucas | bac8d42 | 2018-04-27 22:11:51 +0000 | [diff] [blame] | 12 | k8s-holmes-engine.yaml \ |
| 13 | k8s-holmes-rules.yaml \ |
Jack Lucas | 230ae89 | 2018-03-27 00:04:46 -0400 | [diff] [blame] | 14 | k8s-inventory.yaml \ |
Jack Lucas | bac8d42 | 2018-04-27 22:11:51 +0000 | [diff] [blame] | 15 | k8s-policy_handler.yaml \ |
| 16 | k8s-pgaas-initdb.yaml \ |
| 17 | k8s-tca.yaml \ |
burdziak | d0afc3c | 2018-06-04 10:40:41 +0200 | [diff] [blame] | 18 | k8s-ves.yaml \ |
Jakub Dudycz | 1e818c6 | 2018-09-13 12:51:23 +0200 | [diff] [blame^] | 19 | k8s-prh.yaml \ |
| 20 | k8s-hv-ves.yaml |
Jack Lucas | 230ae89 | 2018-03-27 00:04:46 -0400 | [diff] [blame] | 21 | " |
| 22 | |
| 23 | BPDEST=blueprints |
| 24 | mkdir ${BPDEST} |
| 25 | |
| 26 | # Download blueprints |
| 27 | for bp in ${BLUEPRINTS} |
| 28 | do |
| 29 | curl -Ss $1/blueprints/${bp} > ${BPDEST}/$(basename ${bp}) |
Jack Lucas | 5648b85 | 2018-04-09 13:28:31 +0000 | [diff] [blame] | 30 | done |