From 5bfe83cd5a8b0fc907225db2702933622b9fc99e Mon Sep 17 00:00:00 2001 From: Ghanshyam Mann Date: Thu, 9 Jul 2020 15:47:37 -0500 Subject: [PATCH] migrate to victoria testing runtime As per victoria cycle testing runtime and community goal[1] we need to migrate upstream CI/CD to Ubuntu Focal(20.04) and Node.js 10. Also switch from oslosphinx to openstackdocstheme Depends-On: https://review.opendev.org/#/c/738328/ Story: #2007865 Task: #40212 [1] https://governance.openstack.org/tc/goals/selected/victoria/migrate-ci-cd-jobs-to-ubuntu-focal.html Change-Id: I7cfdfb11869ac90244561d34d1f4fdf26a5e8ad0 --- .zuul.yaml | 15 +++++++++++++-- bindep.txt | 4 ++-- doc/source/conf.py | 10 +++++++++- 3 files changed, 24 insertions(+), 5 deletions(-) diff --git a/.zuul.yaml b/.zuul.yaml index 682f2c3..94eaf9e 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -1,4 +1,15 @@ - project: templates: - - nodejs4-jobs - - nodejs4-docs + - nodejs10-jobs + check: + jobs: + - nodejs-npm-run-docs: + vars: + node_version: 10 + nodeset: ubuntu-focal + gate: + jobs: + - nodejs-npm-run-docs: + vars: + node_version: 10 + nodeset: ubuntu-focal diff --git a/bindep.txt b/bindep.txt index 413ec90..9aee9c1 100644 --- a/bindep.txt +++ b/bindep.txt @@ -1,5 +1,5 @@ # This is a cross-platform list tracking distribution packages needed by tests; # see http://docs.openstack.org/infra/bindep/ for additional information. -python-sphinx [platform:dpkg] -python-oslosphinx [platform:dpkg] +python-sphinx [platform:ubuntu-bionic] +python3-openstackdocstheme [platform:ubuntu-focal] diff --git a/doc/source/conf.py b/doc/source/conf.py index f886053..d8883a6 100755 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -23,13 +23,21 @@ sys.path.insert(0, os.path.abspath('../..')) extensions = [ 'sphinx.ext.autodoc', #'sphinx.ext.intersphinx', - 'oslosphinx' + 'openstackdocstheme' ] # autodoc generation is a bit aggressive and a nuisance when doing heavy # text edit cycles. # execute "export SPHINX_DEBUG=1" in your terminal to disable +# openstackdocstheme options +repository_name = 'openstack/eslint-config-openstack' +bug_project = 'eslint-config-openstack' +bug_tag = '' + +# Must set this variable to include year, month, day, hours, and minutes. +html_last_updated_fmt = '%Y-%m-%d %H:%M' + # The suffix of source filenames. source_suffix = '.rst'