Roles¶
- build-pdf-docs¶
Build PDFs from sphinx documents
If the tox environment specified in tox_pdf_envlist does not exist, the PDF build will be skipped.
Role Variables
-
tox_pdf_envlist¶
Default:pdf-docs
The tox environment used for PDF doc build.
-
zuul_work_dir¶
Default:{{ zuul.project.src_dir }}
The location of the main working directory of the job.
-
tox_pdf_envlist¶
- build-wheel-cache¶
Build the wheel cache from requirements
Run the build scripts to create the wheel cache of the requirements project that lives on the mirror nodes.
- configure-swap¶
Configure a swap partition
Creates a swap partition on the ephemeral block device (the rest of which will be mounted on /opt).
Role Variables
-
configure_swap_size¶
Default:1024
The size of the swap partition, in MiB.
-
configure_swap_size¶
- infra-deb-package-build¶
Build Debian package for upload to infra PPA
- infra-deb-ppa-push¶
This job is designed to sign and push changes to the OpenDev Infra PPAs
- legacy-copy-jenkins-scripts¶
Copy scripts to
/usr/jenkins/slave_scripts
directory on remote hosts.Note
This role is deprecated and only exists for transition purposes. It should not be used for new jobs.
- neutron-horizon-hack¶
Hack around some requirements being declared in tox_install.sh
Note
TODO(mordred) ZOMG DELETE THIS
neutron and horizon plugin repos currently require running the tox_install.sh script where a list of additional dependencies are listed that are not in their requirements files. Luckily, tox_install.sh is designed to be run inside of a virtualenv, so we can just run it in the sphinx ~/.venv and get them installed. This will let us work towards a solution that does not involve a custom install script.
Note that this role only works if the file is called
tools/tox_install.sh
and takes three argumentsconstraints-file
,opts
andpackages
. The script must allow invocation with the singleconstraints-file
argument as well.Role Variables
-
constraints_file¶
Optional path to a constraints file to use.
-
zuul_work_virtualenv¶
Default:~/.venv
Virtualenv that sphinx is installed in.
-
zuul_work_dir¶
Default:{{ zuul.project.src_dir }}
Directory to operate in.
-
constraints_file¶
- openafs-rpm-package-build¶
Build OpenAFS RPM packages
This builds RPM packages for openafs
- prepare-build-pdf-docs¶
Install Packages for build-pdf-docs
Install binary packages for build-pdf-docs.
This role currently only supports Ubuntu Bionic.
If the tox environment specified in tox_pdf_envlist does not exist, package installation will be skipped.
Role Variables
-
tox_pdf_envlist¶
Default:pdf-docs
The tox environment used for PDF doc building.
-
zuul_work_dir¶
Default:{{ zuul.project.src_dir }}
The location of the main working directory of the job.
-
tox_pdf_envlist¶
- prepare-docs-for-afs¶
Prepare built OpenStack docs to be published to the OpenStack AFS cell.
-
sphinx_build_dir¶
Default:doc/build
Directory relative to zuul_work_dir where Sphinx build output was put.
-
zuul_work_dir¶
Default:{{ zuul.project.src_dir }}
Directory to build documentation in.
-
doc_toplevel_dir¶
Default:doc
Directory where the documentation lives, the build documentation is in a sub directory called build, by default doc/build.
-
sphinx_build_dir¶
- prepare-infra-docs-for-afs¶
Prepare built openstack-infra docs to be published to the OpenStack AFS cell.
-
sphinx_build_dir¶
Default:doc/build
Directory relative to zuul_work_dir where Sphinx build output was put.
-
zuul_work_dir¶
Default:{{ zuul.project.src_dir }}
Directory to build documentation in.
-
sphinx_build_dir¶
- prepare-zanata-client¶
Prepare zanata client use
Note
This role is only available for Debian based platforms currently.
Role Variables
-
zanata_api_credentials¶
Complex argument which contains the ssh key information. It is expected that this argument comes from a Secret
-
zanata_api_credentials¶
- set-service-type-data-fact¶
Set service_type facts for a given project
Sets a type
service_type_data
which contains the service information for the current project as defined by the “service” definition in:http://specs.openstack.org/openstack/service-types-authority/downloads/published-schema.json