Page MenuHomePhabricator

Java projects hosted on Gerrit should publish artifacts to Gitlab
Closed, DuplicatePublic

Description

We have a number of Java projects hosted on Gerrrit that we don't want to migrate to Gitlab (at least not yet). It should be reasonably easy to modify the current CI jobs to publish to a Gitlab hosted package registry instead of Archiva.

Key points

AC

  • Java projects hosted on Gerrit have a CI job that published to a Gitlab package registry

Event Timeline

@brennen : Do you have an opinion on where to host artifacts coming from projects hosted on Gerrit? Does it make sense to create a project on Gitlab that would be dedicated to hosting artifacts generated outside of Gitlab?

@Gehel, would it be easier if projects are hosted in GitLab? We are planning on migrating the DE maintained ones. Perhaps then the CI artifact publishing would not be implemented twice (once for jenkins, and then again later for GitLab CI)?

@Gehel, would it be easier if projects are hosted in GitLab? We are planning on migrating the DE maintained ones. Perhaps then the CI artifact publishing would not be implemented twice (once for jenkins, and then again later for GitLab CI)?

At least the Search Platform team has no intentions of migrating to Gitlab. Gerrit workflow works much better for us. So while it would be easier to have all projects in Gitlab in terms of publication of artifacts, it comes with a fairly high cost in terms usability. It shouldn't be too hard to publish from Gerrit to Gitlab, so let's at least check how feasible it is.

Gehel triaged this task as Medium priority.Jul 22 2024, 1:45 PM

Do you have an opinion on where to host artifacts coming from projects hosted on Gerrit? Does it make sense to create a project on Gitlab that would be dedicated to hosting artifacts generated outside of Gitlab?

No strong opinion about location. It might be good to settle the question of whether packages should all get dropped into a single project (T367322#9987048) in general.