Skip to content
Snippets Groups Projects

Fix/ci fork exec

Merged Grégoire Kubler requested to merge hrouis/gitlab_shared_files:fix/ci_fork_exec into main

Context

As of now CI couldn't work with forks. I have reworked the script

  1. search if a branch of given name exist for the official repo or the banch
  2. retrieve the project ID of chosen repo
  3. Retrieve the last successful job artifacts of chosen branch

This is a quick fix. more needs to be done, especially migrate these in a gitlab-ci repository because as of now I have been able to test this script on my branches by copy pasting the script in the gitla-ci.yaml which is sketchy

Modified files

shared_script.gitlab-ci.yml

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading