Merge pull request #311 from k0da/test_dvd_staging
create test dvd for stagings on power
This commit is contained in:
commit
84d2943639
@ -97,12 +97,14 @@ function start_creating() {
|
|||||||
regenerate_pl openSUSE:$target:Rings:1-MinimalX $target 1 $target-bootstrap $target-minimalx $arch
|
regenerate_pl openSUSE:$target:Rings:1-MinimalX $target 1 $target-bootstrap $target-minimalx $arch
|
||||||
|
|
||||||
#we don't have all architectures yet.
|
#we don't have all architectures yet.
|
||||||
|
projects=$(osc api /search/project/id?match="starts-with(@name,\"openSUSE:$target:Staging\")" | grep name | cut -d\' -f2)
|
||||||
if [ "$arch" = "x86_64" ];then
|
if [ "$arch" = "x86_64" ];then
|
||||||
sync_prj openSUSE:$target:Rings:2-TestDVD/standard $target-testdvd $arch
|
sync_prj openSUSE:$target:Rings:2-TestDVD/standard $target-testdvd $arch
|
||||||
regenerate_pl openSUSE:$target:Rings:2-TestDVD $target 2 $target-bootstrap $target-minimalx $target-testdvd $arch
|
regenerate_pl openSUSE:$target:Rings:2-TestDVD $target 2 $target-bootstrap $target-minimalx $target-testdvd $arch
|
||||||
|
$projects+=" openSUSE:$target:Rings:2-TestDVD"
|
||||||
|
fi
|
||||||
|
|
||||||
projects=$(osc api /search/project/id?match="starts-with(@name,\"openSUSE:$target:Staging\")" | grep name | cut -d\' -f2)
|
for prj in $projects; do
|
||||||
for prj in openSUSE:$target:Rings:2-TestDVD $projects; do
|
|
||||||
l=$(echo $prj | cut -d: -f4)
|
l=$(echo $prj | cut -d: -f4)
|
||||||
use_bc="staging_$target:$l-bc"
|
use_bc="staging_$target:$l-bc"
|
||||||
if [ "$l" = "A" -o "$l" = "B" ]; then
|
if [ "$l" = "A" -o "$l" = "B" ]; then
|
||||||
@ -127,7 +129,6 @@ function start_creating() {
|
|||||||
regenerate_pl "openSUSE:$target:Staging:$l:DVD" $target 2 $use_bc staging_$target:$l "staging_$target:$l-dvd" $arch
|
regenerate_pl "openSUSE:$target:Staging:$l:DVD" $target 2 $use_bc staging_$target:$l "staging_$target:$l-dvd" $arch
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
fi
|
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user