blob: ae7dc915d33cd1d32aa4b8e2f4bfd290dc8ded70 [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 \
burdziakd0afc3c2018-06-04 10:40:41 +020018k8s-ves.yaml \
Jakub Dudycz1e818c62018-09-13 12:51:23 +020019k8s-prh.yaml \
20k8s-hv-ves.yaml
Jack Lucas230ae892018-03-27 00:04:46 -040021"
22
23BPDEST=blueprints
24mkdir ${BPDEST}
25
26# Download blueprints
27for bp in ${BLUEPRINTS}
28do
29 curl -Ss $1/blueprints/${bp} > ${BPDEST}/$(basename ${bp})
Jack Lucas5648b852018-04-09 13:28:31 +000030done