Skip to content

Commit f35014d

Browse files
committed
try
1 parent c4457cb commit f35014d

File tree

4 files changed

+15
-13
lines changed

4 files changed

+15
-13
lines changed

.github/workflows/package-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ jobs:
3737
export PROJECT_VERSION="${{ github.event.inputs.project_version }}"
3838
echo "project_version: ${{ github.event.inputs.project_version }}"
3939
# To be able to test pipeline without triggering with project_version parameter using workflow_dispatch parameter,
40-
# if workflow_dispatch parameter is empty, 12.0.0 parameter is set to execute pipeline.
41-
[ -z ${PROJECT_VERSION} ] && export PROJECT_VERSION=12.0.0
40+
# if workflow_dispatch parameter is empty, 12.1.0 parameter is set to execute pipeline.
41+
[ -z ${PROJECT_VERSION} ] && export PROJECT_VERSION=12.1.0
4242
POSTGRES_VERSIONS=$(python -m packaging_automation.get_postgres_versions --project_version ${PROJECT_VERSION})
4343
echo "Postgres Version: ${POSTGRES_VERSIONS}"
4444
echo "::set-output name=pg_versions::${POSTGRES_VERSIONS}"
@@ -74,7 +74,7 @@ jobs:
7474
run: |
7575
export PROJECT_VERSION="${{ github.event.inputs.project_version }}"
7676
echo "Citus Version: ${PROJECT_VERSION} "
77-
[ -z ${PROJECT_VERSION} ] && export PROJECT_VERSION=12.0.0
77+
[ -z ${PROJECT_VERSION} ] && export PROJECT_VERSION=12.1.0
7878
python -m packaging_automation.test_citus_package \
7979
--project_version "${PROJECT_VERSION}" \
8080
--os_release ${{ matrix.platform }} \

packaging_automation/tests/files/get_postgres_versions_tests/postgres-matrix.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,5 @@ version_matrix:
2020
postgres_versions: [ 13, 14, 15 ]
2121
- 12.0:
2222
postgres_versions: [ 14, 15 ]
23+
- 12.1:
24+
postgres_versions: [ 14, 15 ]

packaging_automation/tests/test_publish_docker.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
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"
2020
DEFAULT_BRANCH_NAME = "master"
21-
TAG_NAME = "v12.0.0"
21+
TAG_NAME = "v12.1.0"
2222
INVALID_TAG_NAME = "v12.x"
2323
DOCKER_IMAGE_NAME = "citusdata/citus"
2424
docker_client = docker.from_env()
@@ -60,12 +60,12 @@ def test_decode_tag_parts():
6060

6161
def 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

7171
def 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")

packaging_automation/tests/test_update_docker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
BASE_PATH = os.getenv("BASE_PATH", default=pathlib2.Path(__file__).parents[2])
2323
TEST_BASE_PATH = f"{BASE_PATH}/docker"
24-
PROJECT_VERSION = "12.0.0"
24+
PROJECT_VERSION = "12.1.0"
2525

2626
POSTGRES_15_VERSION = "15.4"
2727
POSTGRES_14_VERSION = "14.9"

0 commit comments

Comments
 (0)