Skip to content

Commit b46136c

Browse files
westphallmwestphall
authored andcommitted
Add baseline support for EL10, OSG 25
1 parent 346526a commit b46136c

File tree

8 files changed

+28
-426
lines changed

8 files changed

+28
-426
lines changed

bin/extract-job-output

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ for image_path in paths:
6161
# print " - creating directory"
6262
os.makedirs(local_dir)
6363
# print " - extracting"
64-
g.download(full_image_path, os.path.join(output_dir, image_path))
64+
try:
65+
g.download(full_image_path, os.path.join(output_dir, image_path))
66+
except Exception as e:
67+
print("Can't download path %s" % full_image_path, e)
6568

6669
print "ok"

bin/run-job

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ run_command_with_retries()
4444
osg_series=`grep series $INPUT_DIR/osg-test.conf | sed -e 's/series *= *//'`
4545

4646
# Set variables based on OS major version
47-
os_major_version=`sed -e 's/^[^0-9]*//' -e 's/\..*$//' /etc/redhat-release`
47+
os_major_version=`sed -e 's/^[^0-9]*//' -e 's/[^0-9].*$//' /etc/redhat-release`
4848
epel_url="https://dl.fedoraproject.org/pub/epel/epel-release-latest-$os_major_version.noarch.rpm"
4949

5050
# Starting with OSG 23, we dump release RPMs in the XX-main part of the tree
@@ -67,6 +67,11 @@ case $os_major_version in
6767
python_lib_dir='/usr/lib/python3.9'
6868
python='/usr/bin/python3'
6969
;;
70+
10 )
71+
priorities_rpm=
72+
python_lib_dir='/usr/lib/python3.12'
73+
python='/usr/bin/python3'
74+
;;
7075
* )
7176
echo "Could not determine OS major version from '$os_major_version'"
7277
exit 2

bin/vmu.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def canonical_os_string(os_release, param_name=False):
8383
result = result.replace('CentOS Stream', 'C. Stream')
8484
result = result.replace('Rocky Linux', 'Rocky')
8585
result = result.replace('AlmaLinux', 'Alma')
86-
result = re.sub(r'(\d)(\.\d+)?(.*)', r'\1 (\3)', result)
86+
result = re.sub(r'(\d{1,2})(\.\d+)?(.*)', r'\1 (\3)', result)
8787
else:
8888
# Handle OS string from 'platforms' test parameters
8989
result = os_release.replace('rhel', 'RHEL')
@@ -92,7 +92,7 @@ def canonical_os_string(os_release, param_name=False):
9292
result = result.replace('centos', 'CentOS')
9393
result = result.replace('rocky', 'Rocky')
9494
result = result.replace('alma', 'Alma')
95-
result = re.sub(r'_(\d)\.(.*)', r' \1 (\2)', result)
95+
result = re.sub(r'_(\d{1,2})\.(.*)', r' \1 (\2)', result)
9696
return result
9797

9898
def canonical_src_string(sources):

parameters.d/osg23-el8.yaml

Lines changed: 0 additions & 94 deletions
This file was deleted.

parameters.d/osg23-el9.yaml

Lines changed: 0 additions & 106 deletions
This file was deleted.

parameters.d/osg24-el8.yaml

Lines changed: 0 additions & 87 deletions
This file was deleted.

0 commit comments

Comments
 (0)