Skip to content
Snippets Groups Projects
Commit 6473cef6 authored by Andrea Michelotti's avatar Andrea Michelotti
Browse files

git clone

parent 7ba65f62
No related branches found
No related tags found
No related merge requests found
...@@ -117,6 +117,9 @@ spec: ...@@ -117,6 +117,9 @@ spec:
cd $mountdir cd $mountdir
id=`id` id=`id`
echo "ID: $id " echo "ID: $id "
if [ -d temp ];then
rm -rf temp
fi
if [ -n {{ .Values.gitRepoConfig.url }} ]; then if [ -n {{ .Values.gitRepoConfig.url }} ]; then
if [ -n "{{ .Values.gitRepoConfig.branch }}" ]; then if [ -n "{{ .Values.gitRepoConfig.branch }}" ]; then
git clone -b {{ .Values.gitRepoConfig.branch }} {{ .Values.gitRepoConfig.url }} --recurse-submodules temp git clone -b {{ .Values.gitRepoConfig.branch }} {{ .Values.gitRepoConfig.url }} --recurse-submodules temp
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment