summaryrefslogtreecommitdiff
path: root/gitlab.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'gitlab.yaml')
-rw-r--r--gitlab.yaml26
1 files changed, 26 insertions, 0 deletions
diff --git a/gitlab.yaml b/gitlab.yaml
new file mode 100644
index 0000000..81fb6ad
--- /dev/null
+++ b/gitlab.yaml
@@ -0,0 +1,26 @@
+- given: a git repository (?P<url>\S+) with a simple C program
+ function: nop
+
+- then: the output is "(?P<expected>.+)"
+ function: stdout_is
+
+- then: HTTP status code is (?P<code>\d+)
+ function: status_code_is
+
+- then: response body indicates (?P<name>\S+) is (?P<status>\S+)
+ function: build_status_is
+
+- when: I check build status
+ function: get_build_status
+
+- when: I retrieve (?P<url>\S+) to a local file (?P<filename>\S+)
+ function: get_file
+
+- when: I run (?P<filename>\./\S+)
+ function: run_file
+
+- when: I trigger a build with (?P<body>\{.+\})
+ function: trigger_build
+
+- when: I wait for (?P<seconds>\d+) seconds
+ function: wait