project-config/roles/check-release-approval
Thierry Carrez 7cf9ad4754 check-release-approval: retry once when Gerrit fails
We've had a number of occurrences where Gerrit failed to return a
complete JSON answer. In particular, the ['labels']['CodeReview']['all']
content is not provided, while the query requires o=DETAILED_LABELS.

Since this is a rare occurrence (which could not be reproduced on
manual testing) let's retry once to load the results from Gerrit.

Change-Id: I98d1010e9586d2329137d5d600c66eeb8343fa97
2020-02-18 15:20:59 +01:00
..
files check-release-approval: retry once when Gerrit fails 2020-02-18 15:20:59 +01:00
tasks Define check-release-approval executor job 2020-01-10 16:52:35 +01:00
README.rst Define check-release-approval executor job 2020-01-10 16:52:35 +01:00

README.rst

Query Gerrit on release requests, checking for approvals from the PTL or release liaison corresponding to the affected deliverable. Succeed if such approval is present, fail otherwise.

Role Variables

Gerrit change number. Should be something like: 696104

Directory containing the releases repository data.

Directory containing the governance repository data.