Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion service.yaml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version: 10.1.14
version: 10.1.15
14 changes: 11 additions & 3 deletions start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,11 @@ if [ -d "$CLONE_DIR" ]; then
# Clean folder and clone a fresh copy on current directory
cd ..
rm -rf $CLONE_DIR
git_retry git clone $REPO $CLONE_DIR
if [ -n "$DEPTH" ]; then
git_retry git clone $REPO $CLONE_DIR --depth=$DEPTH
else
git_retry git clone $REPO $CLONE_DIR
fi
cd $CLONE_DIR

if [ -n "$REVISION" ]; then
Expand All @@ -149,9 +153,13 @@ if [ -d "$CLONE_DIR" ]; then
else

# Clone a fresh copy
git_retry git clone $REPO $CLONE_DIR
cd $CLONE_DIR
if [ -n "$DEPTH" ]; then
git_retry git clone $REPO $CLONE_DIR --depth=$DEPTH
else
git_retry git clone $REPO $CLONE_DIR
fi

cd $CLONE_DIR
if [ -n "$REVISION" ]; then
git checkout $REVISION
fi
Expand Down