summary refs log tree commit diff
path: root/debian/test/stretch
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2019-05-17 12:56:46 +0100
committerRichard van der Hoff <richard@matrix.org>2019-05-17 12:56:46 +0100
commitafb463fb7a1878cca5e96feec4e883ae500421ab (patch)
treea0362f4cf54b4505f844a651284be3035d18517a /debian/test/stretch
parentMerge remote-tracking branch 'origin/master' into develop (diff)
downloadsynapse-afb463fb7a1878cca5e96feec4e883ae500421ab.tar.xz
Some vagrant hackery for testing the debs
Diffstat (limited to 'debian/test/stretch')
-rw-r--r--debian/test/stretch/Vagrantfile13
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/test/stretch/Vagrantfile b/debian/test/stretch/Vagrantfile
new file mode 100644
index 0000000000..d8eff6fe11
--- /dev/null
+++ b/debian/test/stretch/Vagrantfile
@@ -0,0 +1,13 @@
+# -*- mode: ruby -*-
+# vi: set ft=ruby :
+
+ver = `cd ../../..; dpkg-parsechangelog -S Version`.strip()
+
+Vagrant.configure("2") do |config|
+  config.vm.box = "debian/stretch64"
+
+  config.vm.synced_folder ".", "/vagrant", disabled: true
+  config.vm.synced_folder "../../../../debs", "/debs", type: "nfs"
+
+  config.vm.provision "shell", path: "../provision.sh"
+end