Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
1 merge request!2655[ci] Use api read token for read access
Pipeline #4740 canceled
Pipeline: dumux

#4743

    Pipeline: dumux

    #4742

      Pipeline: dumux

      #4741

        ...@@ -30,7 +30,7 @@ check-pipeline-status: ...@@ -30,7 +30,7 @@ check-pipeline-status:
        when: always when: always
        script: 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 \ --look-for HEAD \
        --print-format pipeline-id; then --print-format pipeline-id; then
        echo "No successful pipeline found. Triggering new pipeline..." echo "No successful pipeline found. Triggering new pipeline..."
        ......
        ...@@ -23,7 +23,7 @@ select tests: ...@@ -23,7 +23,7 @@ select tests:
        - | - |
        getLastSuccesful() { getLastSuccesful() {
        python3 .gitlab-ci/getpipelineinfo.py \ python3 .gitlab-ci/getpipelineinfo.py \
        --access-token $CI_JOB_TOKEN \ --access-token $CI_JOB_API_READ_TOKEN \
        --look-for latest \ --look-for latest \
        --print-format commit-sha --print-format commit-sha
        } }
        ......
        0% Loading or .
        You are about to add 0 people to the discussion. Proceed with caution.
        Finish editing this message first!
        Please register or to comment