Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Open Subsurface Data Universe Software
Platform
CI-CD Pipelines
Commits
ce69bca6
Commit
ce69bca6
authored
Apr 20, 2020
by
David Diederich
Browse files
Create the repository directory, so that runners on a fresh instance don't fail out
parent
36d12049
Changes
1
Hide whitespace changes
Inline
Side-by-side
gitlab-ultimate.gitlab-ci.yml
View file @
ce69bca6
...
...
@@ -20,7 +20,7 @@ include:
# We need to make sure both directories exist, then we can copy files over
# Since it is a separate volume, mv offers no advantages. tar | tar, plus rm, is the fastest execution
before_script
:
-
mkdir -p ~/.m2 $CI_PROJECT_DIR/.m2
-
mkdir -p ~/.m2 $CI_PROJECT_DIR/.m2
/repository
-
tar -cC $CI_PROJECT_DIR/.m2 repository | tar -xC ~/.m2
-
rm -rf $CI_PROJECT_DIR/.m2/repository
...
...
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