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
45dd4182
Commit
45dd4182
authored
Jun 01, 2021
by
Dennis Gläser
Browse files
Merge branch 'feature/ci-api-access' into 'master'
[ci] Use api read token for read access See merge request
!2655
parents
56a4ade7
3192824e
Changes
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
45dd4182
...
...
@@ -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 @
45dd4182
...
...
@@ -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
}
...
...
Dennis Gläser
@DennisGlaeser
mentioned in commit
a7f0fa48
·
Jun 02, 2021
mentioned in commit
a7f0fa48
mentioned in commit a7f0fa48b46687ac3cae8e075265ed9cfc9a7e07
Toggle commit list
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