From 9e393954efb655110b6b82a7ad99b3c1f86ca8c1 Mon Sep 17 00:00:00 2001 From: Kallol Roy Date: Tue, 15 Oct 2024 21:45:28 +0530 Subject: [PATCH] Passing GOPROXY env variable as part of hab studio Signed-off-by: Kallol Roy --- .expeditor/automate_build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.expeditor/automate_build.sh b/.expeditor/automate_build.sh index 4daea8e9b7..040ba5536d 100755 --- a/.expeditor/automate_build.sh +++ b/.expeditor/automate_build.sh @@ -64,7 +64,7 @@ HAB_FEAT_OFFLINE_INSTALL=true HAB_FEAT_IGNORE_LOCAL=false HAB_ORIGIN=chef HAB_CA HAB_FEAT_OFFLINE_INSTALL=true HAB_FEAT_IGNORE_LOCAL=false HAB_ORIGIN=chef HAB_CACHE_KEY_PATH="$JOB_TEMP_ROOT/keys" DO_CHECK=true HAB_BLDR_CHANNEL=dev hab studio run -D "set -e; hab pkg install $bifrost_hart; hab pkg build components/automate-cs-oc-bifrost" -# HAB_FEAT_OFFLINE_INSTALL=true HAB_FEAT_IGNORE_LOCAL=false HAB_ORIGIN=chef HAB_CACHE_KEY_PATH="$JOB_TEMP_ROOT/keys" DO_CHECK=true HAB_BLDR_CHANNEL=dev hab studio run -D "set -e; hab pkg install $erchef_hart; hab pkg build components/automate-cs-oc-erchef" +HAB_FEAT_OFFLINE_INSTALL=true HAB_FEAT_IGNORE_LOCAL=false HAB_ORIGIN=chef HAB_CACHE_KEY_PATH="$JOB_TEMP_ROOT/keys" DO_CHECK=true HAB_BLDR_CHANNEL=dev GOPROXY="https://proxy.golang.org,direct " GOSUMDB="sum.golang.org" hab studio run -D "set -e; echo $GOPROXY; echo $GOSUMDB; hab pkg install $erchef_hart; hab pkg build components/automate-cs-oc-erchef" HAB_FEAT_OFFLINE_INSTALL=true HAB_FEAT_IGNORE_LOCAL=false HAB_ORIGIN=chef HAB_CACHE_KEY_PATH="$JOB_TEMP_ROOT/keys" DO_CHECK=true HAB_BLDR_CHANNEL=dev hab studio run -D "set -e; hab pkg install $oc_id; hab pkg build components/automate-cs-ocid"