Skip to content

Draft: group-package-centric-tpl: pass CI_JOB_TOKEN as curl header to retrieve gitlab artifacts

Dylan Aïssi requested to merge wip/daissi/AT10253 into apertis/v2025dev1

group-package-centric-tpl doesn't work for private gitlab project. This MR is an attempt to fix it.

The LAVA job needs to retrieve gitlab artifacts using gitlab ci token defined from a still running gitlab job otherwise the token is no longer valid. To fix this issue, we use the ci token from the gitlab job monitoring the lava job (because it is the only one still running) and then we pass the token as an header to the curl request during the lava job.

https://phabricator.apertis.org/T10253

Merge request reports