Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dumux-repositories
dumux-lecture
Commits
6ac653ee
Commit
6ac653ee
authored
May 20, 2021
by
Dennis Gläser
Committed by
Dennis
May 25, 2021
Browse files
[ci] streamline logic between scripts
parent
8f2b4fe9
Changes
1
Show whitespace changes
Inline
Side-by-side
.gitlab-ci/default.yml
View file @
6ac653ee
...
...
@@ -23,9 +23,10 @@ select tests:
before_script
:
-
|
DUMUX_CLONE_BRANCH=master
if [[
-n
"$
{
DUMUX_
MR_SOURCE_BRANCH}
" ]]; then
DUMUX_CLONE_BRANCH=${DUMUX_MR_SOURCE_BRANCH}
if [[ "$DUMUX_
PIPELINE_SOURCE" == "merge_request_event
" ]]; then
echo "Starting pipeline triggered by upstream merge request event"
echo "Received upstream merge request branch ${DUMUX_MR_SOURCE_BRANCH}"
DUMUX_CLONE_BRANCH=${DUMUX_MR_SOURCE_BRANCH}
fi
-
echo "Checking out branch ${DUMUX_CLONE_BRANCH} in dumux"
-
git clone -b ${DUMUX_CLONE_BRANCH} --depth 1 https://git.iws.uni-stuttgart.de/dumux-repositories/dumux.git
...
...
Write
Preview
Supports
Markdown
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