aboutsummaryrefslogtreecommitdiffstats
path: root/ci
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-08-17 21:34:15 +0200
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-08-17 21:44:16 +0200
commit3cfd144d08f78870cce11e89e7faf4a4da0fe376 (patch)
tree882c7dedfc7a7d93dc1825465d71a6c3c239cf14 /ci
parent55dabaa703f90f77cecb841a3b5c4ef64b205439 (diff)
ci/deploy.sh: Fix opt parse for local_env sourcing
Previously, we only accounted for the arguments we were interested in (l:lab, p:pod), which failed in case other (valid) arguments were passed first. Accept all arguments Fuel's <ci/deploy.sh> accepts, so lab/pod are read no matter where they are placed in the command string. Change-Id: I9125a5e70d19b7e1ca905b2572f3c8ceda13025b Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Diffstat (limited to 'ci')
-rwxr-xr-xci/deploy.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/deploy.sh b/ci/deploy.sh
index 1c95d401..b81e5c8c 100755
--- a/ci/deploy.sh
+++ b/ci/deploy.sh
@@ -18,7 +18,7 @@ make patches-import
# source local environment variables
if ! [ -z $LAB_CONFIG_URL ]; then
- while getopts "l:p:" OPTION 2>/dev/null
+ while getopts "b:B:dfFl:L:p:s:S:T:i:he" OPTION 2>/dev/null
do
case $OPTION in
l) TARGET_LAB=$OPTARG;;