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