diff options
author | guillaume.lambert <guillaume.lambert@orange.com> | 2021-10-14 10:01:59 +0200 |
---|---|---|
committer | guillaume.lambert <guillaume.lambert@orange.com> | 2021-10-14 10:01:59 +0200 |
commit | 2daee2a85eb9f843d8d626fe7accd5e54cf8b32e (patch) | |
tree | 906673cfda5500b8a278fda3e0c52a0da8711fd8 | |
parent | 543f4a1db15d7248e029049d2172cd3e79ce13e8 (diff) |
[OOM] mutualize sphinx linting
docs and docs-linkcheck are both using sphinx
and can run easily in parallel without interfering.
Both jobs take less than 3 minutes.
This is often less than the allocation time of a jenkins minion.
All of this make the mutualization of these 2 jobs wishable.
- use one subproject for docs and docs-linkcheck tox profile.
- enable tox parallel mode
Issue-ID: OOM-2648
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: I2f61fa489ca7ab543a667d07009bf32929329456
-rw-r--r-- | jjb/oom/oom-main-linter.yaml | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/jjb/oom/oom-main-linter.yaml b/jjb/oom/oom-main-linter.yaml index a3bc20e35..6a4dc7add 100644 --- a/jjb/oom/oom-main-linter.yaml +++ b/jjb/oom/oom-main-linter.yaml @@ -14,14 +14,11 @@ tox-dir: "." tox-envs: "doc8" pattern: "docs/**" - - "linkcheck": - tox-dir: "." - tox-envs: "docs-linkcheck" - pattern: "docs/**" - "sphinx": tox-dir: "." - tox-envs: "docs" + tox-envs: "docs,docs-linkcheck" pattern: "docs/**" + parallel: true stream: - "master": branch: "master" |