summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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: ''