circus-tent / circus

A Process & Socket Manager built with zmq
http://circus.readthedocs.org/
Other
1.55k stars 258 forks source link

DevOps: Add continuous-deployment workflow #1198

Closed sphuber closed 2 years ago

sphuber commented 2 years ago

The cd.yml is a Github Actions workflow that triggers when a new tag is pushed to the source repository. It will check that the version specified in the __version__ attribute matches that of the tag, and if the case will run the full test suite. If all tests pass, the package will be built using flit and pushed to PyPI. This will significantly simplify and automate the release process.

sphuber commented 2 years ago

I also wish there was an obvious way to re-use portions of the pipelines, because they are the same in ci and cd, but from what I learned from the docs there are some drawbacks and I don't think we should care.

Indeed, I also looked into this, but for now we should simply remember to update both workflows if one has to be changed. This shouldn't happen too often though, so should be ok.