fix compose ID naming for branched
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
This commit is contained in:
parent
2330bf3df3
commit
513c3e0576
@ -22,7 +22,7 @@ RSYNCPREFIX="sudo -u ftpsync"
|
|||||||
ATOMIC=$(mktemp -d /tmp/atomic.${DIST}.$DATE.XXXX)
|
ATOMIC=$(mktemp -d /tmp/atomic.${DIST}.$DATE.XXXX)
|
||||||
ATOMICREPO="/mnt/koji/compose/atomic/$BRANCHED/"
|
ATOMICREPO="/mnt/koji/compose/atomic/$BRANCHED/"
|
||||||
ATOMICDEST="/mnt/koji/atomic/$BRANCHED/"
|
ATOMICDEST="/mnt/koji/atomic/$BRANCHED/"
|
||||||
OLDCOMPOSE_ID=$(cat $TARGET_DIR/latest-Fedora-Rawhide/COMPOSE_ID)
|
OLDCOMPOSE_ID=$(cat $TARGET_DIR/latest-Fedora-Branched/COMPOSE_ID)
|
||||||
# uncomment and edit for resuming a failed compose
|
# uncomment and edit for resuming a failed compose
|
||||||
#COMPOSE_ID="Fedora-23-20150530.n.0"
|
#COMPOSE_ID="Fedora-23-20150530.n.0"
|
||||||
|
|
||||||
@ -68,7 +68,7 @@ if [ "$?" = "0" ]; then
|
|||||||
export mail=0
|
export mail=0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
NEWCOMPOSE_ID=$(cat $TARGET_DIR/latest-Fedora-Rawhide/COMPOSE_ID)
|
NEWCOMPOSE_ID=$(cat $TARGET_DIR/latest-Fedora-Branched/COMPOSE_ID)
|
||||||
SHORTCOMPOSE_ID=$(echo $NEWCOMPOSE_ID|sed -e 's|Fedora-.*-||g')
|
SHORTCOMPOSE_ID=$(echo $NEWCOMPOSE_ID|sed -e 's|Fedora-.*-||g')
|
||||||
fedmsg_json_start=$(printf '{"log": "start", "branch": "%s", "arch": "%s", "compose_id": "%s"}' "$BRANCHED" "$ARCH" "$NEWCOMPOSE_ID")
|
fedmsg_json_start=$(printf '{"log": "start", "branch": "%s", "arch": "%s", "compose_id": "%s"}' "$BRANCHED" "$ARCH" "$NEWCOMPOSE_ID")
|
||||||
fedmsg_json_done=$(printf '{"log": "done", "branch": "%s", "arch": "%s", "compose_id": "%s"}' "$BRANCHED" "$ARCH" "$NEWCOMPOSE_ID")
|
fedmsg_json_done=$(printf '{"log": "done", "branch": "%s", "arch": "%s", "compose_id": "%s"}' "$BRANCHED" "$ARCH" "$NEWCOMPOSE_ID")
|
||||||
|
Loading…
Reference in New Issue
Block a user