Closed MarkEWaite closed 11 months ago
- Removed
jcenter-cache
andatlassian-cache
from bothAny Remote
andAnything
permissions scheme to ensure they cannot be reached anonymously (as such the outbound bandwidth should drastically decrease)Thanks very much. Should the same change be applied to
oss.sonatype.org-releases
since it also contains a copy of Apache Maven Central?
The repository oss.sonatype.org-releases
is no longer available anonymously: it requires authentication.
Update:
orphans
has been removed (in favor of adding filters in the jcenter-orphans
mirror repository - https://github.com/jenkins-infra/helpdesk/issues/3884
Service(s)
Artifactory
Summary
The data transfer volume from https://repo.jenkins-ci.org is still unexpectedly high. Log file analysis for a recent 5 day period shows that the top repositories based on the sum of the sizes of the requested files are:
JFrog has explained that even though we removed Apache Maven Central from the public repository, the contents of Apache Maven Central still exist as copies in the jcenter repository. We need to also remove the jcenter repository and the jcenter-cache repository from the definition of the public repository so that binaries from Apache Maven Central will be resolved from Apache Maven Central instead of being resolved from our repository.
When I had tried some initial experiments removing jcenter, several months ago, there were some cases where it appeared that we depend on artifacts that are only in jcenter and possibly only in our cache of jcenter. Unfortunately, my memory is weak and I cannot find any notes that reference that experiment.
I think that we should take the following steps:
com.jayway.jsonpath
groupId and all its packages from thejgit-cache
. The artifactory plugin build failure and the robot plugin build failure will be resolved by that exclusion. The comment from @basil includes more detailsweekly-test
configuration of the plugin bill of materialsweekly-test
configuration of the plugin bill of materialsReproduction steps
Steps that I took to analyze the requests:
select repo,sum(size_bytes)/1024/1024/1024 as SUM_GB from logs group by repo order by SUM_GB desc limit 10;