Skip to content
Snippets Groups Projects

Support branch ref in external repo CI/CD configuration file

Merged Jochen Sprickerhof requested to merge jspricke/gitlab:ci_repo_ref into master

What does this MR do?

Gitlab supports setting the CI/CD configuration file to an external repo with: .gitlab-ci.yml@mygroup/another-project but does not support setting a branch ref as part of it, although it is supported in the include syntax. This MR adds support for it with .gitlab-ci.yml@mygroup/another-project:ref. I'm open for a different syntax.

Related issues

I assume this is is requested here as well: #14376 (comment 551820835).

Check-list

Pre-merge

Consider the effect of the changes in this merge request on the following:

I don't see a problem with any of those. The feature es there and this MR just exposes it in the web interface.

Post-merge

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
  • Fabio Pitino removed review request for @fabiopitino

    removed review request for @fabiopitino

  • added 1 commit

    • 00281d14 - Move external repo with ref to extra context

    Compare with previous version

  • added 1 commit

    • 39ef1354 - Refactor token extraction into method

    Compare with previous version

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading