Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Jonas Kastberg
iris
Commits
d33f72fb
Commit
d33f72fb
authored
May 12, 2019
by
Ralf Jung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add script to build all reverse dependencies
parent
d0daa181
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
0 deletions
+35
-0
.gitignore
.gitignore
+1
-0
build-all
build-all
+34
-0
No files found.
.gitignore
View file @
d33f72fb
...
...
@@ -15,3 +15,4 @@ build-dep/
Makefile.coq
Makefile.coq.conf
*.crashcoqide
.env
build-all
0 → 100755
View file @
d33f72fb
#!/bin/bash
set
-eo
pipefail
# A script to build Iris' reverse-dependencies (the one that usually get built every night against Iris master)
# against a branch of your choice.
# Set the GITLAB_TOKEN environment variable to a GitLab access token.
# Set at least one of IRIS_REV or STDPP_REV to control which branches of these projects to build against
# (default to `master`).
if
[[
-z
"
$GITLAB_TOKEN
"
]]
;
then
echo
"You need to set the GITLAB_TOKEN environment variable to a GitLab access token."
echo
"You can create such tokens at <https://gitlab.mpi-sws.org/profile/personal_access_tokens>."
echo
"Make sure you grant access to the 'api' scope."
exit
1
fi
IRIS_REV
=
${
IRIS_REV
:-
master
}
STDPP_REV
=
${
STDPP_REV
:-
master
}
curl
--fail
-sS
-X
POST https://gitlab.mpi-sws.org/api/v4/projects/iris%2Flambda-rust/pipeline
\
--header
"PRIVATE-TOKEN:
$GITLAB_TOKEN
"
\
--header
"Content-Type: application/json"
\
--data
'{ "ref": "master", "variables": [ {"key": "STDPP_REV", "value": "'
"
$STDPP_REV
"
'"}, {"key": "IRIS_REV", "value": "'
"
$IRIS_REV
"
'"} ] }'
echo
curl
--fail
-sS
-X
POST https://gitlab.mpi-sws.org/api/v4/projects/iris%2Flambda-rust/pipeline
\
--header
"PRIVATE-TOKEN:
$GITLAB_TOKEN
"
\
--header
"Content-Type: application/json"
\
--data
'{ "ref": "ci/weak_mem", "variables": [ {"key": "STDPP_REV", "value": "'
"
$STDPP_REV
"
'"}, {"key": "IRIS_REV", "value": "'
"
$IRIS_REV
"
'"}, {"key": "ORC11_REV", "value": "master"}, {"key": "GPFSL_REV", "value": "master"} ] }'
echo
curl
--fail
-sS
-X
POST https://gitlab.mpi-sws.org/api/v4/projects/iris%2Firon/pipeline
\
--header
"PRIVATE-TOKEN:
$GITLAB_TOKEN
"
\
--header
"Content-Type: application/json"
\
--data
'{ "ref": "master", "variables": [ {"key": "STDPP_REV", "value": "'
"
$STDPP_REV
"
'"}, {"key": "IRIS_REV", "value": "'
"
$IRIS_REV
"
'"} ] }'
echo
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