Skip to content

Commit be67afe

Browse files
Add 0.0.0 while forming chart version
1 parent 30666e8 commit be67afe

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

docker/mongodb-kubernetes-tests/kubetester/operator.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ def __init__(
6666
if not operator_version:
6767
# most probably we are trying to install current operator which will be installed
6868
# from OCI registry. The version (dev/staging) is set in `OPERATOR_VERSION`
69-
operator_version = os.environ.get("OPERATOR_VERSION")
69+
non_semver_operator_version = os.environ.get("OPERATOR_VERSION")
70+
operator_version = f"0.0.0+{non_semver_operator_version}"
7071

7172
if helm_args is None:
7273
helm_args = {}

docker/mongodb-kubernetes-tests/tests/conftest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -856,7 +856,8 @@ def _install_multi_cluster_operator(
856856
if not custom_operator_version:
857857
# most probably we are trying to install current operator which will be installed
858858
# from OCI registry. The version (dev/staging) is set in `OPERATOR_VERSION`
859-
custom_operator_version = os.environ.get("OPERATOR_VERSION")
859+
non_semver_custom_operator_version = os.environ.get("OPERATOR_VERSION")
860+
custom_operator_version = f"0.0.0+{non_semver_custom_operator_version}"
860861

861862
prepare_multi_cluster_namespaces(
862863
namespace,

0 commit comments

Comments
 (0)