1616 publish_nightly_docker_image ,
1717)
1818
19- NON_DEFAULT_BRANCH_NAME = "12.0 .0_test"
19+ NON_DEFAULT_BRANCH_NAME = "12.1 .0_test"
2020DEFAULT_BRANCH_NAME = "master"
21- TAG_NAME = "v12.0 .0"
21+ TAG_NAME = "v12.1 .0"
2222INVALID_TAG_NAME = "v12.x"
2323DOCKER_IMAGE_NAME = "citusdata/citus"
2424docker_client = docker .from_env ()
@@ -60,12 +60,12 @@ def test_decode_tag_parts():
6060
6161def test_get_image_tag ():
6262 image_name = get_image_tag (remove_prefix (TAG_NAME , "v" ), DockerImageType .latest )
63- assert image_name == "12.0 .0"
63+ assert image_name == "12.1 .0"
6464
6565 image_name = get_image_tag (
6666 remove_prefix (TAG_NAME , "v" ), DockerImageType .postgres_15
6767 )
68- assert image_name == "12.0 .0-pg15"
68+ assert image_name == "12.1 .0-pg15"
6969
7070
7171def test_publish_main_docker_images ():
@@ -86,10 +86,10 @@ def test_publish_tagged_docker_images_latest():
8686 os .chdir ("docker" )
8787 try :
8888 run_with_output ("git checkout -b docker-unit-test" )
89- publish_tagged_docker_images (DockerImageType .latest , "v12.0 .0" , False )
89+ publish_tagged_docker_images (DockerImageType .latest , "v12.1 .0" , False )
9090 docker_client .images .get ("citusdata/citus:12" )
91- docker_client .images .get ("citusdata/citus:12.0 " )
92- docker_client .images .get ("citusdata/citus:12.0 .0" )
91+ docker_client .images .get ("citusdata/citus:12.1 " )
92+ docker_client .images .get ("citusdata/citus:12.1 .0" )
9393 finally :
9494 run_with_output ("git checkout master" )
9595 run_with_output ("git branch -D docker-unit-test" )
@@ -102,8 +102,8 @@ def test_publish_tagged_docker_images_alpine():
102102 run_with_output ("git checkout -b docker-unit-test" )
103103 publish_tagged_docker_images (DockerImageType .alpine , TAG_NAME , False )
104104 docker_client .images .get ("citusdata/citus:12-alpine" )
105- docker_client .images .get ("citusdata/citus:12.0 -alpine" )
106- docker_client .images .get ("citusdata/citus:12.0 .0-alpine" )
105+ docker_client .images .get ("citusdata/citus:12.1 -alpine" )
106+ docker_client .images .get ("citusdata/citus:12.1 .0-alpine" )
107107 finally :
108108 run_with_output ("git checkout master" )
109109 run_with_output ("git branch -D docker-unit-test" )
0 commit comments