Add election_results to cycle data

The Jinja templates for formatting the election results expect an
'election_results' property to be loaded from the results yaml files to
generate election results.

There have been a few election cycles for PTLs now that have not needed
a election due to only having one candidate. In these cases, the yaml
files for the ptl results of those election cycles did not include the
empty 'election_results' property. This adds it to the missing data sets
to allow the docs job to pass.

Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
Change-Id: I759b06a6b977299873ec8ab1f7e727d8b7071518
This commit is contained in:
Sean McGinnis 2021-06-30 10:17:22 -05:00
parent eb546847c7
commit 270bb5c4a4
3 changed files with 6 additions and 0 deletions

View File

@ -336,6 +336,8 @@ candidates:
ircname: null
url: https://git.openstack.org/cgit/openstack/election/plain/candidates/ussuri/Zun/feng.shengqin%40zte.com.cn
election: ussuri
elections_results: {}
election_statistics: []
leaderless:
- Cyborg
- Designate

View File

@ -264,6 +264,8 @@ candidates:
ircname: ''
url: https://opendev.org/openstack/election/raw/branch/master/candidates/victoria/Zun/feng.shengqin%40zte.com.cn
election: victoria
elections_results: {}
election_statistics: []
leaderless:
- Congress
- Barbican

View File

@ -246,6 +246,8 @@ candidates:
ircname: ''
url: https://opendev.org/openstack/election/raw/branch/master/candidates/xena/Winstackers/lpetrut%40cloudbasesolutions.com
election: xena
elections_results: {}
election_statistics: []
leaderless:
- Zaqar
- Senlin