blob: 20374276c60fbf2620796abf0fb7a1304abf6668 [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"
10k8s-config_binding_service.yaml \
11k8s-deployment_handler.yaml \
Jack Lucasbac8d422018-04-27 22:11:51 +000012k8s-holmes-engine.yaml \
13k8s-holmes-rules.yaml \
Jack Lucas230ae892018-03-27 00:04:46 -040014k8s-inventory.yaml \
Jack Lucasbac8d422018-04-27 22:11:51 +000015k8s-policy_handler.yaml \
16k8s-pgaas-initdb.yaml \
17k8s-tca.yaml \
18k8s-ves.yaml
Jack Lucas230ae892018-03-27 00:04:46 -040019"
20
21BPDEST=blueprints
22mkdir ${BPDEST}
23
24# Download blueprints
25for bp in ${BLUEPRINTS}
26do
27 curl -Ss $1/blueprints/${bp} > ${BPDEST}/$(basename ${bp})
Jack Lucas5648b852018-04-09 13:28:31 +000028done