aboutsummaryrefslogtreecommitdiffstats
path: root/ci
diff options
context:
space:
mode:
Diffstat (limited to 'ci')
-rwxr-xr-xci/deploy.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/ci/deploy.sh b/ci/deploy.sh
index 5f258c80..8ad11663 100755
--- a/ci/deploy.sh
+++ b/ci/deploy.sh
@@ -15,6 +15,13 @@ make patches-import
# source local environment variables
if ! [ -z $LAB_CONFIG_URL ]; then
+ while getopts "l:p:" OPTION 2>/dev/null
+ do
+ case $OPTION in
+ l) TARGET_LAB=$OPTARG;;
+ p) TARGET_POD=$OPTARG;;
+ esac
+ done
local_env=${LAB_CONFIG_URL}/labs/${TARGET_LAB}/${TARGET_POD}/fuel/config/local_env
# try to fetch this file, but don't create it if it does not exist.
# We add "|| true" to ignore the curl error when the file does not exist