Merge pull request #3071 from lkocman/leapmicro60
LeapMicro 6.0 pkglistgen for 000productcompose
This commit is contained in:
commit
f155c32dec
@ -31,8 +31,8 @@ pipelines:
|
|||||||
git:
|
git:
|
||||||
git: https://github.com/openSUSE/openSUSE-release-tools.git
|
git: https://github.com/openSUSE/openSUSE-release-tools.git
|
||||||
stages:
|
stages:
|
||||||
- Update.000product:
|
- Update.000productcompose:
|
||||||
resources:
|
resources:
|
||||||
- repo-checker
|
- repo-checker
|
||||||
tasks:
|
tasks:
|
||||||
- script: ./pkglistgen.py -A https://api.opensuse.org --debug update_and_solve -p openSUSE:Leap:Micro:6.0 -s target
|
- script: ./pkglistgen.py --verbose -A https://api.opensuse.org update_and_solve --project openSUSE:Leap:Micro:6.0 --scope target --engine product_composer --force
|
||||||
|
@ -6,12 +6,13 @@ logfile_base=~/publish_logs/$micro_version/$(date -d "$date" '+%Y/%m/%d/%H%M')
|
|||||||
synclog="${logfile_base}.log"
|
synclog="${logfile_base}.log"
|
||||||
deletelog="${logfile_base}-deletes.log"
|
deletelog="${logfile_base}-deletes.log"
|
||||||
path="/distribution/leap-micro/$micro_version/product"
|
path="/distribution/leap-micro/$micro_version/product"
|
||||||
flavors=(DVD-x86_64 DVD-aarch64)
|
flavors=(x86_64 aarch64)
|
||||||
|
|
||||||
|
# openSUSE-Leap-Micro-6.0-aarch64-Build13.1.iso is the filename by 000productcompose
|
||||||
get_version() {
|
get_version() {
|
||||||
# get expected version from first flavor
|
# get expected version from first flavor
|
||||||
if [ -z "$version" ]; then
|
if [ -z "$version" ]; then
|
||||||
version=`echo $stage/iso/openSUSE-Leap-Micro-$micro_version$qu-$flavor-Build[0123456789]*.[0123456789]*-Media.iso`
|
version=`echo $stage/iso/openSUSE-Leap-Micro-$micro_version$qu-$flavor-Build[0123456789]*.[0123456789]*.iso`
|
||||||
version=${version##*Build}
|
version=${version##*Build}
|
||||||
version=${version%-*}
|
version=${version%-*}
|
||||||
if [ -z "$version" ]; then
|
if [ -z "$version" ]; then
|
||||||
@ -23,7 +24,8 @@ get_version() {
|
|||||||
|
|
||||||
get_iso()
|
get_iso()
|
||||||
{
|
{
|
||||||
iso="openSUSE-Leap-Micro-$micro_version$qu-$flavor-Build$version-Media.iso"
|
# openSUSE-Leap-Micro-6.0-aarch64-Build13.1.iso
|
||||||
|
iso="openSUSE-Leap-Micro-$micro_version$qu-$flavor-Build$version.iso"
|
||||||
}
|
}
|
||||||
|
|
||||||
get_iso_link()
|
get_iso_link()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user