#!/bin/bash
function notify_reimzul() {
echo $* | nc nazar.karan.org 531121
}
Repo=$2
RelVer=$1
for arch in i386 x86_64; do
for Vari in cd dvd ; do
tag=$(cat ${Repo}/${arch}/CentOS_BuildTag)
notify_reimzul "#centos-qa Live ${Vari} Build run Started for ${arch} on Tag: ${tag}"
./build_c6_live.sh -a ${arch} -p ${Repo}/${arch}/ -m ${Vari} -r RelVer
notify_reimzul "#centos-qa Live ${Vari} Build run Done for ${arch} on Tag: ${tag}"
done
done
# XXX: add a size test to make sure we are within the limits expected