ykarel / centos / cbs-tools

Forked from centos/cbs-tools 4 years ago
Clone

Blame scripts/sigs/cloud/openstack/inheritance.sh

Thomas Oulevey 9df7b3
#! /bin/bash
Thomas Oulevey 9df7b3
Thomas Oulevey 9df7b3
# Starting w/ Rocky release, Cloud SIG OpenStack do not use common tag anymore
Thomas Oulevey 9df7b3
# For compatibility with existing build targets, we explicitly inherit common tag
Thomas Oulevey 9df7b3
Thomas Oulevey 9df7b3
declare -a RELEASES
Thomas Oulevey 9df7b3
RELEASES=("juno" "kilo" "liberty" "mitaka" "newton" "ocata" "pike")
Thomas Oulevey 9df7b3
for release in ${RELEASES[@]}; do
Thomas Oulevey 9df7b3
    koji add-tag-inheritance --priority 15 \
Thomas Oulevey 9df7b3
            cloud7-openstack-$release-el7-build cloud7-openstack-common-candidate
Thomas Oulevey 9df7b3
done
Thomas Oulevey 9df7b3
Thomas Oulevey 9df7b3
# Specific for EL6 (only one release)
Thomas Oulevey 9df7b3
koji add-tag-inheritance --priority 15 \
Thomas Oulevey 9df7b3
         cloud6-openstack-juno-el6-build cloud6-openstack-common-candidate