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. In src/, run python3 tuul.py --bump {major, minor, patch}
  3. Follow install guidance
  4. Commit changes to Git
  5. In src/, run python3 tuul.py --autotag
  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)