Skip to content

Don't prepend `GITLAB_ELASTICSEARCH_INDEXER_VERSION` with `v` since it's now passed in upstream triggers

Don't prepend GITLAB_ELASTICSEARCH_INDEXER_VERSION with v since it's now passed in upstream triggers.

We recently added the GITLAB_ELASTICSEARCH_INDEXER_VERSION file in the CE and EE repos (e.g. https://gitlab.com/gitlab-org/gitlab-ee/blob/master/GITLAB_ELASTICSEARCH_INDEXER_VERSION.

That means we now pass this as a variable when triggering a pipeline in the CNG-mirror project with its content prepended with v, because of https://gitlab.com/gitlab-org/gitlab-ee/blob/8590dbe7334b9d2007bb371d11c4116479ac0efb/scripts/trigger-build#L154.

In turns, that means that the gitlab-elasticsearch-indexer Dockerfile should stop prepending v to the version, otherwise that results in the job failing, e.g. https://gitlab.com/gitlab-org/build/CNG-mirror/-/jobs/216985070.

Closes https://gitlab.com/gitlab-org/gitlab-ee/issues/11700.

Edited by Rémy Coutable

Merge request reports