Difference between revisions of "Koji Testbed"

From PDP/Grid Wiki
Jump to navigationJump to search
(One intermediate revision by the same user not shown)
Line 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 18 19 20 ; do
+
  for i in 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
+
    # '''NOTE''': up to 27, we should leave out the ''Everything'' for the updates
 +
    koji add-external-repo -t f${i}-build dist-f${i}-updates http://mirror.nl.leaseweb.net/fedora/linux/updates/${i}/Everything/\$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
 
'''NOTE''': probably need to add priorities to the parents, e.g. using something like
 
koji edit-tag-inheritance --priority 2 f22-build f22-basedeps
 
koji add-tag-inheritance --priority 1 f22-build f22
 
  
 
= Automated builds from tags in mwsec =
 
= Automated builds from tags in mwsec =

Revision as of 18:34, 29 July 2018