blob: 399ed86c73d65b25e990ee94e3f82f9a47918cbe [file] [log] [blame]
Jack Lucas230ae892018-03-27 00:04:46 -04001#!/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
6set -x
7
8BLUEPRINTS=\
9"
Jack Lucas5648b852018-04-09 13:28:31 +000010k8s-pgaas-initdb.yaml \
Jack Lucas230ae892018-03-27 00:04:46 -040011k8s-config_binding_service.yaml \
12k8s-deployment_handler.yaml \
13k8s-inventory.yaml \
14k8s-policy_handler.yaml
15"
16
17BPDEST=blueprints
18mkdir ${BPDEST}
19
20# Download blueprints
21for bp in ${BLUEPRINTS}
22do
23 curl -Ss $1/blueprints/${bp} > ${BPDEST}/$(basename ${bp})
Jack Lucas5648b852018-04-09 13:28:31 +000024done