summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-11-17 00:57:55 +0100
committerHolger Levsen <holger@layer-acht.org>2015-11-17 00:57:55 +0100
commita70412de32dd215966e507f6c3db399830420219 (patch)
treecf7b3d2bda301b60786519416045f1948548265a
parentc7e292a0f5a426892a5bbd3e7f95404581cdac7f (diff)
downloadjenkins.debian.net-a70412de32dd215966e507f6c3db399830420219.tar.xz
torbrowser tests: new job to test tbb-l from sid on jessie
-rwxr-xr-xbin/test_torbrowser-launcher.sh13
-rw-r--r--job-cfg/torbrowser-launcher.yaml12
2 files changed, 18 insertions, 7 deletions
diff --git a/bin/test_torbrowser-launcher.sh b/bin/test_torbrowser-launcher.sh
index b5bb20b4..a8afe74b 100755
--- a/bin/test_torbrowser-launcher.sh
+++ b/bin/test_torbrowser-launcher.sh
@@ -261,6 +261,7 @@ if [ -z "$1" ] ; then
exit 1
fi
SUITE=$1
+UPGRADE_SUITE=""
TMPDIR=$(mktemp -d) # where everything actually happens
TBL_LOGFILE=$(mktemp)
SESSION="tbb-launcher-$SUITE-$(basename $TMPDIR)"
@@ -280,9 +281,11 @@ if [ "$2" = "git" ] ; then
cp -r * $TMPDIR/git
elif [ "$SUITE" = "experimental" ] || [ "$2" = "experimental" ] ; then
SUITE=unstable
- EXPERIMENTAL=yes
+ UPGRADE_SUITE=experimental
elif [ "$2" = "backports" ] ; then
- BACKPORTS=yes
+ UPGRADE_SUITE=$SUITE-backports
+elif [ "$2" = "unstable" ] ; then
+ UPGRADE_SUITE=unstable
fi
WORKSPACE=$(pwd)
RESULTS=$WORKSPACE/results
@@ -299,10 +302,8 @@ echo "$(date -u) - testing torbrowser-launcher on $SUITE now."
begin_session
if [ "$2" = "git" ] ; then
build_and_upgrade_to_git_version
-elif [ "$EXPERIMENTAL" = "yes" ] ; then
- upgrade_to_newer_packaged_version_in experimental
-elif [ "$BACKPORTS" = "yes" ] ; then
- upgrade_to_newer_packaged_version_in $SUITE-backports
+elif [ -n "$UPGRADE_SUITE" ] ; then
+ upgrade_to_newer_packaged_version_in $UPGRADE_SUITE
fi
download_and_launch
end_session
diff --git a/job-cfg/torbrowser-launcher.yaml b/job-cfg/torbrowser-launcher.yaml
index 49c31d16..696260b1 100644
--- a/job-cfg/torbrowser-launcher.yaml
+++ b/job-cfg/torbrowser-launcher.yaml
@@ -183,6 +183,10 @@
- job-template:
defaults: torbrowser-launcher_packages
+ name: '{name}_test_on_jessie_amd64_from_unstable'
+
+- job-template:
+ defaults: torbrowser-launcher_packages
name: '{name}_test_on_jessie_amd64_from_experimental'
- job-template:
@@ -261,9 +265,15 @@
my_shell: '/srv/jenkins/bin/test_torbrowser-launcher.sh jessie backports'
my_recipients: 'holger@layer-acht.org'
my_node: ''
+ - '{name}_test_on_jessie_amd64_from_unstable':
+ my_description: 'Test torbrowser-launcher from unstable on jessie/amd64.'
+ my_timed: '23 5 * * 2'
+ my_shell: '/srv/jenkins/bin/test_torbrowser-launcher.sh jessie unstable'
+ my_recipients: 'holger@layer-acht.org'
+ my_node: ''
- '{name}_test_on_jessie_amd64_from_experimental':
my_description: 'Test torbrowser-launcher from experimental on jessie/amd64.'
- my_timed: '23 5 * * 2'
+ my_timed: '42 5 * * 2'
my_shell: '/srv/jenkins/bin/test_torbrowser-launcher.sh jessie experimental'
my_recipients: 'holger@layer-acht.org'
my_node: ''