Skip to content

Commit d110411

Browse files
authored
Merge pull request #385 from citusdata/ihalatci-patch-1
Modify build matrix for community nightlies
2 parents 7595632 + 48e9648 commit d110411

4 files changed

Lines changed: 20 additions & 21 deletions

File tree

.github/workflows/build-citus-community-nightlies.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,11 @@ jobs:
2323
fail-fast: false
2424
matrix:
2525
platform:
26-
- el/7
2726
- el/8
28-
- ol/7
29-
- debian/bullseye
27+
- el/9
28+
- ol/9
3029
- debian/bookworm
3130
- debian/trixie
32-
- ubuntu/bionic
3331
- ubuntu/noble
3432
- ubuntu/jammy
3533

.github/workflows/citus-package-all-platforms-test.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,14 @@ jobs:
2323
fail-fast: false
2424
matrix:
2525
platform:
26-
- el/7
26+
- el/9
2727
- el/8
28-
- ol/7
28+
- ol/9
2929
- ol/8
30-
- debian/stretch
3130
- debian/bullseye
32-
- ubuntu/bionic
31+
- debian/bookworm
32+
- debian/trixie
33+
- ubuntu/jammy
3334
- ubuntu/noble
3435
env:
3536
PLATFORM: ${{ matrix.platform }}

packaging_automation/tests/test_citus_package.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,14 @@
3939

4040
single_postgres_package_counts = {
4141
"el/7": 2,
42-
"el/8": 3,
42+
"el/8": 1,
4343
"ol/7": 2,
44-
"ol/8": 3,
45-
"almalinux/9": 3,
46-
"almalinux/8": 3,
44+
"ol/8": 1,
45+
"almalinux/9": 1,
46+
"almalinux/8": 1,
4747
"rockylinux/9": 3,
48-
"el/9": 3,
49-
"ol/9": 3,
48+
"el/9": 1,
49+
"ol/9": 1,
5050
"debian/stretch": 2,
5151
"debian/bullseye": 2,
5252
"debian/bookworm": 2,
@@ -94,7 +94,7 @@ def setup_module():
9494

9595
def teardown_module():
9696
if os.path.exists("packaging_test"):
97-
run("rm -r packaging_test")
97+
run("rm -rf packaging_test")
9898

9999

100100
def test_build_packages():
@@ -137,16 +137,16 @@ def test_build_packages():
137137
)
138138
assert os.path.exists(postgres_version_file_path)
139139
config = dotenv_values(postgres_version_file_path)
140-
assert config["release_versions"] == "12,13,14"
141-
assert config["nightly_versions"] == "14,15"
140+
assert config["release_versions"] == "15,16,17"
141+
assert config["nightly_versions"] == "16,17,18"
142142

143143

144144
def test_get_required_package_count():
145145
assert (
146146
get_required_package_count(
147147
input_files_dir=PACKAGING_EXEC_FOLDER, platform="el/8"
148148
)
149-
== 9
149+
== 3
150150
)
151151

152152

packaging_automation/tests/test_citus_package_utils.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,15 +166,15 @@ def test_build_package_debian():
166166
def test_build_package_rpm():
167167
input_output_parameters = InputOutputParameters.build(
168168
PACKAGING_EXEC_FOLDER,
169-
f"{OUTPUT_FOLDER}/debian-stretch",
169+
f"{OUTPUT_FOLDER}/rpm_build",
170170
output_validation=False,
171171
)
172172

173173
build_package(
174174
github_token=GH_TOKEN,
175175
build_type=BuildType.release,
176-
docker_platform="almalinux-8",
177-
postgres_version="13",
176+
docker_platform="almalinux-9",
177+
postgres_version="17",
178178
input_output_parameters=input_output_parameters,
179179
is_test=True,
180180
)

0 commit comments

Comments
 (0)