Skip to content

Possible conflicting droplet names for multiple MR of the same issue

Now that !271 (merged) we might bump into problems when we create multiple merge requests via the gitlab UI. If I create a MR from an issue with the Create merge request button it will create a branch named after the iusse name. i.e. #569 (closed) "Promtail leaves too many files open" -> branch name " * [new branch] 569-promtail-leaves-too-many-files-open

If you create another MR from the same issue, a new branch is created with the same name, but a -2 added, which would be '569-promtail-leaves-too-many-files-open-2'.

The truncate method introduced in !271 (merged) will just cut the characters to the right at a certain point, so the droplet names will be the same for both MR, resulting in a deployment on the same droplet.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information