-
Notifications
You must be signed in to change notification settings - Fork 8
Description
At the moment, working through a pre-release process can be a little tricky given the differences between how Python and Helm handle pre-releases. Helm enforces a strict SemVer versioning scheme thus in order to cut a non-production (i.e. alpha/beta/RC) release, you must specify a pre-release in the following format:
<version core> "-" <pre-release>`
For example, 0.4.0-rc1.
This conflicts with how Python handles pre-releases. Python PEP 440 outlines the particular syntax that should be followed which also includes a discussion on version "normalization". According to Python PEP 440, pre-releases are normalized as follows: 0.4.0-rc1 becomes 0.4.0rc1.
Now because of these differences and the fact that the docker image is tagged using the python release version syntax, when the helm chart of the same pre-release version is pulled and installed, the container.image in deployment.yaml is unable to find this version. It's looking for 0.4.0-rc1 when it needs 0.4.0rc1.
To get this to work more smoothly, we can either add/update the tag using the docker/metadata-action or find a way to specify the tag in container.image in deployment.yaml.