Skip to content
Snippets Groups Projects
Commit 512dc155 authored by Emanuele Aina's avatar Emanuele Aina Committed by Andrej Shadura
Browse files

gitlab-rulez: Retrieve rules with auth


Downstreams usually require authentication to access their GitLab
instances, let's fix the retrieval of the ruleset in that case.

Signed-off-by: Emanuele Aina's avatarEmanuele Aina <emanuele.aina@collabora.com>
parent 2057f1a4
No related branches found
No related tags found
1 merge request!159gitlab-rulez: Make the rules retrieval easier to customize for downstreams
Pipeline #595715 passed
......@@ -542,7 +542,8 @@ trigger-gitlab-rulez:
gitlab-rulez
wget
script:
- wget $GITLAB_RULES_URL
- |
wget --header="JOB-TOKEN: $CI_JOB_TOKEN" $GITLAB_RULES_URL
- gitlab-rulez
--gitlab-server-url "${CI_SERVER_URL}"
--gitlab-api-token "${DASHBOARD_GITLAB_API_TOKEN}"
......
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