Skip to content
Snippets Groups Projects
Commit 177486e4 authored by GitBot's avatar GitBot
Browse files

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.
parent fe0cb9d1
No related branches found
No related tags found
1 merge request!551Integrate gitlab-ci/use-project-path-in-integration-branch-name
Subproject commit bd7025b8db711b2d956e94bb2d8f7daabb76b564
Subproject commit e943a55e90671b62f1d3bab789670a40584e784f
......@@ -4,11 +4,11 @@
# ---------------------------------------------------------------------------------------
include:
- project: '${CI_PROJECT_ROOT_NAMESPACE}/yocto/infrastructure/gitlab-ci'
ref: bd7025b8db711b2d956e94bb2d8f7daabb76b564
ref: e943a55e90671b62f1d3bab789670a40584e784f
file: 'manifest-integration.yml'
variables:
GITLAB_CI_REVISION: bd7025b8db711b2d956e94bb2d8f7daabb76b564
GITLAB_CI_REVISION: e943a55e90671b62f1d3bab789670a40584e784f
# FIXME: This is only necessary due to the following GitLab limitation:
# https://gitlab.com/gitlab-org/gitlab/-/issues/209904
# As soon as this gets fixed upstream, the hard-coded branch name should be removed.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment