Revise PyPI release jobs to use a staging index 67/62067/23 v0.47.0
authorLott, Christopher (cl778h) <cl778h@att.com>
Wed, 23 Oct 2019 01:43:27 +0000 (21:43 -0400)
committerLott, Christopher (cl778h) <cl778h@att.com>
Tue, 29 Oct 2019 17:03:20 +0000 (13:03 -0400)
commitc53e11db14ab7abede74c74801bec9ca381c8cc6
treedc1fd8617f50bbc8ba667d78e890881fc784c03f
parentd0dfd24055995c4a2ed27fb7bc9e3dee65ba0d16
Revise PyPI release jobs to use a staging index

Rewrite PyPI release-verify and release-merge templates to download
distribution files from a PyPI staging index and upload the files to
a PyPI release index.  Remove the tox etc. builders from the release
jobs.  Install and upgrade python packages setuptools, twine etc.

Drop the branch/stream parameters for the pypi release templates;
only need one release-verify and one release-merge job per project.

Split the PyPI job groups because the verify & merge templates do not
accept the same arguments as release-verify & release-merge templates,
especially no stream/branch expected by release templates.

Extend release-job.sh with PyPI release features, drop the old file
pypi-tag-release.sh

Move the PyPI release features to the lf-release-jobs.(rst,yaml) files
from the lf-python-jobs.(rst,yaml) files.

Refactor the PyPI verify and merge macros and templates due to moving
out the release-verify and release-merge features.

Restore lf-python-jobs.rst to Coala processing by WriteGoodLintBear,
but turn off processing for sections with the word 'validate'.

Change-Id: Ie27071076f9c018ccf8765c9dd948a4f5c876ec9
Issue-ID: RELENG-2455, RELENG-2497
Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
13 files changed:
.coafile [changed mode: 0644->0755]
.jjb-test/lf-python-jobs.yaml
docs/jjb/lf-python-jobs.rst
docs/jjb/lf-release-jobs.rst
jjb/lf-python-job-groups.yaml
jjb/lf-python-jobs.yaml
jjb/lf-release-jobs.yaml
releasenotes/notes/pypi-refactor-release-833955d759789d57.yaml [new file with mode: 0644]
schema/release-pypi-schema.yaml
shell/pypi-dist-build.sh
shell/pypi-tag-release.sh [deleted file]
shell/pypi-upload.sh
shell/release-job.sh