-
-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remote repository for repo.karuslabs.com #3115
Comments
The entire repo is really tiny (fits on a handful of floppy disks), so
I mentioned in #3108 (comment) doesn't matter. +1 from me. |
Seems fine, though have you asked the maintainers to just publish to Central? (I did not see any issue in their repo to that effect.) |
I have not. |
Why is this in the "not directly actionable by infra team" milestone? There is a clear action, described above in the Proposed Solution section of the ticket. |
Possibly because no one in the infra team has management access to artifactory as far as I'm aware, (although should be clarified when adding to that milestone on why) |
If the infrastructure team does not have management access to Artifactory, please move this ticket to the party that does have management access. |
@daniel-beck and @Wadeck I believe |
I made @dduportal an Artifactory admin several weeks ago. |
IIUC the proposal here is that https://repo.jenkins-ci.org/public/ would mirror these artifacts, so that we could drop the explicit |
The infra-team missed this issue during the last meeting, hence why it was "rotting" in the not-directly-actionable-by-infra-team milestone, sorry for that. I confirm that @daniel-beck gave me admin access to repo.jenkins-ci.org so we can work on this. The issue has been moved in the infra-team-sync-next mileston which mean we'll evaluate it during our next weekly team meeting (priority and team bandwidth). |
Gee, I wonder who might be doing that. But yes, this would be a breaking change that "they" would need to adapt to. Using |
Not necessarily. I was intentionally vague about which remote repository to allow for multiple solutions to be discussed. Indeed, a solution that uses the |
A new "remote repository" (e.g. a maven mirror) has been created: https://repo.jenkins-ci.org/artifactory/elementary-releases/ . This repository is available through the Please note that I did not have the time to test it myself: I'll probably do it in the upcoming days. It means that I'm not sure if it works but I wanted to let you know that it might. The issue will be updated once we'll have tested and confirmed it works. |
I've tried a stapler build locally without
|
I can reproduce locally. Checking the status |
Current status: https://repo.jenkins-ci.org/artifactory/elementary-releases/com/karuslabs/elementary/ shows folders, which are empty, and no maven metadata. The synchronisation most probably failed. Checking in JFrog UI. |
I don't understand why Artifactor is unable to mirror the remote repository:
I guess this sonatype instance is refusing requests from artifactory or there might be a specific setting that I'm not aware of. I'm out of options and knowledge: the available logs in our artifactory instance only shows either the 404 of that the syncronisation of |
@dduportal can you remove the remote registry please? it's no longer needed |
Done, remote repo removed from repo.jenkins-ci.org! I see that https://repo.jenkins-ci.org/artifactory/public/com/karuslabs/elementary/ is now available in /public but it only shows the 2.0.0: I guess stapler need an update in its dependencies? |
I updated stapler and removed the custom repository in jenkinsci/stapler#468 to use the new maven central version |
Corresponding exception removal from artifact caching proxy settings: jenkins-infra/jenkins-infra#2916 |
FTR, @basil did the same for lib-annotation-indexer (the only other repo with a dependency to Elementary) in jenkinsci/lib-annotation-indexer#70 (thanks!) |
Service(s)
Artifactory
Summary
Context
The Stapler and
lib-annotation-indexer
test suites originally used the Hickory library. That library has not been maintained in approximately a decade and no longer supports recent versions of Java, so in jenkinsci/stapler#394 and jenkinsci/lib-annotation-indexer#50 we migrated from Hickory to Elementary, a recently-developed annotation processor testing framework based on JUnit 5 and Java 11.Problem
In order to consume Elementary, the Stapler and
lib-annotation-indexer
builds have the following repository (per the README):This repository is less likely to have the redundancy and reliability of Maven Central. If, for some reason, it were to go down either temporarily or permanently (and my experience is that this is highly likely for smaller repositories), then we would no longer be able to build and test Stapler and
lib-annotation-indexer
, two Jenkins core components. Of course, we could remove Elementary and the corresponding tests, but this would decrease test coverage.Proposed Solution
Use Artifactory's "remote repository" feature to create a local mirror of this repository. That way, we insulate ourselves from potential failures on (or disappearance of) karuslabs.com by maintaining a local cache of the artifacts.
Note
I do not feel strongly about this request, and I am not sure if there are other considerations from the infrastructure team's perspective that would make this request undesirable or burdensome. Feel free to close this ticket if you do not feel that it is a good idea.
Reproduction steps
Block connections to
repo.karuslabs.com
in your firewall, then try to build Stapler without the benefit of a Maven cache. The Stapler build should fail to fetch the Elementary library.The text was updated successfully, but these errors were encountered: