/syncer/trunk

To get this branch, use:
bzr branch https://code.breezy-vcs.org/syncer/trunk
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash

for I in breezy/trunk breezy/3.0 breezy/3.1 breezy-debian/trunk breezy-svn/trunk breezy-hg/trunk breezy-loom/trunk breezy-builder/trunk loggerhead/trunk qbrz/trunk
do
	bzr push --overwrite -d ${DATA}/$I bzr+ssh://breezy-www@code.breezy-vcs.org/srv/code.breezy-vcs.org/$I
done

if [ -n "${PUSHGATEWAY}" ]; then
    cat <<EOF | curl --data-binary @- ${PUSHGATEWAY}/metrics/job/code.breezy-vcs.org-push
# TYPE job_last_success_unixtime gauge
job_last_success_unixtime $(date +%s).0
EOF
fi