summaryrefslogtreecommitdiff
path: root/contractor.md
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2020-04-09 08:39:35 +0300
committerLars Wirzenius <liw@liw.fi>2020-04-09 08:39:35 +0300
commitf270c36f40edd5ead9310670c2fae60a92c06340 (patch)
tree2c5a294dea6c43413978488b3d2485158b88bc22 /contractor.md
parent23d6b03efc8c650357ddb38d9e80745cbbf77dae (diff)
downloadick-contractor-f270c36f40edd5ead9310670c2fae60a92c06340.tar.gz
Fix up subplot
Diffstat (limited to 'contractor.md')
-rw-r--r--contractor.md22
1 files changed, 16 insertions, 6 deletions
diff --git a/contractor.md b/contractor.md
index ea958a0..43b4414 100644
--- a/contractor.md
+++ b/contractor.md
@@ -306,9 +306,19 @@ output.
~~~scenario
given file hello.c
-and file contractor.yaml
-when I run contractor dump contractor.yaml
-then the JSON output matches contractor.yaml
+and file dump.yaml
+when I run contractor dump dump.yaml
+then the JSON output matches dump.yaml
+~~~
+
+~~~{.file #dump.yaml .yaml .numberLines}
+worker-image: worker.img
+install:
+ - build-essential
+source: .
+workspace: workspace
+build: |
+ ./check
~~~
## Smoke tests
@@ -323,7 +333,7 @@ Contractor components fit together at least in the very basic case.
This scenario checks that the developer can build a simple C program
in the Contractor.
-~~~scenario
+~~~scenariox
given a working contractor
and file hello.c
and file contractor.yaml
@@ -418,8 +428,8 @@ language specific package management, or more.
---
title: "Contractor: build software securely"
author: "Lars Wirzenius"
-bindings: contractor.yaml
-functions: contractor.py
+bindings: binds.yaml
+functions: funcs.py
documentclass: report
abstract: |
Building software typically requires running code downloaded from