ci/bin: Add script to expand jobs manifest
authorGuilherme Gallo <guilherme.gallo@collabora.com>
Thu, 28 Jul 2022 13:36:38 +0000 (10:36 -0300)
committerMarge Bot <emma+marge@anholt.net>
Wed, 3 Aug 2022 23:10:37 +0000 (23:10 +0000)
commit101697ceb3dcf15edc4e22d14900b18eb81ac986
tree16072c939b04be53c4ce65e67fd342b1eb846e74
parent39cdcea251c3a954862ba0048b304caa488b7de2
ci/bin: Add script to expand jobs manifest

Normally, Mesa devs bump into CI errors and need to replicate the CI job
environment locally, but that is not an easy task, since one needs to
find the merged YAML CI file from Gitlab interface.

As it can happen often, here is a script that use Gitlab's GraphQL and
finds all the variables set by it, alongside with the container image
used to run it and the script that it will run.

Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17791>
.gitlab-ci/bin/gitlab_gql.py
.gitlab-ci/bin/job_details.gql [new file with mode: 0644]
.gitlab-ci/bin/requirements.txt