Browse Source
Merge pull request #39 from co63oc/patch-1
Update modelscope_env_init.sh
no code change, gated tests run not require.d
master^2
Yingda Chen
GitHub
3 years ago
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
docker/scripts/modelscope_env_init.sh
|
|
|
@@ -1,7 +1,7 @@ |
|
|
|
#!/bin/bash |
|
|
|
set -e |
|
|
|
set -o pipefail |
|
|
|
# chieck git is install |
|
|
|
# check git is install |
|
|
|
git --version >/dev/null 2>&1 || { echo 'git not installed' ; exit 0; } |
|
|
|
|
|
|
|
if [ -z "$MODELSCOPE_USERNAME" ] || [ -z "$MODELSCOPE_GITLAB_ACCESS_TOKEN" ]; then |
|
|
|
|