Browse Source

Cleanup running jobs

With the changed PTI doc building, this repo can now use the standard
way of building docs, use publish-openstack-docs-pti template and remove
custom jobs.

Since this repo is not co-installed, it does not need requirements and
lower-constraints - like none of the documentation projects. Remove
these.

Remove also lower-constraints tox environment and unused pip install
command from tox.ini as the default is just fine.

Remove passenv from docs environment, this is not needed with current CI
jobs anymore.

Change-Id: I52544b825d3de626f25a81acdb0f62e73771051a
changes/14/623414/1
Andreas Jaeger 7 months ago
parent
commit
f6f2699c78
3 changed files with 1 additions and 79 deletions
  1. 1
    21
      .zuul.yaml
  2. 0
    48
      lower-constraints.txt
  3. 0
    10
      tox.ini

+ 1
- 21
.zuul.yaml View File

@@ -1,29 +1,9 @@
1
-- job:
2
-    name: build-i18n-docs
3
-    description: |
4
-      openstack/i18n has a special doc build that does not match the normal
5
-      OpenStack PTI.
6
-    parent: tox-docs
7
-    vars:
8
-      tox_envlist: docs
9
-      tox_constraints_file: '{{ ansible_user_dir }}/src/git.openstack.org/openstack/requirements/upper-constraints.txt'
10
-    required-projects:
11
-      - openstack/requirements
12
-    success-url: html/
13
-
14 1
 - project:
15 2
     templates:
16
-      - check-requirements
3
+      - publish-openstack-docs-pti
17 4
     check:
18 5
       jobs:
19
-        - build-i18n-docs
20
-        - openstack-tox-lower-constraints
21 6
         - openstack-tox-pep8
22 7
     gate:
23 8
       jobs:
24
-        - build-i18n-docs
25
-        - openstack-tox-lower-constraints
26 9
         - openstack-tox-pep8
27
-    post:
28
-      jobs:
29
-        - publish-openstack-tox-docs

+ 0
- 48
lower-constraints.txt View File

@@ -1,48 +0,0 @@
1
-alabaster==0.7.10
2
-Babel==2.5.3
3
-beautifulsoup4==4.6.0
4
-certifi==2018.1.18
5
-chardet==3.0.4
6
-debtcollector==1.19.0
7
-doc8==0.8.0
8
-docutils==0.14
9
-dulwich==0.19.0
10
-flake8==2.2.4
11
-hacking==0.10.3
12
-idna==2.6
13
-imagesize==1.0.0
14
-iso8601==0.1.12
15
-Jinja2==2.10
16
-lxml==4.1.1
17
-MarkupSafe==1.0
18
-mccabe==0.2.1
19
-monotonic==1.4
20
-msgpack==0.5.6
21
-netaddr==0.7.19
22
-netifaces==0.10.6
23
-openstackdocstheme==1.28
24
-oslo.config==5.2.0
25
-oslo.context==2.20.0
26
-oslo.i18n==3.20.0
27
-oslo.log==3.37.0
28
-oslo.serialization==2.25.0
29
-oslo.utils==3.36.0
30
-pbr==3.1.1
31
-pep8==1.5.7
32
-pyflakes==0.8.1
33
-Pygments==2.2.0
34
-pyinotify==0.9.6
35
-pyparsing==2.2.0
36
-python-dateutil==2.7.0
37
-pytz==2018.3
38
-PyYAML==3.12
39
-requests==2.18.4
40
-restructuredtext-lint==1.1.3
41
-rfc3986==1.1.0
42
-six==1.11.0
43
-snowballstemmer==1.2.1
44
-Sphinx==1.6.5
45
-sphinxcontrib-websupport==1.0.1
46
-stevedore==1.28.0
47
-urllib3==1.22
48
-wrapt==1.10.11

+ 0
- 10
tox.ini View File

@@ -5,7 +5,6 @@ skipsdist = True
5 5
 
6 6
 [testenv]
7 7
 basepython=python3
8
-#install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages}
9 8
 usedevelop = True
10 9
 setenv = VIRTUAL_ENV={envdir}
11 10
 deps = -r{toxinidir}/requirements.txt
@@ -24,9 +23,6 @@ commands = {posargs}
24 23
 commands = {posargs}
25 24
 
26 25
 [testenv:docs]
27
-passenv =
28
-  # Required by add-marker.sh
29
-  ZUUL*
30 26
 commands =
31 27
   doc8 doc/source
32 28
   # Build translated guides
@@ -59,9 +55,3 @@ max-line-length = 80
59 55
 # D000: Check RST validity
60 56
 # - cannot handle "none" for code-block directive
61 57
 ignore = D000
62
-
63
-[testenv:lower-constraints]
64
-deps =
65
-  -c{toxinidir}/lower-constraints.txt
66
-  -r{toxinidir}/test-requirements.txt
67
-  -r{toxinidir}/requirements.txt

Loading…
Cancel
Save