Skip to content

Commit

Permalink
added env variables.
Browse files Browse the repository at this point in the history
Signed-off-by: sreepuramsudheer <ssudheer@progress.com>
  • Loading branch information
sreepuramsudheer committed Sep 23, 2024
1 parent 08cf127 commit 515bfd3
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .expeditor/automate_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 515bfd3

Please sign in to comment.