Skip to content

Commit

Permalink
Move tox jobs to CentOS Stream 9 in rdo-jobs repo
Browse files Browse the repository at this point in the history
As part of the migration of automation jobs out of cs8 anc c7 because of
EOL we need to move jobs running in CS8 to CS9 nodes.

This patch is moving tox-linters and tox-docs to CS9 nodes.

pbr is not longer supporting build_sphinx so I am also moving out of pbr
to build docs in tox.ini.

Change-Id: I0dfedfb7d6c19c7f00f8c17af460f0c2c4b39d22
  • Loading branch information
amoralej authored and jcapiitao committed Apr 22, 2024
1 parent 96dc55a commit 66d6425
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 11 deletions.
3 changes: 1 addition & 2 deletions playbooks/rdo-tox-epel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
tasks:
- name: Hacks for EPEL
block:
- name: Install and enable EPEL for Centos-8
- name: Install and enable EPEL
become: true
shell: |
set -euox pipefail
Expand All @@ -16,5 +16,4 @@
name: re2-devel
state: present
when:
- ansible_distribution_major_version == "8"
- ansible_distribution == "CentOS"
6 changes: 0 additions & 6 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,3 @@ classifier =
License :: OSI Approved :: Apache Software License
Operating System :: POSIX :: Linux
Programming Language :: Python

[build_sphinx]
all-files = 1
warning-is-error = 1
source-dir = doc/source
build-dir = doc/build
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ passenv =
deps = -r{toxinidir}/test-requirements.txt

[testenv:docs]
commands = python setup.py build_sphinx
commands = sphinx-build -W -b html doc/source doc/build/html {posargs}

[testenv:venv]
commands = {posargs}
Expand Down
3 changes: 1 addition & 2 deletions zuul.d/projects.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@
check:
jobs:
- tox-docs: &cfg
nodeset: rdo-centos-8-stream
nodeset: rdo-centos-9-stream
pre-run:
- playbooks/rdo-tox-epel.yaml
- playbooks/pre-tox.yaml
- tox-linters: *cfg
- rdo-mol-container-login: &mol_container_login
files:
Expand Down

0 comments on commit 66d6425

Please sign in to comment.