|
68 | 68 | # pin tox <4 for stable branches testing (<=(stable|unmaintained)/zed). |
69 | 69 | ensure_tox_version: '<4' |
70 | 70 |
|
| 71 | +- job: |
| 72 | + name: openstack-tox-cover |
| 73 | + parent: tox-cover |
| 74 | + description: | |
| 75 | + Run code coverage tests. |
| 76 | +
|
| 77 | + Uses tox with the ``cover`` environment. |
| 78 | + nodeset: ubuntu-noble |
| 79 | + branches: |
| 80 | + regex: ^.*/(victoria|wallaby|xena|yoga|zed|2023.1|2023.2|2024.1|2024.2)$ |
| 81 | + negate: true |
| 82 | + required-projects: |
| 83 | + - name: openstack/requirements |
| 84 | + irrelevant-files: *common-irrelevant-files |
| 85 | + vars: |
| 86 | + tox_constraints_file: '{{ ansible_user_dir }}/src/github.com/stackhpc/requirements/upper-constraints.txt' |
| 87 | + timeout: 3000 |
| 88 | + |
| 89 | +- job: |
| 90 | + name: openstack-tox-docs |
| 91 | + parent: opendev-tox-docs |
| 92 | + nodeset: ubuntu-noble |
| 93 | + description: | |
| 94 | + Run documentation build. |
| 95 | +
|
| 96 | + Uses tox with the ``docs`` environment. |
| 97 | +
|
| 98 | + .. zuul:jobvar: tox_envlist |
| 99 | +
|
| 100 | + The tox environment for building HTML, default is ``docs``. |
| 101 | +
|
| 102 | + .. zuul:jobvar: tox_pdf_envlist |
| 103 | +
|
| 104 | + The tox environment for building PDF, default is ``pdf-docs``. |
| 105 | + If this environment does not exist, no PDF building is done. |
| 106 | +
|
| 107 | + .. zuul:jobvar: tox_skip_pdf |
| 108 | +
|
| 109 | + Whether to skip building of PDF documents. By default a PDF |
| 110 | + file is build if the tox environment specified by |
| 111 | + :zuul:jobvar:`tox_pdf_envlist` exists. |
| 112 | +
|
| 113 | + branches: |
| 114 | + regex: ^stable/(victoria|wallaby|xena|yoga|zed|2023.1|2023.2|2024.1|2024.2)$ |
| 115 | + negate: true |
| 116 | + required-projects: |
| 117 | + - name: openstack/requirements |
| 118 | + vars: |
| 119 | + tox_constraints_file: '{{ ansible_user_dir }}/src/github.com/stackhpc/requirements/upper-constraints.txt' |
| 120 | + bindep_profile: compile test doc |
| 121 | + tox_envlist: docs |
| 122 | + tox_pdf_envlist: pdf-docs |
| 123 | + tox_skip_pdf: false |
| 124 | + # TODO(frickler): drop this again when latest tox is unbroken |
| 125 | + ensure_tox_version: '<4.48' |
| 126 | + # PDF Building is only done from stein onwards. |
| 127 | + pre-run: playbooks/tox-docs/pre.yaml |
| 128 | + run: playbooks/tox-docs/run.yaml |
| 129 | + |
| 130 | + |
| 131 | +- job: |
| 132 | + name: openstack-tox-docs |
| 133 | + parent: opendev-tox-docs |
| 134 | + nodeset: ubuntu-jammy |
| 135 | + description: | |
| 136 | + Run documentation build. |
| 137 | +
|
| 138 | + Uses tox with the ``docs`` environment. |
| 139 | +
|
| 140 | + .. zuul:jobvar: tox_envlist |
| 141 | +
|
| 142 | + The tox environment for building HTML, default is ``docs``. |
| 143 | +
|
| 144 | + .. zuul:jobvar: tox_pdf_envlist |
| 145 | +
|
| 146 | + The tox environment for building PDF, default is ``pdf-docs``. |
| 147 | + If this environment does not exist, no PDF building is done. |
| 148 | +
|
| 149 | + .. zuul:jobvar: tox_skip_pdf |
| 150 | +
|
| 151 | + Whether to skip building of PDF documents. By default a PDF |
| 152 | + file is build if the tox environment specified by |
| 153 | + :zuul:jobvar:`tox_pdf_envlist` exists. |
| 154 | + required-projects: |
| 155 | + - name: openstack/requirements |
| 156 | + vars: |
| 157 | + tox_constraints_file: '{{ ansible_user_dir }}/src/github.com/stackhpc/requirements/upper-constraints.txt' |
| 158 | + bindep_profile: compile test doc |
| 159 | + tox_envlist: docs |
| 160 | + tox_pdf_envlist: pdf-docs |
| 161 | + tox_skip_pdf: false |
| 162 | + # TODO(frickler): drop this again when latest tox is unbroken |
| 163 | + ensure_tox_version: '<4.48' |
| 164 | + # PDF Building is only done from stein onwards. |
| 165 | + pre-run: playbooks/tox-docs/pre.yaml |
| 166 | + run: playbooks/tox-docs/run.yaml |
| 167 | + branches: |
| 168 | + - ^.*/2023.1 |
| 169 | + - ^.*/2023.2 |
| 170 | + - ^.*/2024.1 |
| 171 | + - ^.*/2024.2 |
| 172 | + |
| 173 | +- job: |
| 174 | + name: openstack-tox-docs |
| 175 | + parent: opendev-tox-docs |
| 176 | + description: | |
| 177 | + Run documentation build (focal). |
| 178 | +
|
| 179 | + Uses tox with the ``docs`` environment. |
| 180 | +
|
| 181 | + This job runs on focal from stable/victoria until stable/zed. |
| 182 | +
|
| 183 | + .. zuul:jobvar: tox_envlist |
| 184 | +
|
| 185 | + The tox environment for building HTML, default is ``docs``. |
| 186 | +
|
| 187 | + .. zuul:jobvar: tox_pdf_envlist |
| 188 | +
|
| 189 | + The tox environment for building PDF, default is ``pdf-docs``. |
| 190 | + If this environment does not exist, no PDF building is done. |
| 191 | +
|
| 192 | + .. zuul:jobvar: tox_skip_pdf |
| 193 | +
|
| 194 | + Whether to skip building of PDF documents. By default a PDF |
| 195 | + file is build if the tox environment specified by |
| 196 | + :zuul:jobvar:`tox_pdf_envlist` exists. |
| 197 | +
|
| 198 | + required-projects: |
| 199 | + - name: openstack/requirements |
| 200 | + vars: |
| 201 | + tox_constraints_file: '{{ ansible_user_dir }}/src/github.com/stackhpc/requirements/upper-constraints.txt' |
| 202 | + tox_envlist: docs |
| 203 | + bindep_profile: compile test doc |
| 204 | + tox_pdf_envlist: pdf-docs |
| 205 | + tox_skip_pdf: false |
| 206 | + # NOTE(gmann): This is stable branch (<=(stable|unmaintained)/zed) job and new |
| 207 | + # tox 4 require some changes in tox.ini to be compatible with it. Let's |
| 208 | + # pin tox <4 for stable branches testing (<=(stable|unmaintained)/zed). |
| 209 | + ensure_tox_version: '<4' |
| 210 | + nodeset: ubuntu-focal |
| 211 | + # PDF Building is only done from stein onwards, therefore these |
| 212 | + # pre-run and run playbooks are not part of |
| 213 | + # openstack-tox-docs job for older branches up to rocky. |
| 214 | + pre-run: playbooks/tox-docs/pre.yaml |
| 215 | + run: playbooks/tox-docs/run.yaml |
| 216 | + branches: |
| 217 | + - ^.*/victoria |
| 218 | + - ^.*/wallaby |
| 219 | + - ^.*/xena |
| 220 | + - ^.*/yoga |
| 221 | + - ^.*/zed |
| 222 | + |
| 223 | + |
0 commit comments