zuul-jobs/roles/upload-pypi/defaults/main.yaml
mhuin fa9cb2f468 upload-pypi: add option to register packages
When uploading packages to a devPI instance, the role fails if
the packages are not registered first. Since this is not required
on PyPI, this adds the "pypi_register_first" option to the role
so that users can choose to do so.

Change-Id: I2b50362e485175d51840e49ffc09a734b44ec85d
2019-01-08 07:49:43 +00:00

7 lines
246 B
YAML

---
pypi_path: "src/{{ zuul.project.canonical_name }}/dist"
pypi_repository: "{{ pypi_info.repository|default('pypi') }}"
pypi_repository_url: "{{ pypi_info.repository_url|default(None) }}"
pypi_twine_executable: twine
pypi_register_first: false