stx-init-env: remove -L option

Previous commit added a new option "--dockerhub-login/-L". Remove the
"-L" alias since we want to reserve it for future use.

TESTS
=======================
Run script with the new option and with/without --rebuild. Make sure
"docker login" is executed against the host docker daemon and minikube's
docker daemon.

Story: 2010055
Task: 48435

Signed-off-by: Davlet Panech <davlet.panech@windriver.com>
Change-Id: I06703f58e1598e35e53b12160743516ae7b20c14
This commit is contained in:
Davlet Panech 2023-07-21 10:47:32 -04:00
parent dead08978a
commit 0227d889de
1 changed files with 3 additions and 3 deletions

View File

@ -25,7 +25,7 @@ Initialize StarlingX build environment & (re-)start builder pods
docker source files and is meant for debugging
the build scripts.
-L,--dockerhub-login
--dockerhub-login
execute "docker login" prior to building or pulling builder
images
@ -101,7 +101,7 @@ cmdline_error() {
}
# process command line
temp=$(getopt -o hRL --long help,clean,restart-minikube,rebuild::,cache,nuke,dockerhub-login -n "$PROGNAME" -- "$@") || cmdline_error
temp=$(getopt -o hR --long help,clean,restart-minikube,rebuild::,cache,nuke,dockerhub-login -n "$PROGNAME" -- "$@") || cmdline_error
eval set -- "$temp"
while true ; do
case "$1" in
@ -145,7 +145,7 @@ while true ; do
DELETE_ENV=1
shift
;;
-L|--dockerhub-login)
--dockerhub-login)
DOCKERHUB_LOGIN=1
shift
;;