You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if [ -z"$gitConnectionArn" ] && [ -z"$codeRepositoryName" ];then
168
+
return 0
169
+
else
170
+
return 1
171
+
fi
172
+
}
173
+
174
+
echo"Checking Project Storage Type"
175
+
176
+
if! is_non_git_storage;then
177
+
# Creating a directory where the repository will be cloned
178
+
mkdir -p "$HOME/src"
179
+
180
+
echo"Starting execution of Git Cloning script"
181
+
bash /etc/sagemaker-ui/git_clone.sh
182
+
183
+
# Setting up the Git identity for the user .
184
+
git config --global user.email "$email"
185
+
git config --global user.name "$username"
186
+
else
187
+
echo"Project is using Non-Git storage, skipping git repository setup and ~/src dir creation"
188
+
fi
170
189
171
190
# MLFlow tracking server uses the LOGNAME environment variable to track identity. Set the LOGNAME to the username of the user associated with the space
if [ -z"$gitConnectionArn" ] && [ -z"$codeRepositoryName" ];then
169
+
return 0
170
+
else
171
+
return 1
172
+
fi
173
+
}
174
+
175
+
echo"Checking Project Storage Type"
176
+
177
+
if! is_non_git_storage;then
178
+
# Creating a directory where the repository will be cloned
179
+
mkdir -p "$HOME/src"
180
+
181
+
echo"Starting execution of Git Cloning script"
182
+
bash /etc/sagemaker-ui/git_clone.sh
183
+
184
+
# Setting up the Git identity for the user .
185
+
git config --global user.email "$email"
186
+
git config --global user.name "$username"
187
+
else
188
+
echo"Project is using Non-Git storage, skipping git repository setup and ~/src dir creation"
189
+
fi
170
190
171
191
# MLFlow tracking server uses the LOGNAME environment variable to track identity. Set the LOGNAME to the username of the user associated with the space
0 commit comments