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
All threads resolved!

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
  • added 1 commit

    • 5a194f66 - feat : automated retrieval of USER_ID

    Compare with previous version

  • Cyril Moineau resolved all threads

    resolved all threads

  • Cyril Moineau added 1 commit

    added 1 commit

    Compare with previous version

  • Cyril Moineau resolved all threads

    resolved all threads

  • merged

  • Cyril Moineau mentioned in commit ea0b2484

    mentioned in commit ea0b2484

  • Please register or sign in to reply
    Loading