Remove base tox jobs and rename tox-docs
These are defined in zuul-jobs now. Because the tox-docs in zuul-jobs is a general purpose "run tox -edocs" job, we should call the openstack variant that does other things something else. Depends-On: I19fd6cb20b09b931873a0d9c85ebefabbf2c8373 Depends-On: Ife2b603710e8bdba7eac5fffe68dc41c97f336cf Change-Id: I828e38d3efd4817146cc6b1fefaa7b5bab71fdf7
This commit is contained in:
parent
075b4e4510
commit
982e4ed8c7
42
.zuul.yaml
42
.zuul.yaml
@ -1,45 +1,11 @@
|
||||
- job:
|
||||
name: tox
|
||||
parent: base
|
||||
pre-run: playbooks/tox/pre
|
||||
post-run: playbooks/tox/post
|
||||
|
||||
- job:
|
||||
name: tox-cover
|
||||
parent: tox
|
||||
run: playbooks/tox/cover
|
||||
voting: false
|
||||
|
||||
- job:
|
||||
name: tox-docs
|
||||
parent: tox
|
||||
name: openstack-doc-build
|
||||
parent: zuul-tox-docs
|
||||
run: playbooks/tox/docs
|
||||
post-run: playbooks/tox/docs-post
|
||||
|
||||
- job:
|
||||
name: tox-linters
|
||||
parent: tox
|
||||
run: playbooks/tox/linters
|
||||
|
||||
- job:
|
||||
name: tox-py27
|
||||
parent: tox
|
||||
run: playbooks/tox/py27
|
||||
|
||||
- job:
|
||||
name: tox-py35
|
||||
parent: tox
|
||||
run: playbooks/tox/py35
|
||||
|
||||
- job:
|
||||
name: tox-tarball
|
||||
parent: tox
|
||||
run: playbooks/tox/tarball
|
||||
post-run: playbooks/tox/tarball-post
|
||||
|
||||
- project:
|
||||
name: openstack-infra/openstack-zuul-jobs
|
||||
check:
|
||||
jobs:
|
||||
- tox-docs
|
||||
- tox-linters
|
||||
- openstack-doc-build
|
||||
- zuul-tox-linters
|
||||
|
@ -1,6 +0,0 @@
|
||||
- hosts: all
|
||||
roles:
|
||||
- extra-test-setup
|
||||
- revoke-sudo
|
||||
- role: run-cover
|
||||
envlist: cover
|
@ -1,3 +0,0 @@
|
||||
- hosts: all
|
||||
roles:
|
||||
- upload-sphinx-draft
|
@ -1,5 +0,0 @@
|
||||
- hosts: all
|
||||
roles:
|
||||
- revoke-sudo
|
||||
- role: run-tox
|
||||
envlist: pep8
|
@ -1,28 +0,0 @@
|
||||
- hosts: all
|
||||
tasks:
|
||||
- name: Find tox directories to synchrionize.
|
||||
find:
|
||||
file_type: directory
|
||||
paths: "{{ zuul_workspace_root }}/src/{{ zuul.project.canonical_name }}/.tox"
|
||||
# NOTE(pabelanger): The .tox/log folder is empty, ignore it.
|
||||
patterns: ^(?!log).*$
|
||||
use_regex: yes
|
||||
register: result
|
||||
|
||||
- name: Collect tox logs.
|
||||
synchronize:
|
||||
dest: "{{ zuul.executor.log_root }}/tox"
|
||||
mode: pull
|
||||
src: "{{ item.path }}/log/"
|
||||
with_items: "{{ result.files }}"
|
||||
|
||||
- name: Collect test-results.
|
||||
synchronize:
|
||||
dest: "{{ zuul.executor.log_root }}"
|
||||
mode: pull
|
||||
rsync_opts:
|
||||
- "--ignore-missing-args"
|
||||
src: "{{ zuul_workspace_root }}/src/{{ zuul.project.canonical_name }}/{{ item }}"
|
||||
with_items:
|
||||
- "*testr_results.html.gz"
|
||||
- "*testrepository.subunit.gz"
|
@ -1,6 +0,0 @@
|
||||
- hosts: all
|
||||
gather_facts: true
|
||||
gather_subset:
|
||||
- "!all"
|
||||
roles:
|
||||
- run-bindep
|
@ -1,6 +0,0 @@
|
||||
- hosts: all
|
||||
roles:
|
||||
- extra-test-setup
|
||||
- revoke-sudo
|
||||
- role: run-tox
|
||||
envlist: py27
|
@ -1,6 +0,0 @@
|
||||
- hosts: all
|
||||
roles:
|
||||
- extra-test-setup
|
||||
- revoke-sudo
|
||||
- role: run-tox
|
||||
envlist: py35
|
@ -1,10 +0,0 @@
|
||||
- hosts: all
|
||||
tasks:
|
||||
- name: Collect tarball artifacts.
|
||||
synchronize:
|
||||
dest: "{{ zuul.executor.src_root }}/tarballs"
|
||||
mode: pull
|
||||
src: "{{ zuul_workspace_root }}/src/{{ zuul.project.canonical_name }}/dist/{{ item }}"
|
||||
with_items:
|
||||
- "*.tar.gz"
|
||||
- "*.whl"
|
@ -1,7 +0,0 @@
|
||||
- hosts: all
|
||||
roles:
|
||||
- revoke-sudo
|
||||
- role: run-tarball
|
||||
envlist: venv
|
||||
- role: run-wheel
|
||||
envlist: venv
|
Loading…
x
Reference in New Issue
Block a user