9
9
def test_create_release_info_json (
10
10
git_repo : Repo , readinessprobe_version : str , operator_version_upgrade_post_start_hook_version : str
11
11
):
12
- git_repo .git .checkout ("1.0 .0" )
12
+ git_repo .git .checkout ("1.2 .0" )
13
13
14
14
expected_json = {
15
15
"images" : {
16
16
"mongodbOperator" : {
17
17
"repository" : "quay.io/mongodb/mongodb-kubernetes" ,
18
18
"platforms" : ["linux/arm64" , "linux/amd64" ],
19
- "version" : "1.0 .0" ,
19
+ "version" : "1.2 .0" ,
20
20
},
21
21
"initDatabase" : {
22
22
"repository" : "quay.io/mongodb/mongodb-kubernetes-init-database" ,
23
23
"platforms" : ["linux/arm64" , "linux/amd64" ],
24
- "version" : "1.0 .0" ,
24
+ "version" : "1.2 .0" ,
25
25
},
26
26
"initAppDb" : {
27
27
"repository" : "quay.io/mongodb/mongodb-kubernetes-init-appdb" ,
28
28
"platforms" : ["linux/arm64" , "linux/amd64" ],
29
- "version" : "1.0 .0" ,
29
+ "version" : "1.2 .0" ,
30
30
},
31
31
"initOpsManager" : {
32
32
"repository" : "quay.io/mongodb/mongodb-kubernetes-init-ops-manager" ,
33
33
"platforms" : ["linux/arm64" , "linux/amd64" ],
34
- "version" : "1.0 .0" ,
34
+ "version" : "1.2 .0" ,
35
35
},
36
36
"database" : {
37
37
"repository" : "quay.io/mongodb/mongodb-kubernetes-database" ,
38
38
"platforms" : ["linux/arm64" , "linux/amd64" ],
39
- "version" : "1.0 .0" ,
39
+ "version" : "1.2 .0" ,
40
40
},
41
41
"readinessprobe" : {
42
42
"repository" : "quay.io/mongodb/mongodb-kubernetes-readinessprobe" ,
@@ -52,10 +52,10 @@ def test_create_release_info_json(
52
52
"binaries" : {
53
53
"kubectl-mongodb" : {
54
54
"platforms" : ["darwin/amd64" , "darwin/arm64" , "linux/amd64" , "linux/arm64" ],
55
- "version" : "1.0 .0" ,
55
+ "version" : "1.2 .0" ,
56
56
}
57
57
},
58
- "helm-charts" : {"mongodb-kubernetes" : {"repository" : "quay.io/mongodb/helm-charts" , "version" : "1.0 .0" }},
58
+ "helm-charts" : {"mongodb-kubernetes" : {"repository" : "quay.io/mongodb/helm-charts" , "version" : "1.2 .0" }},
59
59
}
60
60
expected_release_info_json = json .dumps (expected_json , indent = 2 )
61
61
release_info_json = create_release_info_json (
0 commit comments