Skip to content

Pytooling publishing pipeline

phlax edited this page Dec 18, 2021 · 2 revisions

This repo is a monorepo containing various python packages used by Envoy proxy's CI.

The packages are published independently to pypi.

The current CI workflow for publishing packages is automated such that when a new "release" is created for the repository any of the python packages which have a version (as set in their VERSION file) that is not -dev are published to pypi with the corresponding version.

The repository README should reflect any version changes.

This can be done with (assuming pants is installed):

$ pants readme --fix=README.md ::

Therefore, to publish a package:

  • make changes to package
  • edit version file to remove -dev
  • fix README
  • commit changes to main
  • publish github release
  • following release version should in incremented and -dev appended
  • fix README
Clone this wiki locally