blob: 80faeeac2e450365f4c4960b959e664b23640b96 [file] [log] [blame]
Grinberg Moticd6eeaa2017-02-23 14:26:04 +02001#!/bin/bash
Michael Lando451a3402017-02-19 10:28:42 +02002
Michael Lando451a3402017-02-19 10:28:42 +02003cd /root/chef-solo
Yuli Shlosberg0875ce02018-01-25 13:53:36 +02004chef-solo -c solo.rb -E ${ENVNAME}
5
6rc=$?
7
8if [[ $rc != 0 ]]; then
kaihlavi02f48802019-07-30 19:23:52 +03009 echo "Startup failed !!!"
Yuli Shlosberg0875ce02018-01-25 13:53:36 +020010 exit $rc
11else
kaihlavi02f48802019-07-30 19:23:52 +030012# 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"
17fi