Skip to content
Snippets Groups Projects
Commit 8af295c6 authored by Maurice Zimmnau's avatar Maurice Zimmnau
Browse files

Test without fetch and sha requests

parent 9d261ddb
No related branches found
No related tags found
No related merge requests found
Pipeline #1626056 failed
......@@ -51,10 +51,10 @@ setup-integration-test:
## Detect modified tool
# Ensure full history is available
- git fetch --unshallow || echo "Repository already has full history"
# - git fetch --unshallow || echo "Repository already has full history"
# Safely handle missing CI_COMMIT_BEFORE_SHA
- if [ -z "$CI_COMMIT_BEFORE_SHA" ] || ! git rev-parse "$CI_COMMIT_BEFORE_SHA" >/dev/null 2>&1; then echo "Previous commit SHA is not available. Using HEAD~1 for comparison."; CI_COMMIT_BEFORE_SHA=$(git rev-parse HEAD~1); fi
# # Safely handle missing CI_COMMIT_BEFORE_SHA
# - if [ -z "$CI_COMMIT_BEFORE_SHA" ] || ! git rev-parse "$CI_COMMIT_BEFORE_SHA" >/dev/null 2>&1; then echo "Previous commit SHA is not available. Using HEAD~1 for comparison."; CI_COMMIT_BEFORE_SHA=$(git rev-parse HEAD~1); fi
# List all changed folders
- CHANGED_FOLDERS=$(git diff --name-only $CI_COMMIT_BEFORE_SHA $CI_COMMIT_SHA | awk -F'/' '{print $1}' | sort | uniq)
......
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