From 515bfd32ed9e3bde11173827029d10fc21428755 Mon Sep 17 00:00:00 2001 From: sreepuramsudheer Date: Mon, 23 Sep 2024 20:00:43 +0530 Subject: [PATCH] added env variables. Signed-off-by: sreepuramsudheer --- .expeditor/automate_build.sh | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) 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"