Skip to content

Commit

Permalink
Sync in O3 agama repo and have the iso under the ftp folder in s390x
Browse files Browse the repository at this point in the history
  • Loading branch information
lemon-suse committed Sep 5, 2024
1 parent ccd25a0 commit cf455e3
Show file tree
Hide file tree
Showing 13 changed files with 115 additions and 49 deletions.
3 changes: 3 additions & 0 deletions t/obs/systemsmanagement:Agama:Devel/base/files_iso
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
agama-installer.aarch64-9.0.0-openSUSE-Build17.9.iso
agama-installer.ppc64le-9.0.0-openSUSE-Build17.9.iso
agama-installer.x86_64-9.0.0-openSUSE-Build17.9.iso
3 changes: 3 additions & 0 deletions t/obs/systemsmanagement:Agama:Devel/base/files_iso.lst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
agama-installer.aarch64-9.0.0-openSUSE-Build17.9.iso
agama-installer.ppc64le-9.0.0-openSUSE-Build17.9.iso
agama-installer.x86_64-9.0.0-openSUSE-Build17.9.iso
33 changes: 33 additions & 0 deletions t/obs/systemsmanagement:Agama:Devel/base/print_openqa.before
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
/usr/bin/openqa-cli api -X post isos?async=1 \
ARCH=86_64 \
ASSET_256=agama-installer.x86_64-9.0.0-openSUSE-Build17.9.iso.sha256 \
BUILD=17.9 \
CHECKSUM_ISO=$(cut -b-64 /var/lib/openqa/factory/other/agama-installer.x86_64-9.0.0-openSUSE-Build17.9.iso.sha256 | grep -E '[0-9a-f]{5,40}' | head -n1) \
DISTRI=opensuse \
FLAVOR=agama-installer \
ISO=agama-installer.x86_64-9.0.0-openSUSE-Build17.9.iso \
VERSION=agama-9.0 \
_OBSOLETE=1

/usr/bin/openqa-cli api -X post isos?async=1 \
ARCH=aarch64 \
ASSET_256=agama-installer.aarch64-9.0.0-openSUSE-Build17.9.iso.sha256 \
BUILD=17.9 \
CHECKSUM_ISO=$(cut -b-64 /var/lib/openqa/factory/other/agama-installer.aarch64-9.0.0-openSUSE-Build17.9.iso.sha256 | grep -E '[0-9a-f]{5,40}' | head -n1) \
DISTRI=opensuse \
FLAVOR=agama-installer \
ISO=agama-installer.aarch64-9.0.0-openSUSE-Build17.9.iso \
VERSION=agama-9.0 \
_OBSOLETE=1

/usr/bin/openqa-cli api -X post isos?async=1 \
ARCH=ppc64le \
ASSET_256=agama-installer.ppc64le-9.0.0-openSUSE-Build17.9.iso.sha256 \
BUILD=17.9 \
CHECKSUM_ISO=$(cut -b-64 /var/lib/openqa/factory/other/agama-installer.ppc64le-9.0.0-openSUSE-Build17.9.iso.sha256 | grep -E '[0-9a-f]{5,40}' | head -n1) \
DISTRI=opensuse \
FLAVOR=agama-installer \
ISO=agama-installer.ppc64le-9.0.0-openSUSE-Build17.9.iso \
VERSION=agama-9.0 \
_OBSOLETE=1

Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
rsync --timeout=3600 -tlp4 --specials obspublish-other::openqa/systemsmanagement:Agama:Devel//images/*/agama-installer:openSUSE//*agama-installer.x86_64-9.0.0-openSUSE-Build17.9.iso /var/lib/openqa/factory/iso/agama-installer.x86_64-9.0.0-openSUSE-Build17.9.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.9.iso.sha256 /var/lib/openqa/factory/other/agama-installer.x86_64-9.0.0-openSUSE-Build17.9.iso.sha256
rsync --timeout=3600 -tlp4 --specials obspublish-other::openqa/systemsmanagement:Agama:Devel//images/*/agama-installer:openSUSE//*agama-installer.aarch64-9.0.0-openSUSE-Build17.9.iso /var/lib/openqa/factory/iso/agama-installer.aarch64-9.0.0-openSUSE-Build17.9.iso
rsync --timeout=3600 -tlp4 --specials obspublish-other::openqa/systemsmanagement:Agama:Devel//images/*/agama-installer:openSUSE//*agama-installer.aarch64-9.0.0-openSUSE-Build17.9.iso.sha256 /var/lib/openqa/factory/other/agama-installer.aarch64-9.0.0-openSUSE-Build17.9.iso.sha256
rsync --timeout=3600 -tlp4 --specials obspublish-other::openqa/systemsmanagement:Agama:Devel//images/*/agama-installer:openSUSE//*agama-installer.ppc64le-9.0.0-openSUSE-Build17.9.iso /var/lib/openqa/factory/iso/agama-installer.ppc64le-9.0.0-openSUSE-Build17.9.iso
rsync --timeout=3600 -tlp4 --specials obspublish-other::openqa/systemsmanagement:Agama:Devel//images/*/agama-installer:openSUSE//*agama-installer.ppc64le-9.0.0-openSUSE-Build17.9.iso.sha256 /var/lib/openqa/factory/other/agama-installer.ppc64le-9.0.0-openSUSE-Build17.9.iso.sha256
Empty file.
6 changes: 1 addition & 5 deletions t/obs/systemsmanagement:Agama:Devel/files_iso.lst
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
agama-installer.aarch64-9.0.0-openSUSE-Build8.7.iso
agama-installer.ppc64le-9.0.0-openSUSE-Build8.7.iso
agama-installer.s390x-9.0.0-openSUSE-Build8.7.iso
agama-installer.x86_64-9.0.0-openSUSE-Build8.7.iso

agama-installer.s390x-9.0.0-openSUSE-Build17.9.iso
52 changes: 21 additions & 31 deletions t/obs/systemsmanagement:Agama:Devel/print_openqa.before
Original file line number Diff line number Diff line change
@@ -1,44 +1,34 @@
/usr/bin/openqa-cli api -X post isos?async=1 \
ARCH=x86_64 \
ASSET_256=agama-installer.x86_64-9.0.0-openSUSE-Build8.7.iso.sha256 \
BUILD=8.7 \
CHECKSUM_ISO=$(cut -b-64 /var/lib/openqa/factory/other/agama-installer.x86_64-9.0.0-openSUSE-Build8.7.iso.sha256 | grep -E '[0-9a-f]{5,40}' | head -n1) \
DISTRI=opensuse \
FLAVOR=agama-installer \
ISO=agama-installer.x86_64-9.0.0-openSUSE-Build8.7.iso \
VERSION=agama-9.0 \
_OBSOLETE=1

/usr/bin/openqa-cli api -X post isos?async=1 \
ARCH=aarch64 \
ASSET_256=agama-installer.aarch64-9.0.0-openSUSE-Build8.7.iso.sha256 \
BUILD=8.7 \
CHECKSUM_ISO=$(cut -b-64 /var/lib/openqa/factory/other/agama-installer.aarch64-9.0.0-openSUSE-Build8.7.iso.sha256 | grep -E '[0-9a-f]{5,40}' | head -n1) \
DISTRI=opensuse \
FLAVOR=agama-installer \
ISO=agama-installer.aarch64-9.0.0-openSUSE-Build8.7.iso \
VERSION=agama-9.0 \
_OBSOLETE=1

/usr/bin/openqa-cli api -X post isos?async=1 \
ARCH=ppc64le \
ASSET_256=agama-installer.ppc64le-9.0.0-openSUSE-Build8.7.iso.sha256 \
BUILD=8.7 \
CHECKSUM_ISO=$(cut -b-64 /var/lib/openqa/factory/other/agama-installer.ppc64le-9.0.0-openSUSE-Build8.7.iso.sha256 | grep -E '[0-9a-f]{5,40}' | head -n1) \
ARCH=s390x \
ASSET_256=agama-installer.s390x-9.0.0-openSUSE-Build16.3.iso.sha256 \
BUILD=16.3 \
CHECKSUM_ISO=$(cut -b-64 /var/lib/openqa/factory/other/agama-installer.s390x-9.0.0-openSUSE-Build16.3.iso.sha256 | grep -E '[0-9a-f]{5,40}' | head -n1) \
DISTRI=opensuse \
FLAVOR=agama-installer \
ISO=agama-installer.ppc64le-9.0.0-openSUSE-Build8.7.iso \
FULLURL=1 \
ISO=agama-installer.s390x-9.0.0-openSUSE-Build16.3.iso \
MIRROR_HTTP=http://openqa.opensuse.org/assets/repo/agama-installer.s390x-9.0.0-openSUSE-Build16.3 \
MIRROR_HTTPS=https://openqa.opensuse.org/assets/repo/agama-installer.s390x-9.0.0-openSUSE-Build16.3 \
MIRROR_PREFIX=http://openqa.opensuse.org/assets/repo \
REPO_0=agama-installer.s390x-9.0.0-openSUSE-Build16.3 \
SUSEMIRROR=http://openqa.opensuse.org/assets/repo/agama-installer.s390x-9.0.0-openSUSE-Build16.3 \
VERSION=agama-9.0 \
_OBSOLETE=1

/usr/bin/openqa-cli api -X post isos?async=1 \
ARCH=s390x \
ASSET_256=agama-installer.s390x-9.0.0-openSUSE-Build8.7.iso.sha256 \
BUILD=8.7 \
CHECKSUM_ISO=$(cut -b-64 /var/lib/openqa/factory/other/agama-installer.s390x-9.0.0-openSUSE-Build8.7.iso.sha256 | grep -E '[0-9a-f]{5,40}' | head -n1) \
ASSET_256=agama-installer.s390x-9.0.0-openSUSE-Build16.3.iso.sha256 \
BUILD=16.3 \
CHECKSUM_ISO=$(cut -b-64 /var/lib/openqa/factory/other/agama-installer.s390x-9.0.0-openSUSE-Build16.3.iso.sha256 | grep -E '[0-9a-f]{5,40}' | head -n1) \
DISTRI=opensuse \
FLAVOR=agama-installer \
ISO=agama-installer.s390x-9.0.0-openSUSE-Build8.7.iso \
FULLURL=1 \
ISO=agama-installer.s390x-9.0.0-openSUSE-Build16.3.iso \
MIRROR_HTTP=http://openqa.opensuse.org/assets/repo/agama-installer.s390x-9.0.0-openSUSE-Build16.3 \
MIRROR_HTTPS=https://openqa.opensuse.org/assets/repo/agama-installer.s390x-9.0.0-openSUSE-Build16.3 \
MIRROR_PREFIX=http://openqa.opensuse.org/assets/repo \
REPO_0=agama-installer.s390x-9.0.0-openSUSE-Build16.3 \
SUSEMIRROR=http://openqa.opensuse.org/assets/repo/agama-installer.s390x-9.0.0-openSUSE-Build16.3 \
VERSION=agama-9.0 \
_OBSOLETE=1

20 changes: 12 additions & 8 deletions t/obs/systemsmanagement:Agama:Devel/print_rsync_iso.before
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
rsync --timeout=3600 -tlp4 --specials obspublish-other::openqa/systemsmanagement:Agama:Devel//images/*/agama-installer:openSUSE//*agama-installer.x86_64-9.0.0-openSUSE-Build8.7.iso /var/lib/openqa/factory/iso/agama-installer.x86_64-9.0.0-openSUSE-Build8.7.iso
rsync --timeout=3600 -tlp4 --specials obspublish-other::openqa/systemsmanagement:Agama:Devel//images/*/agama-installer:openSUSE//*agama-installer.x86_64-9.0.0-openSUSE-Build8.7.iso.sha256 /var/lib/openqa/factory/other/agama-installer.x86_64-9.0.0-openSUSE-Build8.7.iso.sha256
rsync --timeout=3600 -tlp4 --specials obspublish-other::openqa/systemsmanagement:Agama:Devel//images/*/agama-installer:openSUSE//*agama-installer.aarch64-9.0.0-openSUSE-Build8.7.iso /var/lib/openqa/factory/iso/agama-installer.aarch64-9.0.0-openSUSE-Build8.7.iso
rsync --timeout=3600 -tlp4 --specials obspublish-other::openqa/systemsmanagement:Agama:Devel//images/*/agama-installer:openSUSE//*agama-installer.aarch64-9.0.0-openSUSE-Build8.7.iso.sha256 /var/lib/openqa/factory/other/agama-installer.aarch64-9.0.0-openSUSE-Build8.7.iso.sha256
rsync --timeout=3600 -tlp4 --specials obspublish-other::openqa/systemsmanagement:Agama:Devel//images/*/agama-installer:openSUSE//*agama-installer.ppc64le-9.0.0-openSUSE-Build8.7.iso /var/lib/openqa/factory/iso/agama-installer.ppc64le-9.0.0-openSUSE-Build8.7.iso
rsync --timeout=3600 -tlp4 --specials obspublish-other::openqa/systemsmanagement:Agama:Devel//images/*/agama-installer:openSUSE//*agama-installer.ppc64le-9.0.0-openSUSE-Build8.7.iso.sha256 /var/lib/openqa/factory/other/agama-installer.ppc64le-9.0.0-openSUSE-Build8.7.iso.sha256
rsync --timeout=3600 -tlp4 --specials obspublish-other::openqa/systemsmanagement:Agama:Devel//images/*/agama-installer:openSUSE//*agama-installer.s390x-9.0.0-openSUSE-Build8.7.iso /var/lib/openqa/factory/iso/agama-installer.s390x-9.0.0-openSUSE-Build8.7.iso
rsync --timeout=3600 -tlp4 --specials obspublish-other::openqa/systemsmanagement:Agama:Devel//images/*/agama-installer:openSUSE//*agama-installer.s390x-9.0.0-openSUSE-Build8.7.iso.sha256 /var/lib/openqa/factory/other/agama-installer.s390x-9.0.0-openSUSE-Build8.7.iso.sha256
rsync --timeout=3600 -tlp4 --specials obspublish-other::openqa/systemsmanagement:Agama:Devel//images/*/agama-installer:openSUSE//*agama-installer.s390x-9.0.0-openSUSE-Build16.3.iso /var/lib/openqa/factory/iso/agama-installer.s390x-9.0.0-openSUSE-Build16.3.iso
rsync --timeout=3600 -tlp4 --specials obspublish-other::openqa/systemsmanagement:Agama:Devel//images/*/agama-installer:openSUSE//*agama-installer.s390x-9.0.0-openSUSE-Build16.3.iso.sha256 /var/lib/openqa/factory/other/agama-installer.s390x-9.0.0-openSUSE-Build16.3.iso.sha256
[ -d /var/lib/openqa/factory/repo/agama-installer.s390x-9.0.0-openSUSE-Build16.3 ] || {
mkdir /var/lib/openqa/factory/repo/agama-installer.s390x-9.0.0-openSUSE-Build16.3
bsdtar xf /var/lib/openqa/factory/iso/agama-installer.s390x-9.0.0-openSUSE-Build16.3.iso -C /var/lib/openqa/factory/repo/agama-installer.s390x-9.0.0-openSUSE-Build16.3
}
rsync --timeout=3600 -tlp4 --specials obspublish-other::openqa/systemsmanagement:Agama:Devel//images/*/agama-installer:openSUSE//*agama-installer.s390x-9.0.0-openSUSE-Build16.3.iso /var/lib/openqa/factory/iso/agama-installer.s390x-9.0.0-openSUSE-Build16.3.iso
rsync --timeout=3600 -tlp4 --specials obspublish-other::openqa/systemsmanagement:Agama:Devel//images/*/agama-installer:openSUSE//*agama-installer.s390x-9.0.0-openSUSE-Build16.3.iso.sha256 /var/lib/openqa/factory/other/agama-installer.s390x-9.0.0-openSUSE-Build16.3.iso.sha256
[ -d /var/lib/openqa/factory/repo/agama-installer.s390x-9.0.0-openSUSE-Build16.3 ] || {
mkdir /var/lib/openqa/factory/repo/agama-installer.s390x-9.0.0-openSUSE-Build16.3
bsdtar xf /var/lib/openqa/factory/iso/agama-installer.s390x-9.0.0-openSUSE-Build16.3.iso -C /var/lib/openqa/factory/repo/agama-installer.s390x-9.0.0-openSUSE-Build16.3
}
4 changes: 4 additions & 0 deletions t/obs/systemsmanagement:Agama:Devel/s390x/files_iso.lst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
agama-installer.aarch64-9.0.0-openSUSE-Build17.9.iso
agama-installer.ppc64le-9.0.0-openSUSE-Build17.9.iso
agama-installer.s390x-9.0.0-openSUSE-Build17.9.iso
agama-installer.x86_64-9.0.0-openSUSE-Build17.9.iso
17 changes: 17 additions & 0 deletions t/obs/systemsmanagement:Agama:Devel/s390x/print_openqa.before
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/usr/bin/openqa-cli api -X post isos?async=1 \
ARCH=s390x \
ASSET_256=agama-installer.s390x-9.0.0-openSUSE-Build17.9.iso.sha256 \
BUILD=17.9 \
CHECKSUM_ISO=$(cut -b-64 /var/lib/openqa/factory/other/agama-installer.s390x-9.0.0-openSUSE-Build17.9.iso.sha256 | grep -E '[0-9a-f]{5,40}' | head -n1) \
DISTRI=opensuse \
FLAVOR=agama-installer \
FULLURL=1 \
ISO=agama-installer.s390x-9.0.0-openSUSE-Build17.9.iso \
MIRROR_HTTP=http://openqa.opensuse.org/assets/repo/agama-installer.s390x-9.0.0-openSUSE-Build17.9 \
MIRROR_HTTPS=https://openqa.opensuse.org/assets/repo/agama-installer.s390x-9.0.0-openSUSE-Build17.9 \
MIRROR_PREFIX=http://openqa.opensuse.org/assets/repo \
REPO_0=agama-installer.s390x-9.0.0-openSUSE-Build17.9 \
SUSEMIRROR=http://openqa.opensuse.org/assets/repo/agama-installer.s390x-9.0.0-openSUSE-Build17.9 \
VERSION=agama-9.0 \
_OBSOLETE=1

Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
rsync --timeout=3600 -tlp4 --specials obspublish-other::openqa/systemsmanagement:Agama:Devel//iso/images/*/agama-installer:openSUSE//*agama-installer.s390x-9.0.0-openSUSE-Build17.9.iso /var/lib/openqa/factory/iso/agama-installer.s390x-9.0.0-openSUSE-Build17.9.iso
rsync --timeout=3600 -tlp4 --specials obspublish-other::openqa/systemsmanagement:Agama:Devel//iso/images/*/agama-installer:openSUSE//*agama-installer.s390x-9.0.0-openSUSE-Build17.9.iso.sha256 /var/lib/openqa/factory/other/agama-installer.s390x-9.0.0-openSUSE-Build17.9.iso.sha256
[ -d /var/lib/openqa/factory/repo/agama-installer.s390x-9.0.0-openSUSE-Build17.9 ] || {
mkdir /var/lib/openqa/factory/repo/agama-installer.s390x-9.0.0-openSUSE-Build17.9
bsdtar xf /var/lib/openqa/factory/iso/agama-installer.s390x-9.0.0-openSUSE-Build17.9.iso -C /var/lib/openqa/factory/repo/agama-installer.s390x-9.0.0-openSUSE-Build17.9
}
Empty file.
14 changes: 9 additions & 5 deletions xml/obs/systemsmanagement:Agama:Devel.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@
project_pattern="systemsmanagement:Agama:Devel"
dist_path="obspublish-other::openqa/systemsmanagement:Agama:Devel/"
distri="opensuse"
version="agama-9.0"
archs="x86_64 aarch64 ppc64le s390x">
<flavor name="agama-installer" folder="images/*/agama-installer:openSUSE/">
<hdd filemask="agama-installer.*-openSUSE-Build.*iso$"/>
</flavor>
version="agama-9.0">
<batch name="base" archs="86_64 aarch64 ppc64le">
<flavor name="agama-installer" folder="images/*/agama-installer:openSUSE/">
<hdd filemask="agama-installer.*-openSUSE-Build.*iso$"/>
</flavor>
</batch>
<batch name="s390x" archs="s390x" iso_path="iso">
<flavor name="agama-installer" folder="images/*/agama-installer:openSUSE/" iso="extract_as_repo" media1="0"/>
</batch>
</openQA>

0 comments on commit cf455e3

Please sign in to comment.