Commit 177469c9 authored by Administrator's avatar Administrator
Browse files

Hardcode upstream repository

parent 60d7fa1d
Pipeline #11089 failed with stages
in 32 seconds
......@@ -15,7 +15,7 @@ RebaseCheck:
# Check if a rebase is needed
# If a rebase is needed stop immediately
- apk update && apk add git bash
- scripts/connect_upstream_repo.sh $CI_MERGE_REQUEST_PROJECT_URL
- scripts/connect_upstream_repo.sh https://git.cbm.gsi.de/computing/cbmroot
- git fetch upstream
- hash1=$(git show-ref upstream/master | cut -f1 -d' ')
- hash2=$(git merge-base upstream/master HEAD)
......@@ -43,7 +43,7 @@ LinearHistCheck:
# Check if the history introduced by the MR is linear (no branch loop in fork)
# If not linear stop immediately
- apk update && apk add git bash
- scripts/connect_upstream_repo.sh $CI_MERGE_REQUEST_PROJECT_URL
- scripts/connect_upstream_repo.sh https://git.cbm.gsi.de/computing/cbmroot
- git fetch upstream
- count=$(git rev-list --min-parents=2 --count upstream/master..HEAD)
- echo "${count}"
......@@ -65,7 +65,7 @@ FileFormatCheck:
# Get the upstream repository manually. I did not find any other way to have it for
# comparison
- apk update && apk add git bash file
- scripts/connect_upstream_repo.sh $CI_MERGE_REQUEST_PROJECT_URL
- scripts/connect_upstream_repo.sh https://git.cbm.gsi.de/computing/cbmroot
- git fetch upstream
- scripts/check-file-format.sh upstream
......@@ -78,7 +78,7 @@ FileEndCheck:
# Get the upstream repository manually. I did not find any other way to have it for
# comparison
- apk update && apk add git bash file
- scripts/connect_upstream_repo.sh $CI_MERGE_REQUEST_PROJECT_URL
- scripts/connect_upstream_repo.sh https://git.cbm.gsi.de/computing/cbmroot
- git fetch upstream
- scripts/check-file-ending.sh upstream
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment