summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2020-04-09 07:15:41 +0300
committerLars Wirzenius <liw@liw.fi>2020-04-09 07:15:41 +0300
commit60853f622667db59b3897a66007a938bf1edea14 (patch)
treef09fd623ff3eecdfd68a1b963f0c5c06d5f8f75a
parentfce8c63ddc05cc74b85d9a9d68cdc3e11ac2d4d2 (diff)
downloadvmdb2-60853f622667db59b3897a66007a938bf1edea14.tar.gz
Add: a build spec file for Contractor
Contractor is another of my hobby projects, for running builds (or tests) more securely than directly on the host. If you don't use it, you can ignore the added file.
-rw-r--r--contractor.yaml29
1 files changed, 29 insertions, 0 deletions
diff --git a/contractor.yaml b/contractor.yaml
new file mode 100644
index 0000000..a3a8c57
--- /dev/null
+++ b/contractor.yaml
@@ -0,0 +1,29 @@
+worker-image: ~/tmp/contractor/worker-vmdb2.img
+install:
+ - build-essential
+ - python3-all
+ - python3-coverage-test-runner
+ - python3-cliapp
+ - python3-jinja2
+ - python3-yaml
+ - qemu-utils
+ - parted
+ - kpartx
+ - debootstrap
+ - dosfstools
+ - ansible
+ - moreutils
+ - git
+source: .
+workspace: ~/tmp/contractor/vmdb2
+build: |
+ export LC_ALL=C.UTF-8
+
+ ./check
+
+ # /dev/vdb is an extra, big disk we can use for scratch space.
+ sudo sh -x ./check-external /workspace
+
+ cd /workspace
+ sudo sh -x ./src/check-all buster.tar.gz
+ sudo chmod -R a+rX /workspace