summaryrefslogtreecommitdiffstats
path: root/test-apis-ci/sdc-api-tests/startup.sh
blob: 80faeeac2e450365f4c4960b959e664b23640b96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash

cd /root/chef-solo
chef-solo -c solo.rb -E ${ENVNAME}

rc=$?

if [[ $rc != 0 ]]; then
   echo "Startup failed !!!"
   exit $rc
else
# Note that the output below is monitored in CSIT by
# sdc/sdc-os-chef/scripts/docker_run.sh
# If this text is changed, docker_run.sh check for sdc-api-tests docker
# startup must be adjusted accordingly!
   echo "Startup completed successfully"
fi