deploy

How to deploy updates to tuulbachs itself.

Prerequisite: User must have already followed install guidance at least once in the target environment.

  1. Decide which type of semantic version upgrade this is (major, minor, patch, etc.)
  2. From tuulver/version.py, use the appropriate bump_* function to update the version string in version.yaml
  3. Follow install guidance
  4. Commit changes to Git
  5. From tuuldevops/tag_current_version.py, use the tag_product_version function to properly tag this release
  6. Push the Git update (including tags) to this repo’s remotes
  7. In a temp dir, download all required packages without installing them, tar and zip these for deployment.
  8. 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
  9. Publish the release (including offline packages tarball and tuul executable) on the repo’s remote (Github, for instance)