Difference between revisions of "Koji Testbed"
From PDP/Grid Wiki
Jump to navigationJump to searchLine 195: | Line 195: | ||
This does not hold true for EPEL branches, which are not inheriting from one another. | This does not hold true for EPEL branches, which are not inheriting from one another. | ||
− | for i in | + | for i in 26 27 28 ; do |
prev=`expr $i - 1` | prev=`expr $i - 1` | ||
koji add-tag --parent f$prev f$i | koji add-tag --parent f$prev f$i | ||
− | koji add-tag --parent f$prev-basedeps f$i-basedeps | + | koji add-tag --parent f$prev-basedeps f${i}-basedeps |
− | koji add-tag --parent f$i --parent f$i-basedeps --arches "i386 x86_64" f$i-build | + | # koji add-tag --parent f$i --parent f$i-basedeps --arches "i386 x86_64" f${i}-build |
+ | koji add-tag --parent f$i --parent f${i}-basedeps --arches "x86_64" f${i}-build | ||
for j in candidates testing release; do | for j in candidates testing release; do | ||
− | koji add-tag --parent f$i f$i-$j | + | koji add-tag --parent f$i f${i}-$j |
done | done | ||
− | koji add-external-repo -t f$i-build dist-f$i-base http://mirror.nl.leaseweb.net/fedora/linux/releases/$i/Everything/\$arch/os/ | + | koji add-external-repo -t f${i}-build dist-f${i}-base http://mirror.nl.leaseweb.net/fedora/linux/releases/${i}/Everything/\$arch/os/ |
− | koji add-target f$i f$i-build f$i-candidates | + | koji add-external-repo -t f${i}-build dist-f${i}-updates http://mirror.nl.leaseweb.net/fedora/linux/updates/${i}/\$arch/ |
+ | koji add-target f$i f${i}-build f${i}-candidates | ||
+ | # '''NOTE''': probably need to add priorities to the parents, e.g. using something like | ||
+ | koji edit-tag-inheritance --priority 2 f${i}-build f${i}-basedeps | ||
+ | koji add-tag-inheritance --priority 1 f${i}-build f${i} | ||
done | done | ||
− | |||
− | |||
− | |||
− | |||
= Automated builds from tags in mwsec = | = Automated builds from tags in mwsec = |