Fix test docker readiness check
[sdc.git] / test-apis-ci / sdc-api-tests / startup.sh
1 #!/bin/bash
2
3 cd /root/chef-solo
4 chef-solo -c solo.rb -E ${ENVNAME}
5
6 rc=$?
7
8 if [[ $rc != 0 ]]; then
9    echo "Startup failed !!!"
10    exit $rc
11 else
12 # Note that the output below is monitored in CSIT by
13 # sdc/sdc-os-chef/scripts/docker_run.sh
14 # If this text is changed, docker_run.sh check for sdc-api-tests docker
15 # startup must be adjusted accordingly!
16    echo "Startup completed successfully"
17 fi