From ce8d2b5dd1d8a409af4d0b4dfe256f737dc980ec Mon Sep 17 00:00:00 2001 From: Evgeni Golov Date: Mon, 3 Jun 2024 11:57:32 +0200 Subject: [PATCH] switch EL8 packaging jobs to Python 3.12 Ansible got updated to a version that needs that now. --- theforeman.org/pipelines/lib/foreman.groovy | 4 ++-- theforeman.org/pipelines/lib/obal.groovy | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/theforeman.org/pipelines/lib/foreman.groovy b/theforeman.org/pipelines/lib/foreman.groovy index 7f52a03d..1f04fc5f 100644 --- a/theforeman.org/pipelines/lib/foreman.groovy +++ b/theforeman.org/pipelines/lib/foreman.groovy @@ -62,9 +62,9 @@ production: def filter_package_json(ruby) { if (env.NODE_LABELS.contains('el8')) { - python = 'python3.11' + python = 'python3.12' } else { - python = 'python' + python = 'python3' } sh "${python} script/filter-package-json.py" diff --git a/theforeman.org/pipelines/lib/obal.groovy b/theforeman.org/pipelines/lib/obal.groovy index 2a7157b0..ae37020b 100644 --- a/theforeman.org/pipelines/lib/obal.groovy +++ b/theforeman.org/pipelines/lib/obal.groovy @@ -8,9 +8,9 @@ def obal(args) { } if (env.NODE_LABELS.contains('el8')) { - python = 'python3.11' + python = 'python3.12' } else { - python = 'python' + python = 'python3' } def cmd = "${python} -m obal ${args.action} ${packages}"