diff --git a/.expeditor/automate_build.sh b/.expeditor/automate_build.sh index 26b3b8dba7..78b015f2aa 100755 --- a/.expeditor/automate_build.sh +++ b/.expeditor/automate_build.sh @@ -4,13 +4,22 @@ git clone https://github.com/chef/automate.git cd automate git checkout vikas/cs-changes-for-pipeline -buildkite-agent artifact download "*.hart" ./results +# buildkite-agent artifact download "*.hart" ./results # echo "results directory contents" `ls -l results` +export HAB_NONINTERACTIVE=true +export HAB_STUDIO_SECRET_HAB_NONINTERACTIVE=true +export HAB_NOCOLORING=true +export HAB_STUDIO_SECRET_HAB_FEAT_IGNORE_LOCAL=false +export HAB_STUDIO_SECRET_HAB_FEAT_OFFLINE_INSTALL=true +export HAB_LICENSE="accept-no-persist" +export HAB_ORIGIN=chef +export ALLOW_LOCAL_PACKAGES=true hab studio run -D "source .studiorc; set -e; build components/automate-cs-bookshelf" -sh -vx ./scripts/verify_build.sh +echo "after build" `ls -l results` +./scripts/verify_build.sh tar -cvf results.tar results echo "results.tar created"