Add stein to docs landing page

Include stein in the index page list. This also adds support for
a "future" status since validation was add/changed since the
start of the last cycle.

Change-Id: Ie1fc997c1f5f0f3c6af1d048fcc4b25a4608e70f
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
This commit is contained in:
Sean McGinnis 2018-07-30 12:26:35 -05:00
parent 97c8df5837
commit 22f923d104
No known key found for this signature in database
GPG Key ID: CE7EE4BFAF8D70C8
6 changed files with 19 additions and 1 deletions

View File

@ -1,4 +1,10 @@
---
- name: stein
status: future
initial-release: 2019-04-11
next-phase:
status: development
date: 2018-08-30
- name: rocky
status: development
initial-release: 2018-08-30

View File

@ -18,7 +18,7 @@
{%- for series in data %}
- * :doc:`{{ series['name'] }}/index`
* {{ phase_link(series['status']) }}
* {{ series['initial-release'] }} {%- if series['status'] == 'development' %} *estimated* :doc:`(schedule) <{{ series['name'] }}/schedule>`{%- endif %}
* {{ series['initial-release'] }} {%- if series['status'] in ['development', 'future'] %} *estimated* :doc:`(schedule) <{{ series['name'] }}/schedule>`{%- endif %}
* {% if series['next-phase'] %}{{ phase_link(series['next-phase']['status']) }} *estimated {{ series['next-phase']['date'] }}*{% endif %}
* {{ series.get('eol-date', '') }}
{%- endfor %}

View File

@ -108,6 +108,7 @@ properties:
stable-status:
type: "string"
enum:
- future
- development
- maintained
- extended maintenance

View File

@ -19,6 +19,7 @@ items:
status:
type: "string"
enum:
- future
- development
- maintained
- extended maintenance
@ -38,6 +39,7 @@ items:
status:
type: "string"
enum:
- future
- development
- maintained
- extended maintenance

View File

@ -25,6 +25,9 @@ from openstack_releases import yamlutils
class TestStableStatus(base.BaseTestCase):
_series_status_data = yamlutils.loads(textwrap.dedent('''
- name: stein
status: future
initial-release: 2019-04-11
- name: rocky
status: development
initial-release: 2018-08-30

View File

@ -27,6 +27,12 @@ from openstack_releases import yamlutils
class TestConstructSeriesStatus(base.BaseTestCase):
_body = textwrap.dedent('''
- name: stein
status: future
initial-release: 2019-04-11
next-phase:
status: development
date: 2018-08-30
- name: rocky
status: development
initial-release: 2018-08-30