Revision b457c9f4
Added by Dominic Cleal over 8 years ago
koji/copy-tags-commands.sh | ||
---|---|---|
echo kkoji add-tag-inheritance --priority=10 $PRODUCT-$VERSION-$SYSTEM-build $PRODUCT-$VERSION-nonscl-$SYSTEM
|
||
done
|
||
|
||
# create -dist tag for mash, built from SCL+nonscl tags (like a SQL view)
|
||
for SYSTEM in $NONSCL_SYSTEMS $SCL_SYSTEMS; do
|
||
echo kkoji add-tag $PRODUCT-$VERSION-$SYSTEM-dist
|
||
echo kkoji add-tag-inheritance --priority=20 $PRODUCT-$VERSION-$SYSTEM-dist $PRODUCT-$VERSION-$SYSTEM
|
||
done
|
||
for SYSTEM in $SCL_SYSTEMS; do
|
||
echo kkoji add-tag-inheritance --priority=10 $PRODUCT-$VERSION-$SYSTEM-dist $PRODUCT-$VERSION-nonscl-$SYSTEM
|
||
done
|
||
|
||
### Plugins
|
||
PRODUCT=foreman-plugins
|
||
# clone plugin tags for non-SCL OSes, nonscl tags for SCL OSes
|
||
... | ... | |
for SYSTEM in $NONSCL_SYSTEMS $SCL_SYSTEMS $(echo $SCL_SYSTEMS | sed 's/\(^\| \)/\1nonscl-/g'); do
|
||
echo kkoji add-tag-inheritance --priority=10 $PRODUCT-$VERSION-$SYSTEM-build foreman-$VERSION-$SYSTEM
|
||
done
|
||
|
||
# create -dist tag for mash, built from SCL+nonscl tags (like a SQL view)
|
||
for SYSTEM in $NONSCL_SYSTEMS $SCL_SYSTEMS; do
|
||
echo kkoji add-tag $PRODUCT-$VERSION-$SYSTEM-dist
|
||
echo kkoji add-tag-inheritance --priority=20 $PRODUCT-$VERSION-$SYSTEM-dist $PRODUCT-$VERSION-$SYSTEM
|
||
done
|
||
for SYSTEM in $SCL_SYSTEMS; do
|
||
echo kkoji add-tag-inheritance --priority=10 $PRODUCT-$VERSION-$SYSTEM-dist $PRODUCT-$VERSION-nonscl-$SYSTEM
|
||
done
|
Also available in: Unified diff
Add -dist tag for mashing of SCL + nonscl tags
Create a new -dist tag for core and plugins when cloning, which inherits
from both SCL and non-SCL tags. Mash then runs against this to generate
the final repos.
This saves having to inherit non-SCL into SCL tags which causes non-SCL
packages to get cloned into SCL on branching.