[Qa-jenkins-scm] [jenkins.debian.net] 03/03: torbrowser tests: new job to test tbb-l from sid on jessie
Holger Levsen
holger at moszumanska.debian.org
Mon Nov 16 23:58:28 UTC 2015
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit a70412de32dd215966e507f6c3db399830420219
Author: Holger Levsen <holger at layer-acht.org>
Date: Tue Nov 17 00:57:55 2015 +0100
torbrowser tests: new job to test tbb-l from sid on jessie
---
bin/test_torbrowser-launcher.sh | 13 +++++++------
job-cfg/torbrowser-launcher.yaml | 12 +++++++++++-
2 files changed, 18 insertions(+), 7 deletions(-)
diff --git a/bin/test_torbrowser-launcher.sh b/bin/test_torbrowser-launcher.sh
index b5bb20b..a8afe74 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 49c31d1..696260b 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 at 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 at 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 at layer-acht.org'
my_node: ''
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list