-
Story
-
Resolution: Done
-
Normal
-
None
-
None
-
None
There is a pypi job that was written by LF personnel in Acumos: https://gerrit.acumos.org/r/gitweb?p=ci-management.git;a=blob;f=jjb/acumos-jjb/acumos-pypi-template.yaml
Other projects would like to use this template.
We kindly request this be promoted from acumos into globaljjb.
Requirements according to cl778h:
- Target is a Python project that is a module aka library for reuse by Python programmers:
- The source area may be a subdirectory in a git repo
- Tests are automated using tox
- Test against multiple Python versions - 2.7, 3.5, 3.6, 3.7 etc.
- Build source (required) or binary wheel (optional) distributions
- Upload distributions to a PyPI repository.
- Verify on create of a change set: run tox tests and build distribution(s).
- Build on merge of a change set: repeat all verify steps, plus upload the distributions to a repository for testing; e.g., testpypi.python.org.
- Allow self-release of distributions, which means uploading the distributions to a public PyPI repository:
- Request release using a releases/n.n.n.yaml file like the new Java/Maven process
- Verify on create of a release yaml file: run tox tests, build distribution(s), check version string, check distribution file(s) for version string, ensure repo is not yet tagged
- Release on merge of a release yaml file: repeat all verify steps, plus push tag to the repository and upload the distributions.
- is cloned by
-
RELENG-2455 Rewrite pypi-release JJB templates to use test.pypi.org as staging repo
- Done
-
RELENG-2420 Self-release jobs require tag sign and push for Github projects
- Backlog
(1 mentioned in)