Update groups maint script
Update the infra group maintenance script for the most recent governance projects.yaml changes. Change-Id: I7dffbcd4467572b2e99ed41cbee000baae2d332d
This commit is contained in:
parent
bf41610938
commit
4cafe31b17
@ -152,7 +152,9 @@ def main():
|
||||
gerrit = Gerrit(gconfig['url'], gconfig['username'], gconfig['password'])
|
||||
|
||||
pyaml = yaml.load(requests.get(PROJECTS_YAML, stream=True).raw)
|
||||
projects = [x['repo'] for x in pyaml['Infrastructure']['projects']]
|
||||
projects = []
|
||||
for deliverable in pyaml['Infrastructure']['deliverables'].values():
|
||||
projects += deliverable['repos']
|
||||
|
||||
core_groups = ['infra-core']
|
||||
for project in projects:
|
||||
|
Loading…
Reference in New Issue
Block a user