Skip to content
Snippets Groups Projects
Unverified Commit 9b749357 authored by Andrej Shadura's avatar Andrej Shadura
Browse files

Only pass CI_JOB_TOKEN when using custom images.


Set image_needs_job_token when generating jobs and only pass
CI_JOB_TOKEN when it’s defined. This avoids having to work around
it when CI_JOB_TOKEN is not necessary and the job definition is used
e.g. with lava-submit/lqa which do not support "job" variable.

Signed-off-by: default avatarAndrej Shadura <andrew.shadura@collabora.co.uk>
parent 399c7339
Loading
Checking pipeline status
Loading
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