diff options
author | Kiran Kamineni <kiran.k.kamineni@intel.com> | 2019-01-25 12:32:55 -0800 |
---|---|---|
committer | Victor Morales <victor.morales@intel.com> | 2019-03-08 07:45:57 -0800 |
commit | 1aa628c9494e0bdef7cdf3fd374520f91d86adb7 (patch) | |
tree | ea4a9ae321d15a67672ad3c6fac7fe03e58a5072 /vagrant/tests/_functions.sh | |
parent | d53b95760be6a17d5b14de550eb638f4a1c095d5 (diff) |
Add test helm chart for testing
Add a test helm chart for testing the end to end
flow. This chart brings up a service and a deployment.
The deployment brings up two containers, vault and consul.
Vault and Consul are brought up in dev mode.
The helm chart also has a subchart, common, which contains
templates that are used within the main chart.
Added an override deployment.yaml which creates only one
container instead of two
Fixed plugin.sh and tar file creation steps
Issue-ID: MULTICLOUD-291
Change-Id: I7eb10c9f43f8a4e09938139b5e2edee5d59feb3b
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
Signed-off-by: Victor Morales <victor.morales@intel.com>
Diffstat (limited to 'vagrant/tests/_functions.sh')
-rwxr-xr-x | vagrant/tests/_functions.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/vagrant/tests/_functions.sh b/vagrant/tests/_functions.sh index fe69b07b..62feb7b7 100755 --- a/vagrant/tests/_functions.sh +++ b/vagrant/tests/_functions.sh @@ -12,6 +12,14 @@ set -o errexit set -o nounset set -o pipefail +function print_msg { + local msg=$1 + local RED='\033[0;31m' + local NC='\033[0m' + + echo -e "${RED} $msg ---------------------------------------${NC}" +} + function _get_ovn_central_address { ansible_ifconfig=$(ansible ovn-central[0] -i $test_folder/../inventory/hosts.ini -m shell -a "ifconfig eth1 |grep \"inet addr\" |awk '{print \$2}' |awk -F: '{print \$2}'") if [[ $ansible_ifconfig != *CHANGED* ]]; then |