worker icon indicating copy to clipboard operation
worker copied to clipboard

Auto match version to branch on deployment and have it part of the report generated for the optional reporting system

Open naorlivne opened this issue 6 years ago • 1 comments

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.

naorlivne avatar Mar 04 '19 09:03 naorlivne

I'll take this issue.

jakobpederson avatar Mar 18 '19 18:03 jakobpederson