Skip to content

Commit

Permalink
adding for bookshelf.
Browse files Browse the repository at this point in the history
Signed-off-by: talktovikas <vikas.yadav@progress.com>
  • Loading branch information
talktovikas committed Sep 25, 2024
1 parent 8fd17be commit 1d10d64
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .expeditor/automate_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ HAB_CACHE_KEY_PATH="$JOB_TEMP_ROOT/keys"
echo "--- :key: Generating fake origin key"
hab license accept
hab origin key generate chef
#bookshelf oc_bifrost oc_erchef oc-id
for PACKAGE_NAME in nginx ; do
#oc_bifrost oc_erchef oc-id nginx
for PACKAGE_NAME in bookshelf ; do
echo "generating package for $PACKAGE_NAME"
HAB_FEAT_IGNORE_LOCAL=true HAB_ORIGIN=chef HAB_CACHE_KEY_PATH=$HAB_CACHE_KEY_PATH DO_CHECK=true hab studio run -D "hab pkg build src/$PACKAGE_NAME"
done
Expand Down Expand Up @@ -55,8 +55,8 @@ name_resolver() {
echo $(ls components/*$package_name*)
}

#bookshelf bifrost erchef id
for PACKAGE_NAME in nginx ; do
# bifrost erchef id nginx
for PACKAGE_NAME in bookshelf ; do
hart_file=$(ls results/*$PACKAGE_NAME*.hart)
echo "hab pkg install results/$hart_file"
HAB_FEAT_OFFLINE_INSTALL=true HAB_FEAT_IGNORE_LOCAL=true HAB_ORIGIN=chef HAB_CACHE_KEY_PATH=$RESOLVED_RESULTS_DIR DO_CHECK=true HAB_BLDR_CHANNEL=dev hab studio run -D "source .studiorc; set -e; hab pkg install $hart_file; hab pkg build components/$(name_resolver $PACKAGE_NAME)"
Expand Down

0 comments on commit 1d10d64

Please sign in to comment.