From f9b3c1b1b618dd47f7f967b7269cb9445c3e4927 Mon Sep 17 00:00:00 2001 From: tinawang123 Date: Wed, 11 Dec 2024 11:04:36 +0800 Subject: [PATCH] Extract as repo to openqa repo folder --- .../base/files_iso.lst | 0 .../base/print_openqa.before | 18 ++++++++++++++++++ .../base/print_rsync_iso.before | 12 ++++++++++++ xml/obs/systemsmanagement:Agama:Devel.xml | 2 +- 4 files changed, 31 insertions(+), 1 deletion(-) mode change 100644 => 100755 t/obs/systemsmanagement:Agama:Devel/base/files_iso.lst diff --git a/t/obs/systemsmanagement:Agama:Devel/base/files_iso.lst b/t/obs/systemsmanagement:Agama:Devel/base/files_iso.lst old mode 100644 new mode 100755 diff --git a/t/obs/systemsmanagement:Agama:Devel/base/print_openqa.before b/t/obs/systemsmanagement:Agama:Devel/base/print_openqa.before index f2d71f83..4bda4c7d 100644 --- a/t/obs/systemsmanagement:Agama:Devel/base/print_openqa.before +++ b/t/obs/systemsmanagement:Agama:Devel/base/print_openqa.before @@ -5,7 +5,13 @@ CHECKSUM_ISO=$(cut -b-64 /var/lib/openqa/factory/other/agama-installer.x86_64-9.0.0-openSUSE-Build17.25.iso.sha256 | grep -E '[0-9a-f]{5,40}' | head -n1) \ DISTRI=opensuse \ FLAVOR=agama-installer \ + FULLURL=1 \ ISO=agama-installer.x86_64-9.0.0-openSUSE-Build17.25.iso \ + MIRROR_HTTP=http://openqa.opensuse.org/assets/repo/agama-installer.x86_64-9.0.0-openSUSE-Build17.25 \ + MIRROR_HTTPS=https://openqa.opensuse.org/assets/repo/agama-installer.x86_64-9.0.0-openSUSE-Build17.25 \ + MIRROR_PREFIX=http://openqa.opensuse.org/assets/repo \ + REPO_0=agama-installer.x86_64-9.0.0-openSUSE-Build17.25 \ + SUSEMIRROR=http://openqa.opensuse.org/assets/repo/agama-installer.x86_64-9.0.0-openSUSE-Build17.25 \ VERSION=agama-9.0 \ _OBSOLETE=1 @@ -16,7 +22,13 @@ CHECKSUM_ISO=$(cut -b-64 /var/lib/openqa/factory/other/agama-installer.aarch64-9.0.0-openSUSE-Build18.1.iso.sha256 | grep -E '[0-9a-f]{5,40}' | head -n1) \ DISTRI=opensuse \ FLAVOR=agama-installer \ + FULLURL=1 \ ISO=agama-installer.aarch64-9.0.0-openSUSE-Build18.1.iso \ + MIRROR_HTTP=http://openqa.opensuse.org/assets/repo/agama-installer.aarch64-9.0.0-openSUSE-Build18.1 \ + MIRROR_HTTPS=https://openqa.opensuse.org/assets/repo/agama-installer.aarch64-9.0.0-openSUSE-Build18.1 \ + MIRROR_PREFIX=http://openqa.opensuse.org/assets/repo \ + REPO_0=agama-installer.aarch64-9.0.0-openSUSE-Build18.1 \ + SUSEMIRROR=http://openqa.opensuse.org/assets/repo/agama-installer.aarch64-9.0.0-openSUSE-Build18.1 \ VERSION=agama-9.0 \ _OBSOLETE=1 @@ -27,7 +39,13 @@ CHECKSUM_ISO=$(cut -b-64 /var/lib/openqa/factory/other/agama-installer.ppc64le-9.0.0-openSUSE-Build18.1.iso.sha256 | grep -E '[0-9a-f]{5,40}' | head -n1) \ DISTRI=opensuse \ FLAVOR=agama-installer \ + FULLURL=1 \ ISO=agama-installer.ppc64le-9.0.0-openSUSE-Build18.1.iso \ + MIRROR_HTTP=http://openqa.opensuse.org/assets/repo/agama-installer.ppc64le-9.0.0-openSUSE-Build18.1 \ + MIRROR_HTTPS=https://openqa.opensuse.org/assets/repo/agama-installer.ppc64le-9.0.0-openSUSE-Build18.1 \ + MIRROR_PREFIX=http://openqa.opensuse.org/assets/repo \ + REPO_0=agama-installer.ppc64le-9.0.0-openSUSE-Build18.1 \ + SUSEMIRROR=http://openqa.opensuse.org/assets/repo/agama-installer.ppc64le-9.0.0-openSUSE-Build18.1 \ VERSION=agama-9.0 \ _OBSOLETE=1 diff --git a/t/obs/systemsmanagement:Agama:Devel/base/print_rsync_iso.before b/t/obs/systemsmanagement:Agama:Devel/base/print_rsync_iso.before index 89872e9b..67f0254b 100644 --- a/t/obs/systemsmanagement:Agama:Devel/base/print_rsync_iso.before +++ b/t/obs/systemsmanagement:Agama:Devel/base/print_rsync_iso.before @@ -1,6 +1,18 @@ rsync --timeout=3600 -tlp4 --specials obspublish-other::openqa/systemsmanagement:Agama:Devel//images/*/agama-installer:openSUSE//*agama-installer.x86_64-9.0.0-openSUSE-Build17.25.iso /var/lib/openqa/factory/iso/agama-installer.x86_64-9.0.0-openSUSE-Build17.25.iso rsync --timeout=3600 -tlp4 --specials obspublish-other::openqa/systemsmanagement:Agama:Devel//images/*/agama-installer:openSUSE//*agama-installer.x86_64-9.0.0-openSUSE-Build17.25.iso.sha256 /var/lib/openqa/factory/other/agama-installer.x86_64-9.0.0-openSUSE-Build17.25.iso.sha256 +[ -d /var/lib/openqa/factory/repo/agama-installer.x86_64-9.0.0-openSUSE-Build17.25 ] || { + mkdir /var/lib/openqa/factory/repo/agama-installer.x86_64-9.0.0-openSUSE-Build17.25 + bsdtar xf /var/lib/openqa/factory/iso/agama-installer.x86_64-9.0.0-openSUSE-Build17.25.iso -C /var/lib/openqa/factory/repo/agama-installer.x86_64-9.0.0-openSUSE-Build17.25 +} rsync --timeout=3600 -tlp4 --specials obspublish-other::openqa/systemsmanagement:Agama:Devel//images/*/agama-installer:openSUSE//*agama-installer.aarch64-9.0.0-openSUSE-Build18.1.iso /var/lib/openqa/factory/iso/agama-installer.aarch64-9.0.0-openSUSE-Build18.1.iso rsync --timeout=3600 -tlp4 --specials obspublish-other::openqa/systemsmanagement:Agama:Devel//images/*/agama-installer:openSUSE//*agama-installer.aarch64-9.0.0-openSUSE-Build18.1.iso.sha256 /var/lib/openqa/factory/other/agama-installer.aarch64-9.0.0-openSUSE-Build18.1.iso.sha256 +[ -d /var/lib/openqa/factory/repo/agama-installer.aarch64-9.0.0-openSUSE-Build18.1 ] || { + mkdir /var/lib/openqa/factory/repo/agama-installer.aarch64-9.0.0-openSUSE-Build18.1 + bsdtar xf /var/lib/openqa/factory/iso/agama-installer.aarch64-9.0.0-openSUSE-Build18.1.iso -C /var/lib/openqa/factory/repo/agama-installer.aarch64-9.0.0-openSUSE-Build18.1 +} rsync --timeout=3600 -tlp4 --specials obspublish-other::openqa/systemsmanagement:Agama:Devel//images/*/agama-installer:openSUSE//*agama-installer.ppc64le-9.0.0-openSUSE-Build18.1.iso /var/lib/openqa/factory/iso/agama-installer.ppc64le-9.0.0-openSUSE-Build18.1.iso rsync --timeout=3600 -tlp4 --specials obspublish-other::openqa/systemsmanagement:Agama:Devel//images/*/agama-installer:openSUSE//*agama-installer.ppc64le-9.0.0-openSUSE-Build18.1.iso.sha256 /var/lib/openqa/factory/other/agama-installer.ppc64le-9.0.0-openSUSE-Build18.1.iso.sha256 +[ -d /var/lib/openqa/factory/repo/agama-installer.ppc64le-9.0.0-openSUSE-Build18.1 ] || { + mkdir /var/lib/openqa/factory/repo/agama-installer.ppc64le-9.0.0-openSUSE-Build18.1 + bsdtar xf /var/lib/openqa/factory/iso/agama-installer.ppc64le-9.0.0-openSUSE-Build18.1.iso -C /var/lib/openqa/factory/repo/agama-installer.ppc64le-9.0.0-openSUSE-Build18.1 +} diff --git a/xml/obs/systemsmanagement:Agama:Devel.xml b/xml/obs/systemsmanagement:Agama:Devel.xml index e7580462..7be876ca 100644 --- a/xml/obs/systemsmanagement:Agama:Devel.xml +++ b/xml/obs/systemsmanagement:Agama:Devel.xml @@ -4,7 +4,7 @@ distri="opensuse" version="agama-9.0"> - +