From ef0aa4ca8531db4be89d49db1861cb834749145a Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Thu, 9 Apr 2020 09:21:32 +0300 Subject: Add: step to copy file from source tree This will be used for copying pre-built worker images. --- binds.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'binds.yaml') diff --git a/binds.yaml b/binds.yaml index bc9d052..9d4a946 100644 --- a/binds.yaml +++ b/binds.yaml @@ -4,6 +4,9 @@ - given: file (?P\S+) function: create_file +- given: file (?P\S+) from source directory + function: copy_file_from_srcdir + - when: I run contractor build (?P\S+) function: run_contractor_build @@ -13,8 +16,8 @@ - then: exit code is (?P\d+) function: exit_code_is -- then: artifact (?P\S+) exists - function: nop +- then: file (?P\S+) exists + function: file_exists - then: the JSON output matches (?P\S+) function: stdout_json_matches_yaml_file -- cgit v1.2.1