File tree Expand file tree Collapse file tree
packaging_automation/tests Expand file tree Collapse file tree Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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 }}
Original file line number Diff line number Diff line change 3939
4040single_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
9595def teardown_module ():
9696 if os .path .exists ("packaging_test" ):
97- run ("rm -r packaging_test" )
97+ run ("rm -rf packaging_test" )
9898
9999
100100def 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
144144def 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
Original file line number Diff line number Diff line change @@ -166,15 +166,15 @@ def test_build_package_debian():
166166def 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 )
You can’t perform that action at this time.
0 commit comments