diff options
author | Lars Wirzenius <liw@liw.fi> | 2020-04-09 09:22:16 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2020-04-09 09:22:16 +0300 |
commit | 5d82791d79df860a31beb70e1caedd7b07acf83f (patch) | |
tree | f55dbea843bad408a75926992e8a4ab7492422fd /contractor.md | |
parent | ef0aa4ca8531db4be89d49db1861cb834749145a (diff) | |
download | ick-contractor-5d82791d79df860a31beb70e1caedd7b07acf83f.tar.gz |
Change: Debian smoke test scenario to be more realistic
Diffstat (limited to 'contractor.md')
-rw-r--r-- | contractor.md | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/contractor.md b/contractor.md index 43b4414..c5a101f 100644 --- a/contractor.md +++ b/contractor.md @@ -333,13 +333,14 @@ 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. -~~~scenariox +~~~scenario given a working contractor and file hello.c -and file contractor.yaml -when I run contractor build contractor.yaml +and file hello.yaml +and file worker.img from source directory +when I run contractor build hello.yaml then exit code is 0 -then artifact hello exists +then file ws/hello exists ~~~ ~~~{.file #hello.c .c .numberLines} @@ -352,14 +353,14 @@ int main() } ~~~ -~~~{.file #contractor.yaml .yaml .numberLines} -actions: -- action: shell - shell: | - gcc hello.c -- action: save-artifact - filenames: - - hello +~~~{.file #hello.yaml .yaml .numberLines} +worker-image: worker.img +install: + - build-essential +source: . +workspace: ws +build: | + gcc hello.c -o hello ~~~ ### Ubuntu smoke test (FIXME) |