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
Simon Spies
stdpp
Commits
a9a7cbd4
Commit
a9a7cbd4
authored
Oct 19, 2017
by
Ralf Jung
Browse files
fix build cache key; sync build system
parent
b5199648
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
a9a7cbd4
...
...
@@ -2,7 +2,7 @@ image: ralfjung/opam-ci:latest
stages
:
-
build
-
opam
-
deploy
variables
:
CPU_CORES
:
"
9"
...
...
@@ -21,7 +21,7 @@ variables:
-
'
cat
build-log.txt
|
egrep
"[a-zA-Z0-9_/-]+
\((real|user):
[0-9]"
|
tee
build-time.txt'
-
'
if
test
-n
"$VALIDATE"
&&
((
RANDOM
%
10
==
0
));
then
make
validate;
fi'
cache
:
key
:
"
coq.$COQ_VERSION
"
key
:
"
$CI_JOB_NAME
"
paths
:
-
opamroot/
only
:
...
...
@@ -29,10 +29,10 @@ variables:
-
/^ci/
opam
:
stage
:
opam
stage
:
deploy
script
:
# Send a trigger to the repository doing the work
-
curl --fail -X POST -F "token=$OPAM_UPDATE_SECRET" -F "ref=master" -F "variables[REPO]=$CI_PROJECT_URL.git" -F "variables[REF]=$CI_COMMIT_REF_NAME" -F "variables[SHA]=$CI_COMMIT_SHA" -F "variables[NAME]=$OPAM_PKG" https://gitlab.mpi-sws.org/api/v
3
/projects/581/trigger/
builds
-
curl --fail -X POST -F "token=$OPAM_UPDATE_SECRET" -F "ref=master" -F "variables[REPO]=$CI_PROJECT_URL.git" -F "variables[REF]=$CI_COMMIT_REF_NAME" -F "variables[SHA]=$CI_COMMIT_SHA" -F "variables[NAME]=$OPAM_PKG" https://gitlab.mpi-sws.org/api/v
4
/projects/581/trigger/
pipeline
variables
:
OPAM_PKG
:
"
coq-stdpp"
only
:
...
...
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