Skip to content
Snippets Groups Projects

Integrate gitlab-ci/use-project-path-in-integration-branch-name

Commit: seco-ne/yocto/infrastructure/gitlab-ci@e943a55e

Use project path instead of name in integration branch name

Usually project name and path are identical after project creation. It is possible, though, to change the name of a project without changing its path. When triggering a pipeline on the integration branch, we are using the CI_PROJECT_NAME variable to reference the project. Unexpectedly, this variable contains the path, not the name of the project (see https://gitlab.com/gitlab-org/gitlab/-/issues/20030). Hence we have to use the project path in all other places where the integration branch name is constructed in our Python code.

Merge request reports

Merge request pipeline #57320 passed

Merge request pipeline passed for 01e34f8e

Approval is optional

Merged by GitBotGitBot 2 years ago (Mar 21, 2023 12:15pm UTC)

Merge details

  • Changes merged into master with 01e34f8e.
  • Deleted the source branch.

Pipeline #57321 passed

Pipeline passed for 01e34f8e on master

Activity

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