What this PR does?:
This PR removes the version file dependency on the image builds. This PR modifies the build scripts to take Travis tag or the version from the VERSION file of the build. This PR also refactors some functions that relied on the version to be specifically of the type x.y.z as the versions can differ with custom tags and RC tags. PR also comment outs some test cases based on the changes.
Does this PR require any upgrade changes?:
If the changes in this PR are manually verified, list down the scenarios covered::
After building images with a custom tag 1.11.0-ce-rc2
Provisioned cstor SPC
Provisioned cstor volume
Provisioned jiva volume
Deleted jiva volume
Deleted cstor volume
Deleted cstor SPC
Deleted runtasks and restarted api-server, all the runtasks came back with correct version.
make test is failing in Travis we can change the expected output to small case letters get test case fixed(It is expected to change the test case since the behavior of the function is changed).
Signed-off-by: shubham shubham.bajpai@mayadata.io
What this PR does?: This PR removes the version file dependency on the image builds. This PR modifies the build scripts to take Travis tag or the version from the VERSION file of the build. This PR also refactors some functions that relied on the version to be specifically of the type
x.y.z
as the versions can differ with custom tags and RC tags. PR also comment outs some test cases based on the changes.Does this PR require any upgrade changes?:
If the changes in this PR are manually verified, list down the scenarios covered:: After building images with a custom tag 1.11.0-ce-rc2
Runtasks with custom version
Any additional information for your reviewer? : Mention if this PR is part of any design or a continuation of previous PRs
Checklist:
<type>(<scope>): <subject>