Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test 123 #87

Closed
wants to merge 37 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
2b7ca7a
add --depth=$DEPTH
eti-codefresh Aug 26, 2024
ea61ac2
bump
eti-codefresh Aug 26, 2024
59fd3e7
test2
eti-codefresh Aug 28, 2024
ccebd4a
test3
eti-codefresh Aug 29, 2024
dd7febe
test4
eti-codefresh Aug 29, 2024
ed4e4e8
test5
eti-codefresh Aug 29, 2024
47189ea
test6
eti-codefresh Aug 29, 2024
fd13aea
test7
eti-codefresh Aug 29, 2024
9bd1282
test8
eti-codefresh Aug 29, 2024
a4fdd44
test9
eti-codefresh Aug 29, 2024
bd7264a
test10
eti-codefresh Aug 29, 2024
1930769
test11
eti-codefresh Aug 29, 2024
209d664
test12
eti-codefresh Aug 29, 2024
ce1ec84
test13
eti-codefresh Aug 29, 2024
f181fb8
lint
eti-codefresh Sep 1, 2024
7f8ed9a
add SKIP_TAGS_ON_UPDATE
eti-codefresh Sep 2, 2024
773e7d4
update cmd
eti-codefresh Sep 2, 2024
1359bda
update cmd with depth
eti-codefresh Sep 2, 2024
65165f3
update cmd with depth
eti-codefresh Sep 2, 2024
a83ee5d
${REVISION:+$REVISION}
eti-codefresh Sep 2, 2024
1b87da4
lint
eti-codefresh Sep 2, 2024
fa6f3f0
add comment
eti-codefresh Sep 2, 2024
b0041e2
git fetch --tags
eti-codefresh Sep 2, 2024
5124cd8
git fetch --tags
eti-codefresh Sep 2, 2024
f7fea10
git_retry git fetch --tags
eti-codefresh Sep 2, 2024
9f1ea54
git_retry git fetch origin --tags --prune "+refs/tags/*:refs/tags/*"
eti-codefresh Sep 2, 2024
88eb361
remove --prune
eti-codefresh Sep 3, 2024
f02cc87
add ${DEPTH:+ --depth=$DEPTH}
eti-codefresh Sep 3, 2024
d3555be
add logs
eti-codefresh Sep 10, 2024
1bfb56b
Merge branch 'master' into CR-25021-1
eti-codefresh Sep 10, 2024
c986adc
bump
eti-codefresh Sep 10, 2024
756c08e
lint
eti-codefresh Sep 10, 2024
45f222b
add more logs
eti-codefresh Sep 10, 2024
25b7ece
test with REVISION
eti-codefresh Sep 15, 2024
b0755ad
fix fetch cmd
eti-codefresh Sep 16, 2024
fd758ab
test
eti-codefresh Sep 16, 2024
9a57285
test old main
eti-codefresh Sep 16, 2024
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.29
version: 10.1.30
13 changes: 4 additions & 9 deletions start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -198,15 +198,10 @@ if [ -d "$CLONE_DIR" ]; then
git clean -df
git gc --force
git_retry git remote prune origin
git_retry git fetch origin --tags --prune "+refs/tags/*:refs/tags/*"

if [ -n "$SKIP_TAGS_ON_UPDATE" ]; then
echo "Fetching updates from origin${DEPTH:+ with depth $DEPTH}, skipping tags"
git_retry git fetch origin ${REVISION:+$REVISION} --no-tags ${DEPTH:+ --depth=$DEPTH}
else
echo "Fetching updates from origin"
git_retry git fetch origin --tags --prune "+refs/tags/*:refs/tags/*" ${DEPTH:+ --depth=$DEPTH}
fi

echo "Fetching the updates from origin"
git_retry git fetch --tags
git remote set-head origin --auto

if [ -n "$REVISION" ]; then
Expand All @@ -218,7 +213,7 @@ if [ -d "$CLONE_DIR" ]; then

# If the revision is identical to the current branch we can just reset it to the latest changes. This isn't needed when running detached
if [ "$REVISION" == "$CURRENT_BRANCH" ]; then
echo "Resetting current branch $REVISION to latest changes..."
echo 'Resetting current branch $REVISION to latest changes...'
git reset --hard origin/$REVISION
fi
fi
Expand Down
Loading