Handle RSA key issues when generating CI_JOB_JWT
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.
Showing
Please register or sign in to comment