The Asia-Pac gerrit mirror is working great, even from California. My preliminary testing so far shows that the Asia-Pac mirror can transfer at more than 10x the throughput than the primary gerrit system; I’m guessing that the primary is being throttled, or maybe AWS just has a much faster network.
The commits merged on the primary gerrit seem to take around 10 seconds to show up in the Asia-Pac mirror. Thanks, Gary From: [email protected] [mailto:[email protected]] On Behalf Of Kenny Paul Sent: Wednesday, November 01, 2017 4:22 PM To: onap-release <[email protected]>; onap-tsc <[email protected]> Subject: [Onap-release] RESOLVED- APAC Gerrit mirror and proxy for docker, maven, and PyPi for ONAP The LF-IT team pulled out all the stops to get this delivered 2 days ahead of schedule. Please see the email from Andy below for information on accessing the newly deployed repo infrastructure in Singapore. Best Regards, -kenny Kenny Paul, Technical Program Manager [email protected]<mailto:[email protected]> 510.766.5945 ————— Begin forwarded message: From: Andrew Grimberg <[email protected]<mailto:[email protected]>> Date: November 1, 2017 at 3:29:24 PM PDT I've got the mirrors up and running for Nexus and Gerrit. Here is the information the community needs to make use of them: Gerrit / git mirror: To clone a project users need to do the following: git clone git://gerrit-mirror-ap.onap.org:/mirror/${the_project_path}.git<git://gerrit-mirror-ap.onap.org:/mirror/$%7bthe_project_path%7d.git> EXAMPLES for cloning ci-management the command would be: --[cut]-- git clone git://gerrit-mirror-ap.onap.org:/mirror/ci-management.git --[/cut]-- For aaf/authz it would be: --[cut]-- git clone git://gerrit-mirror-ap.onap.org:/mirror/aaf/authz.git --[/cut]-- If there is already a local clone from gerrit and the users just want to switch to the mirror, then they should do the following on their clone: --[cut]-- git remote set-url origin ${the_project_mirror_url} git remote set-url origin --push ${the_gerrit_project_url_they_had} --[/cut]-- If using the git-review plugin (as we recommend) users will need to make similar modifications replacing 'origin' with 'gerrit' Nexus 3 For the Nexus3 proxy users can simply replace any URLs for nexus3.onap.org<http://nexus3.onap.org> with nexus3ap.onap.org and it should "just work" when it comes to docker. NOTE: The Nexus system is a proxy, and not a mirror. The first time any resource is requested it will take about the same length of time as it does if the user is accessing our Nexus 2 or Nexus 3 system directly. Any subsequent requests for the object will be in the local cache and therefore much faster. Maven / PyPi The maven proxy requires that the global & local settings files be modified to point to the appropriate repositories on the system. The same thing also applies to the PyPi repos. (As the original request was just for the docker registry proxy, documentation on this will be forthcoming) -Andy- -- Andrew J Grimberg Lead, IT Release Engineering The Linux Foundation
_______________________________________________ ONAP-TSC mailing list [email protected] https://lists.onap.org/mailman/listinfo/onap-tsc
