distro/rhel7: update distribution implementation

Update the implementation of the distro.Distro interface to match the
one in RHEL 8, 9, and Fedora.  The main change is that the runner is a
runner.Runner and not a string.

The runner name is now rhel79 (changed from rhel7).  This is
functionally equivalent based on osbuild's runner version fallback
logic.
This commit is contained in:
Achilleas Koutsou 2023-01-18 23:58:54 +01:00 committed by Tomáš Hozza
parent a93ae83c5c
commit 6fdf917271
6 changed files with 8 additions and 7 deletions

View file

@ -40,7 +40,7 @@
"pipelines": [
{
"name": "build",
"runner": "org.osbuild.rhel7",
"runner": "org.osbuild.rhel79",
"stages": [
{
"type": "org.osbuild.rpm",

View file

@ -51,7 +51,7 @@
"pipelines": [
{
"name": "build",
"runner": "org.osbuild.rhel7",
"runner": "org.osbuild.rhel79",
"stages": [
{
"type": "org.osbuild.rpm",

View file

@ -121,7 +121,7 @@
"pipelines": [
{
"name": "build",
"runner": "org.osbuild.rhel7",
"runner": "org.osbuild.rhel79",
"stages": [
{
"type": "org.osbuild.rpm",