Commit 45dd4182 authored by Dennis Gläser's avatar 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
......@@ -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..."
......
......@@ -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
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment