-
Krasimir Angelov authored
Some instances may have invalid (or missing) OpenID Connect signing key, which will break generating CI_JOB_JWT and as result break CI too - no jobs can be requested by and assigned to runners. Instead of exploding, catch and track exceptions and set the CI variable only when the JWT was generated successfully. Related to https://gitlab.com/gitlab-org/gitlab/-/issues/215902.
f07458a6