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
Commits
3192824e
Commit
3192824e
authored
Jun 01, 2021
by
Timo Koch
Browse files
[ci] Use api read token for read access
parent
56a4ade7
Changes
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
3192824e
...
...
@@ -30,7 +30,7 @@ check-pipeline-status:
when
:
always
script
:
-
|
if ! python3 .gitlab-ci/getpipelineinfo.py --access-token $CI_JOB_TOKEN \
if ! python3 .gitlab-ci/getpipelineinfo.py --access-token $CI_JOB_
API_READ_
TOKEN \
--look-for HEAD \
--print-format pipeline-id; then
echo "No successful pipeline found. Triggering new pipeline..."
...
...
.gitlab-ci/default.yml
View file @
3192824e
...
...
@@ -23,7 +23,7 @@ select tests:
-
|
getLastSuccesful() {
python3 .gitlab-ci/getpipelineinfo.py \
--access-token $CI_JOB_TOKEN \
--access-token $CI_JOB_
API_READ_
TOKEN \
--look-for latest \
--print-format commit-sha
}
...
...
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