diff options
author | Nejc Habjan <hab.nejc@gmail.com> | 2020-03-21 17:45:45 -0400 |
---|---|---|
committer | Nejc Habjan <hab.nejc@gmail.com> | 2020-03-21 18:57:43 -0400 |
commit | 6e80723e5fa00e8b870ec25d1cb2484d4b5816ca (patch) | |
tree | 88fd939b81a1342b89854af03177e0699093a9f8 /tools | |
parent | 82deb7dbe261c4b42a9c45a5b85a2c767f3a8218 (diff) | |
download | gitlab-6e80723e5fa00e8b870ec25d1cb2484d4b5816ca.tar.gz |
chore: remove references to python2 in test env
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/build_test_env.sh | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/tools/build_test_env.sh b/tools/build_test_env.sh index 7468a9a..3885c3f 100755 --- a/tools/build_test_env.sh +++ b/tools/build_test_env.sh @@ -27,15 +27,14 @@ try() { "$@" || fatal "'$@' failed"; } REUSE_CONTAINER= NOVENV= -PY_VER=3 API_VER=4 GITLAB_IMAGE="gitlab/gitlab-ce" GITLAB_TAG="latest" +VENV_CMD="python3 -m venv" while getopts :knp:a: opt "$@"; do case $opt in k) REUSE_CONTAINER=1;; n) NOVENV=1;; - p) PY_VER=$OPTARG;; a) API_VER=$OPTARG;; t) GITLAB_TAG=$OPTARG;; :) fatal "Option -${OPTARG} requires a value";; @@ -44,12 +43,6 @@ while getopts :knp:a: opt "$@"; do esac done -case $PY_VER in - 2) VENV_CMD=virtualenv;; - 3) VENV_CMD="python3 -m venv";; - *) fatal "Wrong python version (2 or 3)";; -esac - case $API_VER in 4) ;; *) fatal "Wrong API version (4 only)";; |