From 63f4d07565ab32984d8f5279621ca78ce69e6860 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Mar 03 2016 19:12:28 +0000 Subject: Just re-use the fedmsg definition from the releng repo. Signed-off-by: Ralph Bean --- diff --git a/nightly.sh b/nightly.sh index 062fd5c..d1cee0d 100755 --- a/nightly.sh +++ b/nightly.sh @@ -37,6 +37,17 @@ else git clone https://pagure.io/releng.git fi +# Set up our fedmsg function, using the releng repo definition +fedmsg_json_start=$(printf '{"log": "start", "branch": "%s", "arch": "%s"}' "$BRANCHED" "$ARCH") +fedmsg_json_done=$(printf '{"log": "done", "branch": "%s", "arch": "%s"}' "$BRANCHED" "$ARCH") +FEDMSG_MODNAME="compose" +FEDMSG_CERTPREFIX="releng" +. ./releng/scripts/fedmsg-functions.sh + +# Announce that we are starting... +send_fedmsg "${fedmsg_json_start}" ${DIST} start + + pushd $TMPDIR git clone https://git.fedorahosted.org/git/comps.git && { pushd comps