Publish apilint on maven.mozilla.org
Categories
(GeckoView :: General, enhancement, P3)
Tracking
(Not tracked)
People
(Reporter: agi, Unassigned)
References
Details
We cannot publish on jcenter anymore so we need to find a new home for apilint.
Comment 1•4 years ago
|
||
We've been chatting about this in the past few days.
The right solution:
- add Taskcluster integration to the repository generating this artifact - depending on the complexity of that, it may be a slower process (< 1 month of work)
- ask help from CloudOps team to upload these manually since they own the S3 infrastructure account
- we've hit this for Glean as well and since the releases were infrequent (every 2-3 weeks), I wrote https://github.com/MihaiTabara/beetmove-telemetry/ to help with that until we added automation
- we may be able to resurrect that repository and do the same for apilint, before we can find a more suited solution
CloudOps generated credentials for us, which I've added to RelEng's internal SOPS.
Comment 2•4 years ago
|
||
Sample of what the glean releases used to look like - https://github.com/mozilla/glean/releases/download/v31.1.0/glean-v31.1.0.zip.
Agi agreed to create something similar to ease the transition to use with beetmove-telemetry
Comment 3•4 years ago
|
||
Aki is taking over the Releng side on this. I believe what's next is:
- Agi to provide us a zip similar to the one from glean, so that we can try reusing the old logic
- we updated https://github.com/MihaiTabara/beetmove-telemetry/blob/master/script.py#L17 to point to
apilint
instead, depending on what packages we have in the final zip (I looked at some preliminary archive from agi and it's quite similar so far) - credentials for both staging/prod are in releng sops repo (if there are issues, @jbuck/thealy can help there)
- run the script and publish
For the long-term solution, we'll think of something else but this should buy some time in H2 to fix this.
Updated•4 years ago
|
Reporter | ||
Comment 4•3 years ago
•
|
||
Sorry it took so long. I finally have a publishing automation set up, the archive is maven.zip
at https://github.com/mozilla-mobile/gradle-apilint/releases/tag/0.5
Let me know if the archive needs any modifications!
Comment 5•3 years ago
|
||
I am partway through hacking beetmove-telemetry, and I realized I don't know what path to publish it to.
Should I create a new subdirectory under https://maven.mozilla.org/?prefix=maven2/org/mozilla/ ? Or something under geckoview/ ?
Once I get a plausible path I'll resume testing.
Reporter | ||
Comment 6•3 years ago
|
||
The artifacts should be under org/mozilla/apilint/apidoc-plugin
. I think we created apilint
here: https://bugzilla.mozilla.org/show_bug.cgi?id=1726392
Comment 7•3 years ago
|
||
Description
•