Dear Community,
As Gerrit Release Manager and Gerrit-CI maintainer, I must let you know about a security incident that happened on the 24th of January 2024; see the timeline of events and the details at [1].
Please read carefully the details of the incident and the actions that we have put in place to rotate all the secrets that could have been potentially compromised. Also, look at the actions we have put in place to make the CI more resilient to future incidents.
The most noteworthy step we are taking is the restriction of access to anonymous users: the main UI that all the contributors should see is the Gerrit, which also includes the status of the builds in the "Checks" tab of each change, we do not foresee any reason why anyone should need to navigate the Jenkins UI and calls its API if not coming from the Gerrit Checks tab links.
In a nutshell, these are the new restrictions to the https://gerrit-ci.gerritforge.com site:
With this upgrade, we have also moved the Gerrit build executions from Google Cloud / RBE (old Gerrit-CI) to new on-premises dedicated hardware for remote builds through BuildBuddy, see [4]. Alvaro has carried over the endeavour over the past few months and has demonstrated increased throughput, lower build verification latency, and higher stability; see the full report in [3].
I have performed a sanity check on the changes validations, and it is all working as expected: incoming changes are built and verified in around 5 minutes, which is over two times faster than before, thanks to the BuildBuddy RBE caching.
If you notice anything unusual or have any issues with the new setup, please feel free to answer this discussion thread.
Luca Milanesio
Gerrit Maintainer
Gerrit Release Manager
Gerrit CI Manager
[2] https://gerrit-review.googlesource.com/c/gerrit-ci-scripts/+/410726
[3] https://groups.google.com/g/repo-discuss/c/jQPgaKmaNQA/m/joX6z7JFAAAJ
