Add Leap Micro 6.1 publish_distro configs
This commit is contained in:
parent
81e475905e
commit
5e798097f5
52
publish_distro_conf/publish_leap-micro61.config
Normal file
52
publish_distro_conf/publish_leap-micro61.config
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
# vim:syntax=sh
|
||||||
|
|
||||||
|
micro_version=6.1
|
||||||
|
qu="" # empty string for GA, QuarterlyUpdate repins have -N in version
|
||||||
|
logfile_base=~/publish_logs/$micro_version/$(date -d "$date" '+%Y/%m/%d/%H%M')
|
||||||
|
synclog="${logfile_base}.log"
|
||||||
|
deletelog="${logfile_base}-deletes.log"
|
||||||
|
path="/distribution/leap-micro/$micro_version/product"
|
||||||
|
flavors=(x86_64 aarch64)
|
||||||
|
|
||||||
|
# openSUSE-Leap-Micro-6.1-aarch64-Build13.1.iso is the filename by 000productcompose
|
||||||
|
get_version() {
|
||||||
|
# get expected version from first flavor
|
||||||
|
if [ -z "$version" ]; then
|
||||||
|
version=`echo $stage/iso/openSUSE-Leap-Micro-$micro_version$qu-$flavor-Build[0123456789]*.[0123456789]*.iso`
|
||||||
|
version=${version##*Build}
|
||||||
|
version=${version%-*}
|
||||||
|
if [ -z "$version" ]; then
|
||||||
|
echo "no version found, exit." | tee -a $synclog
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
get_iso()
|
||||||
|
{
|
||||||
|
# openSUSE-Leap-Micro-6.1-aarch64-Build13.1.iso
|
||||||
|
iso="openSUSE-Leap-Micro-$micro_version$qu-$flavor-Build$version.iso"
|
||||||
|
}
|
||||||
|
|
||||||
|
get_iso_link()
|
||||||
|
{
|
||||||
|
link="$stage/iso/openSUSE-Leap-$micro_version$qu-$flavor-Current.iso"
|
||||||
|
}
|
||||||
|
|
||||||
|
get_diff_url()
|
||||||
|
{
|
||||||
|
url="$diff_url_base/$micro_version/diff/$version"
|
||||||
|
}
|
||||||
|
|
||||||
|
get_mark_published_url()
|
||||||
|
{
|
||||||
|
url="$diff_url_base/$micro_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/$micro_version/Changes.$version.txt"
|
||||||
|
}
|
57
publish_distro_conf/publish_leap-micro61_appliances.config
Normal file
57
publish_distro_conf/publish_leap-micro61_appliances.config
Normal file
@ -0,0 +1,57 @@
|
|||||||
|
# vim:syntax=sh
|
||||||
|
|
||||||
|
micro_version=6.1
|
||||||
|
logfile_base=~/publish_logs/$micro_version-appliances/$(date -d "$date" '+%Y/%m/%d/%H%M')
|
||||||
|
synclog="${logfile_base}.log"
|
||||||
|
deletelog="${logfile_base}-deletes.log"
|
||||||
|
path="/distribution/leap-micro/$micro_version/appliances"
|
||||||
|
flavors=(Default-SelfInstall)
|
||||||
|
repos=()
|
||||||
|
extra_repos=()
|
||||||
|
isodir=""
|
||||||
|
|
||||||
|
get_version() {
|
||||||
|
# get expected version from first flavor
|
||||||
|
if [ -z "$version" ]; then
|
||||||
|
version=`echo $stage/openSUSE-Leap-Micro.x86_64-$micro_version-$flavor-Build*.raw.xz`
|
||||||
|
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=xz
|
||||||
|
# echo "openSUSE-Leap-Micro-$micro_version-JeOS.x86_64-$micro_version.0-$flavor-$snapshot.$suffix"
|
||||||
|
echo "openSUSE-Leap-Micro.x86_64-$micro_version-$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=""
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user