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 \ |
| 18 | k8s-ves.yaml |
Jack Lucas | 230ae89 | 2018-03-27 00:04:46 -0400 | [diff] [blame] | 19 | " |
| 20 | |
| 21 | BPDEST=blueprints |
| 22 | mkdir ${BPDEST} |
| 23 | |
| 24 | # Download blueprints |
| 25 | for bp in ${BLUEPRINTS} |
| 26 | do |
| 27 | curl -Ss $1/blueprints/${bp} > ${BPDEST}/$(basename ${bp}) |
Jack Lucas | 5648b85 | 2018-04-09 13:28:31 +0000 | [diff] [blame] | 28 | done |