blob: e42a72ead7e083cfa82f0f3b44668cf99293bff0 [file] [log] [blame]
Jack Lucas230ae892018-03-27 00:04:46 -04001#!/bin/bash
Jack Lucas5caf1652019-02-08 14:21:58 -05002# ================================================================================
3# Copyright (c) 2018-2019 AT&T Intellectual Property. All rights reserved.
4# ================================================================================
5# Licensed under the Apache License, Version 2.0 (the "License");
6# you may not use this file except in compliance with the License.
7# You may obtain a copy of the License at
8#
9# http://www.apache.org/licenses/LICENSE-2.0
10#
11# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an "AS IS" BASIS,
13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14# See the License for the specific language governing permissions and
15# limitations under the License.
16# ============LICENSE_END=========================================================
Jack Lucas230ae892018-03-27 00:04:46 -040017# Load DCAE blueprints/inputs onto container
18# $1 Blueprint repo base URL
19# Expect blueprints to be at <base URL>/blueprints
20
21set -x
22
23BLUEPRINTS=\
24"
Jack Lucasbac8d422018-04-27 22:11:51 +000025k8s-holmes-engine.yaml \
26k8s-holmes-rules.yaml \
Jack Lucasbac8d422018-04-27 22:11:51 +000027k8s-pgaas-initdb.yaml \
28k8s-tca.yaml \
burdziakd0afc3c2018-06-04 10:40:41 +020029k8s-ves.yaml \
vagrant6ccc5602018-09-16 07:00:06 +000030k8s-snmptrap.yaml \
Jakub Dudycz1e818c62018-09-13 12:51:23 +020031k8s-prh.yaml \
wasala42517302018-09-19 13:51:36 +020032k8s-hv-ves.yaml \
33k8s-datafile-collector.yaml
Jack Lucas230ae892018-03-27 00:04:46 -040034"
35
36BPDEST=blueprints
37mkdir ${BPDEST}
38
39# Download blueprints
40for bp in ${BLUEPRINTS}
41do
42 curl -Ss $1/blueprints/${bp} > ${BPDEST}/$(basename ${bp})
vagrant6ccc5602018-09-16 07:00:06 +000043done