~ubuntu-archive/ubuntu-archive-scripts/trunk

« back to all changes in this revision

Viewing changes to run-britney

  • Committer: Martin Pitt
  • Date: 2016-07-08 13:07:13 UTC
  • Revision ID: martin.pitt@canonical.com-20160708130713-9j4h7gvvwor5r7gr
add run-autopkgtest symlink to britney2-ubuntu

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh
 
2
set -e
 
3
 
 
4
if [ "$1" = --debug ]; then
 
5
        REDIR=
 
6
else
 
7
        REDIR='>/dev/null 2>&1'
 
8
fi
 
9
 
 
10
# ubuntu-archive-reporting needs this
 
11
bzr pull -q --overwrite -d "$HOME/packages-arch-specific"
 
12
 
 
13
cd "$HOME/testing"
 
14
if ! lockfile -r0 .run-britney.lock; then
 
15
    exit 1
 
16
fi
 
17
trap "rm -f $HOME/testing/.run-britney.lock" EXIT HUP INT QUIT TERM
 
18
eval ./britney merge stats $REDIR
 
19
"$HOME/ubuntu-archive-reporting/outdate-report" >www/yakkety_outdate_all.txt
 
20
rsync -a --delete www/ "$HOME/public_html/testing/"
 
21
 
 
22
cd "$HOME/testing-ports"
 
23
eval ./britney merge stats $REDIR
 
24
rsync -a --delete www/ "$HOME/public_html/testing-ports/"