Skip to content

Commit

Permalink
Extract as repo to openqa repo folder
Browse files Browse the repository at this point in the history
  • Loading branch information
tinawang123 committed Dec 11, 2024
1 parent cef172d commit e3c61ac
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 1 deletion.
18 changes: 18 additions & 0 deletions t/obs/systemsmanagement:Agama:Devel/base/print_openqa.before
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -17,6 +23,12 @@
DISTRI=opensuse \
FLAVOR=agama-installer \
ISO=agama-installer.aarch64-9.0.0-openSUSE-Build18.1.iso \
FULLURL=1 \
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

Expand All @@ -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

12 changes: 12 additions & 0 deletions t/obs/systemsmanagement:Agama:Devel/base/print_rsync_iso.before
Original file line number Diff line number Diff line change
@@ -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
}
2 changes: 1 addition & 1 deletion xml/obs/systemsmanagement:Agama:Devel.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
distri="opensuse"
version="agama-9.0">
<batch name="base" archs="x86_64 aarch64 ppc64le">
<flavor name="agama-installer" folder="images/*/agama-installer:openSUSE/" iso="1" media1="0"/>
<flavor name="agama-installer" folder="images/*/agama-installer:openSUSE/" iso="iso" extract_as_repo="1" media1="0"/>
</batch>
<batch name="s390x" archs="s390x">
<flavor name="agama-installer" folder="images/*/agama-installer:openSUSE/" iso="extract_as_repo" ln_iso_to_repo="1" media1="0"/>
Expand Down

0 comments on commit e3c61ac

Please sign in to comment.