Page MenuHomePhabricator

Migrate existing Java packages to deploying to Gitlab, including new version of parent pom, validation that all dependencies are available, and validation that deployment to production still works
Open, MediumPublic8 Estimated Story Points

Description

Existing active projects need to be migrated to fetch dependencies from Gitlab and publish artifacts to Gitlab.

Parent pom might need some further adaptation as we discover the specificity of existing projects.

Some external dependencies might not be available from maven central, those need to be tracked and added at the project level.

For each project, we want to validate:

  • releases are created by CI and published to Gitlab
  • production deployment are working
Projects to migrate
Data Engineering Maintained Repos

(See also T368927: [Epic] Migrate Data Platform Engineering maintained git repos to GitLab)

Details

Related Changes in Gerrit:
Related Changes in GitLab:
TitleReferenceAuthorSource BranchDest Branch
Update gitlab-ci to use wmcs for more resourcerepos/data-engineering/patches/wmf-sparksqlclidriver!5joalupdate_cimain
Update gitlab-ci to use WMCS for more resourcerepos/data-engineering/hdfs-tools!3joalupdate_cimain
Add .gitlab-ci.yml and maven-wrapper propertiesrepos/data-engineering/hdfs-tools!2joaladd_cimain
Add .gitlab-ci.yml filerepos/data-engineering/patches/wmf-sparksqlclidriver!4joaladd_gitlab-cimain
Increase compatibility with projects hosted outside GitLabrepos/maven/wmf-jvm-parent-pom!24pfischerwmf-packagesmain
Use Maven CI/CD components.repos/data-engineering/gobblin-wmf!3pfischermaven-cimain
Migrate from https://gitlab.wikimedia.org/repos/maven/gerrit-artefactsrepos/wmf-packages!1pfischerpackage-importermain
Forge mvn.ymlrepos/maven/wmf-maven-ci!1pfischertinkermain
Add gitlab-ci script to populate project coordinatesrepos/maven/wmf-jvm-parent-pom!23pfischergitlab-ci-profilemain
Draft: CI: build java via child pipelinerepos/data-engineering/metrics-platform!87pfischermaven-cimain
CI: build java via child pipelinerepos/data-engineering/metrics-platform!86pfischermaven-cimain
Add release/deployment hint for Gerrit-hosted projectsrepos/maven/wmf-jvm-parent-pom!22pfischergerrit-artifactsmain
Add maven release capability to CI pipelinerepos/maven/wmf-jvm-parent-pom!21pfischergitlab-maven-releasemain
Show related patches Customize query in GitLab

Related Objects

Event Timeline

There are a very large number of changes, so older changes are hidden. Show Older Changes

Change #1145174 had a related patch set uploaded (by Peter Fischer; author: Peter Fischer):

[integration/config@master] assign maven-release job to search/wmf-jvm-utils

https://gerrit.wikimedia.org/r/1145174

Change #1145174 merged by jenkins-bot:

[integration/config@master] jjb: add maven-release job to search/wmf-jvm-utils

https://gerrit.wikimedia.org/r/1145174

Change #1146975 had a related patch set uploaded (by Peter Fischer; author: Peter Fischer):

[wmf-jvm-utils@master] Prepare POM for deployment to wmf-packages

https://gerrit.wikimedia.org/r/1146975

Change #1147003 had a related patch set uploaded (by Peter Fischer; author: Peter Fischer):

[integration/config@master] jjb: use local settings for all maven goals

https://gerrit.wikimedia.org/r/1147003

Change #1147003 merged by jenkins-bot:

[integration/config@master] jjb: use local settings for all maven goals

https://gerrit.wikimedia.org/r/1147003

Change #1147017 had a related patch set uploaded (by Hashar; author: Hashar):

[integration/config@master] Revert "jjb: use local settings for all maven goals"

https://gerrit.wikimedia.org/r/1147017

Change #1147017 merged by jenkins-bot:

[integration/config@master] Revert "jjb: use local settings for all maven goals"

https://gerrit.wikimedia.org/r/1147017

Change #1146975 merged by jenkins-bot:

[wmf-jvm-utils@master] Prepare POM for deployment to wmf-packages

https://gerrit.wikimedia.org/r/1146975

Change #1147771 had a related patch set uploaded (by Peter Fischer; author: Peter Fischer):

[analytics/refinery/source@master] Update parent POM

https://gerrit.wikimedia.org/r/1147771

Change #1147774 had a related patch set uploaded (by Peter Fischer; author: Peter Fischer):

[wikimedia-event-utilities@master] Update parent POM

https://gerrit.wikimedia.org/r/1147774

Change #1148277 had a related patch set uploaded (by Peter Fischer; author: Peter Fischer):

[wikidata/query/rdf@master] Update parent POM

https://gerrit.wikimedia.org/r/1148277

Change #1148304 had a related patch set uploaded (by Peter Fischer; author: Peter Fischer):

[wikidata/query/deploy@master] Use GitLab package registry to fetch dist archive

https://gerrit.wikimedia.org/r/1148304

Hey @pfischer , with regards to Gobblin-WMF we've migrated the project to GitLab and enabled the CI/CD release of package to the GitLab's Maven repository: https://gitlab.wikimedia.org/repos/data-engineering/gobblin-wmf

It'd be greatly appreciated if you'd take a look at the blubber.yaml and pom.xml files and ensure we're conforming to the new parent POM/release standards.

Change #1148793 had a related patch set uploaded (by Peter Fischer; author: Peter Fischer):

[search/extra@master] Deploy to central via Sonatype's Central Portal

https://gerrit.wikimedia.org/r/1148793

Change #1148794 had a related patch set uploaded (by Peter Fischer; author: Peter Fischer):

[search/extra-analysis@master] Deploy to central via Sonatype's Central Portal

https://gerrit.wikimedia.org/r/1148794

Change #1148817 had a related patch set uploaded (by Peter Fischer; author: Peter Fischer):

[search/glent@master] Update parent POM

https://gerrit.wikimedia.org/r/1148817

Change #1148821 had a related patch set uploaded (by Peter Fischer; author: Peter Fischer):

[search/highlighter@master] Deploy to central via Sonatype's Central Portal

https://gerrit.wikimedia.org/r/1148821

Change #1148277 merged by jenkins-bot:

[wikidata/query/rdf@master] Update parent POM

https://gerrit.wikimedia.org/r/1148277

Change #1148821 merged by jenkins-bot:

[search/highlighter@master] Deploy to central via Sonatype's Central Portal

https://gerrit.wikimedia.org/r/1148821

Change #1148793 merged by jenkins-bot:

[search/extra@master] Deploy to central via Sonatype's Central Portal

https://gerrit.wikimedia.org/r/1148793

Change #1148794 merged by jenkins-bot:

[search/extra-analysis@master] Deploy to central via Sonatype's Central Portal

https://gerrit.wikimedia.org/r/1148794

Change #1148817 merged by jenkins-bot:

[search/glent@master] Update parent POM

https://gerrit.wikimedia.org/r/1148817

Change #1147774 merged by jenkins-bot:

[wikimedia-event-utilities@master] Update parent POM

https://gerrit.wikimedia.org/r/1147774

Change #1148304 merged by DCausse:

[wikidata/query/deploy@master] Use GitLab package registry to fetch dist archive

https://gerrit.wikimedia.org/r/1148304

In order to migrate the refinery-source project, we need to update this script: https://github.com/wikimedia/analytics-refinery/blob/master/bin/update-refinery-source-jars#L101
I'll prioritize this so that this patch can be merged and applied: https://gerrit.wikimedia.org/r/c/analytics/refinery/source/+/1147771

Change #1178895 had a related patch set uploaded (by Joal; author: Joal):

[analytics/refinery@master] Update artifacts download script to use gitlab

https://gerrit.wikimedia.org/r/1178895

Change #1147771 merged by jenkins-bot:

[analytics/refinery/source@master] Update parent POM

https://gerrit.wikimedia.org/r/1147771

Change #1178895 merged by Joal:

[analytics/refinery@master] Update artifacts download script to use gitlab

https://gerrit.wikimedia.org/r/1178895

Change #1180854 had a related patch set uploaded (by Joal; author: Joal):

[analytics/refinery/source@master] Update project to release v0.3.0

https://gerrit.wikimedia.org/r/1180854

Change #1180854 merged by jenkins-bot:

[analytics/refinery/source@master] Update project to release v0.3.0

https://gerrit.wikimedia.org/r/1180854

As discussed, to finalise the migration of HDFS Tools, scap deploy must be adapted, @JAllemandou.

Change #1219678 had a related patch set uploaded (by Joal; author: Joal):

[analytics/hdfs-tools/deploy@master] Update README.md for hdfs-tools gitlab migration

https://gerrit.wikimedia.org/r/1219678

JAllemandou renamed this task from Migrate existing Java packages to deploying to Gitlab, including new version of parent pom, validation that all dependencies are available, and validation that deployment to production still works to Migrate existing Java packages to deploying to Gitlab, including new version of parent pom, validation that all dependencies are available, and validation that deployment to production still works.Dec 19 2025, 8:17 AM
JAllemandou updated the task description. (Show Details)
JAllemandou updated the task description. (Show Details)

Change #1219678 merged by Joal:

[analytics/hdfs-tools/deploy@master] Update README.md for hdfs-tools gitlab migration

https://gerrit.wikimedia.org/r/1219678

EBernhardson updated the task description. (Show Details)
EBernhardson subscribed.

We believe all search projects are complete.

as confirmed in Slack, MP java lib isn't being used in production and we haven't cut a release in a long time - i went ahead and merged the MR anyway so this ticket can be closed out -- we'll probably remove the Java lib and related infrastructure as part of some future cleanup
cc @KReid-WMF

@Gehel I see that Peter just merged https://gitlab.wikimedia.org/repos/data-engineering/patches/wmf-sparksqlclidriver/-/merge_requests/3 so I think the last checkbox in the data engineering list can be ticked.