worker
worker copied to clipboard
Auto match version to branch on deployment and have it part of the report generated for the optional reporting system
Expected/Wanted Behaviour
The version of the worker should be auto set to match the branches.
the $TRAVIS_BRANCH envvar will likely be part of the solution but as this should be a change in the codebase itself (rather then just assigning the variable value a more complex solution the just os.getenv(TRAVIS_BRANCH) will be needed.
after there is a version as part of the codebase it should be added to be part of the reports that are sent to the optional reporting system.
Possible solutions include:
- https://pypi.org/project/bump2version/
- https://pypi.org/project/changes/
- https://pypi.org/project/zest.releaser/
Related to https://github.com/nebula-orchestrator/worker/issues/41
Actual Behaviour
Version is manually set before deployments.
I'll take this issue.