diff options
author | Lars Wirzenius <liw@liw.fi> | 2020-04-09 09:21:32 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2020-04-09 09:21:32 +0300 |
commit | ef0aa4ca8531db4be89d49db1861cb834749145a (patch) | |
tree | 812c7f3987651a7ddc67ef616002d8a2779a970c /binds.yaml | |
parent | 7bf9d733d564a8961495d5d1517239f44a76e9f8 (diff) | |
download | ick-contractor-ef0aa4ca8531db4be89d49db1861cb834749145a.tar.gz |
Add: step to copy file from source tree
This will be used for copying pre-built worker images.
Diffstat (limited to 'binds.yaml')
-rw-r--r-- | binds.yaml | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -4,6 +4,9 @@ - given: file (?P<filename>\S+) function: create_file +- given: file (?P<filename>\S+) from source directory + function: copy_file_from_srcdir + - when: I run contractor build (?P<filename>\S+) function: run_contractor_build @@ -13,8 +16,8 @@ - then: exit code is (?P<exit_code>\d+) function: exit_code_is -- then: artifact (?P<filename>\S+) exists - function: nop +- then: file (?P<filename>\S+) exists + function: file_exists - then: the JSON output matches (?P<filename>\S+) function: stdout_json_matches_yaml_file |