Merge "Add testing of fetch-sphinx-tarball role"
This commit is contained in:
commit
66b4de8b26
@ -1,17 +1,17 @@
|
|||||||
- name: Create temporary HTML archive file
|
- name: Create temporary HTML archive file
|
||||||
tempfile:
|
tempfile:
|
||||||
state: file
|
state: file
|
||||||
suffix: ".tar.bz2"
|
suffix: ".tar.gz"
|
||||||
register: html_archive
|
register: html_archive
|
||||||
|
|
||||||
- name: Archive HTML
|
- name: Archive HTML
|
||||||
command: "tar -f {{ html_archive.path }} -C {{ zuul_work_dir }}/{{ sphinx_build_dir }}/html --exclude=.doctrees -cj ."
|
command: "tar -f {{ html_archive.path }} -C {{ zuul_work_dir }}/{{ sphinx_build_dir }}/html --exclude=.doctrees -cz ."
|
||||||
args:
|
args:
|
||||||
warn: false
|
warn: false
|
||||||
|
|
||||||
- name: Fetch archive HTML
|
- name: Fetch archive HTML
|
||||||
synchronize:
|
synchronize:
|
||||||
dest: "{{ zuul.executor.log_root }}/docs-html.tar.bz2"
|
dest: "{{ zuul.executor.log_root }}/docs-html.tar.gz"
|
||||||
mode: pull
|
mode: pull
|
||||||
src: "{{ html_archive.path }}"
|
src: "{{ html_archive.path }}"
|
||||||
verify_host: true
|
verify_host: true
|
||||||
@ -25,7 +25,7 @@
|
|||||||
- name: Extract archive HTML
|
- name: Extract archive HTML
|
||||||
delegate_to: localhost
|
delegate_to: localhost
|
||||||
unarchive:
|
unarchive:
|
||||||
src: "{{ zuul.executor.log_root }}/docs-html.tar.bz2"
|
src: "{{ zuul.executor.log_root }}/docs-html.tar.gz"
|
||||||
dest: "{{ zuul.executor.log_root }}/docs"
|
dest: "{{ zuul.executor.log_root }}/docs"
|
||||||
|
|
||||||
- name: Return artifact to Zuul
|
- name: Return artifact to Zuul
|
||||||
@ -34,7 +34,7 @@
|
|||||||
zuul:
|
zuul:
|
||||||
artifacts:
|
artifacts:
|
||||||
- name: "Docs archive"
|
- name: "Docs archive"
|
||||||
url: "docs-html.tar.bz2"
|
url: "docs-html.tar.gz"
|
||||||
metadata:
|
metadata:
|
||||||
type: docs_archive
|
type: docs_archive
|
||||||
- name: "Docs preview site"
|
- name: "Docs preview site"
|
||||||
|
@ -226,6 +226,118 @@
|
|||||||
- name: ubuntu-xenial
|
- name: ubuntu-xenial
|
||||||
label: ubuntu-xenial
|
label: ubuntu-xenial
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: zuul-jobs-test-fetch-sphinx-tarball
|
||||||
|
description: Test the fetch-sphinx-tarball role
|
||||||
|
# parenting on tox-docs as we need builded docs first and also this is
|
||||||
|
# the main use-case for this role
|
||||||
|
parent: tox-docs
|
||||||
|
success-url: docs/
|
||||||
|
files:
|
||||||
|
- roles/fetch-sphinx-tarball/.*
|
||||||
|
tags: all-platforms
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: zuul-jobs-test-fetch-sphinx-tarball-centos-7
|
||||||
|
description: Test the fetch-sphinx-tarball role on centos-7
|
||||||
|
parent: zuul-jobs-test-fetch-sphinx-tarball
|
||||||
|
tags: auto-generated
|
||||||
|
nodeset:
|
||||||
|
nodes:
|
||||||
|
- name: centos-7
|
||||||
|
label: centos-7
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: zuul-jobs-test-fetch-sphinx-tarball-centos-8
|
||||||
|
description: Test the fetch-sphinx-tarball role on centos-8
|
||||||
|
parent: zuul-jobs-test-fetch-sphinx-tarball
|
||||||
|
tags: auto-generated
|
||||||
|
nodeset:
|
||||||
|
nodes:
|
||||||
|
- name: centos-8
|
||||||
|
label: centos-8
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: zuul-jobs-test-fetch-sphinx-tarball-debian-stretch
|
||||||
|
description: Test the fetch-sphinx-tarball role on debian-stretch
|
||||||
|
parent: zuul-jobs-test-fetch-sphinx-tarball
|
||||||
|
tags: auto-generated
|
||||||
|
nodeset:
|
||||||
|
nodes:
|
||||||
|
- name: debian-stretch
|
||||||
|
label: debian-stretch
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: zuul-jobs-test-fetch-sphinx-tarball-fedora-31
|
||||||
|
description: Test the fetch-sphinx-tarball role on fedora-31
|
||||||
|
parent: zuul-jobs-test-fetch-sphinx-tarball
|
||||||
|
tags: auto-generated
|
||||||
|
nodeset:
|
||||||
|
nodes:
|
||||||
|
- name: fedora-31
|
||||||
|
label: fedora-31
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: zuul-jobs-test-fetch-sphinx-tarball-gentoo-17-0-systemd
|
||||||
|
description: Test the fetch-sphinx-tarball role on gentoo-17-0-systemd
|
||||||
|
parent: zuul-jobs-test-fetch-sphinx-tarball
|
||||||
|
tags: auto-generated
|
||||||
|
nodeset:
|
||||||
|
nodes:
|
||||||
|
- name: gentoo-17-0-systemd
|
||||||
|
label: gentoo-17-0-systemd
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: zuul-jobs-test-fetch-sphinx-tarball-opensuse-15
|
||||||
|
description: Test the fetch-sphinx-tarball role on opensuse-15
|
||||||
|
parent: zuul-jobs-test-fetch-sphinx-tarball
|
||||||
|
tags: auto-generated
|
||||||
|
nodeset:
|
||||||
|
nodes:
|
||||||
|
- name: opensuse-15
|
||||||
|
label: opensuse-15
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: zuul-jobs-test-fetch-sphinx-tarball-opensuse-tumbleweed-nv
|
||||||
|
voting: false
|
||||||
|
description: Test the fetch-sphinx-tarball role on opensuse-tumbleweed
|
||||||
|
parent: zuul-jobs-test-fetch-sphinx-tarball
|
||||||
|
tags: auto-generated
|
||||||
|
nodeset:
|
||||||
|
nodes:
|
||||||
|
- name: opensuse-tumbleweed
|
||||||
|
label: opensuse-tumbleweed
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: zuul-jobs-test-fetch-sphinx-tarball-ubuntu-bionic
|
||||||
|
description: Test the fetch-sphinx-tarball role on ubuntu-bionic
|
||||||
|
parent: zuul-jobs-test-fetch-sphinx-tarball
|
||||||
|
tags: auto-generated
|
||||||
|
nodeset:
|
||||||
|
nodes:
|
||||||
|
- name: ubuntu-bionic
|
||||||
|
label: ubuntu-bionic
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: zuul-jobs-test-fetch-sphinx-tarball-ubuntu-bionic-plain
|
||||||
|
description: Test the fetch-sphinx-tarball role on ubuntu-bionic-plain
|
||||||
|
parent: zuul-jobs-test-fetch-sphinx-tarball
|
||||||
|
tags: auto-generated
|
||||||
|
nodeset:
|
||||||
|
nodes:
|
||||||
|
- name: ubuntu-bionic-plain
|
||||||
|
label: ubuntu-bionic-plain
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: zuul-jobs-test-fetch-sphinx-tarball-ubuntu-xenial
|
||||||
|
description: Test the fetch-sphinx-tarball role on ubuntu-xenial
|
||||||
|
parent: zuul-jobs-test-fetch-sphinx-tarball
|
||||||
|
tags: auto-generated
|
||||||
|
nodeset:
|
||||||
|
nodes:
|
||||||
|
- name: ubuntu-xenial
|
||||||
|
label: ubuntu-xenial
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: zuul-jobs-test-tox-siblings
|
name: zuul-jobs-test-tox-siblings
|
||||||
description: Test the tox role's sibling functionality
|
description: Test the tox role's sibling functionality
|
||||||
@ -309,6 +421,16 @@
|
|||||||
- zuul-jobs-test-ensure-tox-ubuntu-bionic
|
- zuul-jobs-test-ensure-tox-ubuntu-bionic
|
||||||
- zuul-jobs-test-ensure-tox-ubuntu-bionic-plain
|
- zuul-jobs-test-ensure-tox-ubuntu-bionic-plain
|
||||||
- zuul-jobs-test-ensure-tox-ubuntu-xenial
|
- zuul-jobs-test-ensure-tox-ubuntu-xenial
|
||||||
|
- zuul-jobs-test-fetch-sphinx-tarball-centos-7
|
||||||
|
- zuul-jobs-test-fetch-sphinx-tarball-centos-8
|
||||||
|
- zuul-jobs-test-fetch-sphinx-tarball-debian-stretch
|
||||||
|
- zuul-jobs-test-fetch-sphinx-tarball-fedora-31
|
||||||
|
- zuul-jobs-test-fetch-sphinx-tarball-gentoo-17-0-systemd
|
||||||
|
- zuul-jobs-test-fetch-sphinx-tarball-opensuse-15
|
||||||
|
- zuul-jobs-test-fetch-sphinx-tarball-opensuse-tumbleweed-nv
|
||||||
|
- zuul-jobs-test-fetch-sphinx-tarball-ubuntu-bionic
|
||||||
|
- zuul-jobs-test-fetch-sphinx-tarball-ubuntu-bionic-plain
|
||||||
|
- zuul-jobs-test-fetch-sphinx-tarball-ubuntu-xenial
|
||||||
- zuul-jobs-test-tox-siblings
|
- zuul-jobs-test-tox-siblings
|
||||||
- zuul-jobs-test-fetch-tox-output
|
- zuul-jobs-test-fetch-tox-output
|
||||||
- zuul-jobs-test-fetch-tox-output-synchronize
|
- zuul-jobs-test-fetch-tox-output-synchronize
|
||||||
@ -335,6 +457,15 @@
|
|||||||
- zuul-jobs-test-ensure-tox-ubuntu-bionic
|
- zuul-jobs-test-ensure-tox-ubuntu-bionic
|
||||||
- zuul-jobs-test-ensure-tox-ubuntu-bionic-plain
|
- zuul-jobs-test-ensure-tox-ubuntu-bionic-plain
|
||||||
- zuul-jobs-test-ensure-tox-ubuntu-xenial
|
- zuul-jobs-test-ensure-tox-ubuntu-xenial
|
||||||
|
- zuul-jobs-test-fetch-sphinx-tarball-centos-7
|
||||||
|
- zuul-jobs-test-fetch-sphinx-tarball-centos-8
|
||||||
|
- zuul-jobs-test-fetch-sphinx-tarball-debian-stretch
|
||||||
|
- zuul-jobs-test-fetch-sphinx-tarball-fedora-31
|
||||||
|
- zuul-jobs-test-fetch-sphinx-tarball-gentoo-17-0-systemd
|
||||||
|
- zuul-jobs-test-fetch-sphinx-tarball-opensuse-15
|
||||||
|
- zuul-jobs-test-fetch-sphinx-tarball-ubuntu-bionic
|
||||||
|
- zuul-jobs-test-fetch-sphinx-tarball-ubuntu-bionic-plain
|
||||||
|
- zuul-jobs-test-fetch-sphinx-tarball-ubuntu-xenial
|
||||||
- zuul-jobs-test-tox-siblings
|
- zuul-jobs-test-tox-siblings
|
||||||
- zuul-jobs-test-fetch-tox-output
|
- zuul-jobs-test-fetch-tox-output
|
||||||
- zuul-jobs-test-fetch-tox-output-synchronize
|
- zuul-jobs-test-fetch-tox-output-synchronize
|
||||||
|
Loading…
Reference in New Issue
Block a user