blob: 19415bb12937a18f2aa5145de9c227a275a170ae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/bin/bash
if [ "$#" -ne 2 ]; then
echo This script updates HEAT docker versions to use versions in docker-manifest.csv
echo "$0 <docker-manifest.csv> <demo repo directory>"
exit 1
fi
# expected parameters
MANIFEST=$(realpath $1)
DEMO_DIR=$(realpath $2)
if [ -z "$WORKSPACE" ]; then
export WORKSPACE=`git rev-parse --show-toplevel`
fi
cd $DEMO_DIR/heat/ONAP
source <(./manifest-to-env.sh < $MANIFEST)
envsubst < onap_openstack_template.env > onap_openstack.env
|