deploy¶
How to deploy updates to tuulbachs itself.
Prerequisite: User must have already followed install guidance at least once in the target environment.
- Decide which type of semantic version upgrade this is (major, minor, patch, etc.)
- From
tuulver/version.py, use the appropriatebump_*function to update the version string inversion.yaml - Follow install guidance
- Commit changes to Git
- From
tuuldevops/tag_current_version.py, use thetag_product_versionfunction to properly tag this release - Push the Git update (including tags) to this repo’s remotes
- In a temp dir, download all required packages without installing them, tar and zip these for deployment.
- On an available machine with the oldest version of GLIBC that you wish to support, in the src dir, run
pyinstaller --add-data ../version.yaml:. --onefile tuul.py - Publish the release (including offline packages tarball and
tuulexecutable) on the repo’s remote (Github, for instance)