CI didn't work in a Self Hosted instance, unable to create a release

Summary

CI jobs that that use curl to make calls on $CI_API_V4_URL are failing on a mirrored repo in our gitlab self hosted instance.

Steps to reproduce

  • Import the project on a Self Hosted instance
  • Enable mirroring on the project
  • Run a pipeline for the latest created tag

Example Project

N/A

What is the current bug behavior?

Following jobs are failling :

  • check_license
  • ensure_job_added: check_license
  • ensure_job_added: check_readme
  • ensure_job_added: multi word
  • ensure_job_added: multi word job
  • ensure_job_not_added: excluded job

What is the expected correct behavior?

All CI steps should complete without errors

Relevant logs and/or screenshots

image

Possible fixes

Use the $CI_JOB_TOKEN in curl calls. Maybe not sufficient for all HTTP calls ?

Assignee Loading
Time tracking Loading