Merge pull request #3007 from lkocman/publish_distro_156
add Leap 15.6 publish_distro config
This commit is contained in:
commit
4be49e9b80
51
publish_distro_conf/publish_leap156.config
Normal file
51
publish_distro_conf/publish_leap156.config
Normal file
@ -0,0 +1,51 @@
|
||||
# vim:syntax=sh
|
||||
|
||||
leap_version=15.6
|
||||
qu="" # empty string for GA, QuarterlyUpdate repins have -N in version
|
||||
logfile_base=~/publish_logs/$leap_version/$(date -d "$date" '+%Y/%m/%d/%H%M')
|
||||
synclog="${logfile_base}.log"
|
||||
deletelog="${logfile_base}-deletes.log"
|
||||
path="/distribution/leap/$leap_version"
|
||||
flavors=(DVD-x86_64 NET-x86_64 DVD-aarch64 NET-aarch64 DVD-ppc64le NET-ppc64le DVD-s390x NET-s390x)
|
||||
|
||||
get_version() {
|
||||
# get expected version from first flavor
|
||||
if [ -z "$version" ]; then
|
||||
version=`echo $stage/iso/openSUSE-Leap-$leap_version$qu-$flavor-Build[0123456789]*.[0123456789]*-Media.iso`
|
||||
version=${version##*Build}
|
||||
version=${version%-*}
|
||||
if [ -z "$version" ]; then
|
||||
echo "no version found, exit." | tee -a $synclog
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
get_iso()
|
||||
{
|
||||
iso="openSUSE-Leap-$leap_version$qu-$flavor-Build$version-Media.iso"
|
||||
}
|
||||
|
||||
get_iso_link()
|
||||
{
|
||||
link="$stage/iso/openSUSE-Leap-$leap_version$qu-$flavor-Current.iso"
|
||||
}
|
||||
|
||||
get_diff_url()
|
||||
{
|
||||
url="$diff_url_base/$leap_version/diff/$version"
|
||||
}
|
||||
|
||||
get_mark_published_url()
|
||||
{
|
||||
url="$diff_url_base/$leap_version/current"
|
||||
}
|
||||
|
||||
get_changes_filename()
|
||||
{
|
||||
# ChangeLog files from obsgendiff are used instead
|
||||
#changes="$changes_dir_base/jump/$jump_version/Changes.$version.txt"
|
||||
:
|
||||
#changes="$changes_dir_base/leap/$leap_version/Changes.$version.txt"
|
||||
}
|
||||
|
61
publish_distro_conf/publish_leap156_appliances.config
Normal file
61
publish_distro_conf/publish_leap156_appliances.config
Normal file
@ -0,0 +1,61 @@
|
||||
# vim:syntax=sh
|
||||
|
||||
leap_version=15.6
|
||||
logfile_base=~/publish_logs/$leap_version-appliances/$(date -d "$date" '+%Y/%m/%d/%H%M')
|
||||
synclog="${logfile_base}.log"
|
||||
deletelog="${logfile_base}-deletes.log"
|
||||
path="/distribution/leap/$leap_version/appliances"
|
||||
flavors=()
|
||||
repos=()
|
||||
extra_repos=()
|
||||
isodir=""
|
||||
|
||||
get_version() {
|
||||
# get expected version from first flavor
|
||||
if [ -z "$version" ]; then
|
||||
version=`echo $stage/openSUSE-Leap-$leap_version-Minimal-VM.x86_64-$flavor-Build*.qcow2`
|
||||
version=${version##*Build}
|
||||
version=${version%.*}
|
||||
if [ -z "$version" ]; then
|
||||
echo "no version found, exit." | tee -a $synclog
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
_get_iso()
|
||||
{
|
||||
local snapshot="$1"
|
||||
local suffix=qcow2
|
||||
if [ "$flavor" = 'MS-HyperV' ]; then
|
||||
suffix=vhdx.xz
|
||||
elif [ "$flavor" = 'VMware' ]; then
|
||||
suffix=vmdk.xz
|
||||
fi
|
||||
echo "openSUSE-Leap-$leap_version-Minimal-VM.x86_64-$flavor-$snapshot.$suffix"
|
||||
}
|
||||
|
||||
get_iso()
|
||||
{
|
||||
iso=`_get_iso "Build$version"`
|
||||
}
|
||||
|
||||
get_iso_link()
|
||||
{
|
||||
link="$stage/`_get_iso Current`"
|
||||
}
|
||||
|
||||
get_diff_url()
|
||||
{
|
||||
url=""
|
||||
}
|
||||
|
||||
get_mark_published_url()
|
||||
{
|
||||
url=""
|
||||
}
|
||||
|
||||
get_changes_filename()
|
||||
{
|
||||
changes=""
|
||||
}
|
49
publish_distro_conf/publish_leap156_live.config
Normal file
49
publish_distro_conf/publish_leap156_live.config
Normal file
@ -0,0 +1,49 @@
|
||||
# vim:syntax=sh
|
||||
|
||||
leap_version=15.6
|
||||
logfile_base=~/publish_logs/$leap_version-live/$(date -d "$date" '+%Y/%m/%d/%H%M')
|
||||
synclog="${logfile_base}.log"
|
||||
deletelog="${logfile_base}-deletes.log"
|
||||
path="/distribution/leap/$leap_version/live"
|
||||
flavors=(GNOME-Live-x86_64 KDE-Live-x86_64 Rescue-CD-x86_64)
|
||||
repos=()
|
||||
extra_repos=()
|
||||
isodir=""
|
||||
|
||||
get_version() {
|
||||
# get expected version from first flavor
|
||||
if [ -z "$version" ]; then
|
||||
version=`echo $stage/openSUSE-Leap-$leap_version-$flavor-Snapshot*-Media.iso`
|
||||
version=${version##*Snapshot}
|
||||
version=${version%-*}
|
||||
if [ -z "$version" ]; then
|
||||
echo "no version found, exit." | tee -a $synclog
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
get_iso()
|
||||
{
|
||||
iso="openSUSE-Leap-$leap_version-$flavor-Snapshot$version-Media.iso"
|
||||
}
|
||||
|
||||
get_iso_link()
|
||||
{
|
||||
link="$stage/openSUSE-Leap-$leap_version-$flavor-Current.iso"
|
||||
}
|
||||
|
||||
get_diff_url()
|
||||
{
|
||||
url=""
|
||||
}
|
||||
|
||||
get_mark_published_url()
|
||||
{
|
||||
url=""
|
||||
}
|
||||
|
||||
get_changes_filename()
|
||||
{
|
||||
changes=""
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user