Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Florian Uhlig
cbmroot
Commits
177469c9
Commit
177469c9
authored
Jun 16, 2021
by
Administrator
Browse files
Hardcode upstream repository
parent
60d7fa1d
Pipeline
#11089
failed with stages
in 32 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
.gitlab-ci.yml
.gitlab-ci.yml
+4
-4
No files found.
.gitlab-ci.yml
View file @
177469c9
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment