summaryrefslogtreecommitdiff
path: root/ssh-config.yaml
diff options
context:
space:
mode:
authorLars Wirzenius <lwirzenius@wikimedia.org>2020-03-06 18:10:04 +0200
committerLars Wirzenius <lwirzenius@wikimedia.org>2020-03-06 18:10:04 +0200
commite234c9ede462ae26ec12c123fa0d775fdfa95dfc (patch)
tree45a119900d490256eb94ab3093e8646e9b727c35 /ssh-config.yaml
parent16f56d83e32da0d1db42aa51720c6513a7cdbdab (diff)
downloadwmf-ssh-config-e234c9ede462ae26ec12c123fa0d775fdfa95dfc.tar.gz
Add: test Gerrit access
Diffstat (limited to 'ssh-config.yaml')
-rw-r--r--ssh-config.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/ssh-config.yaml b/ssh-config.yaml
index 376fe44..9863c86 100644
--- a/ssh-config.yaml
+++ b/ssh-config.yaml
@@ -1,5 +1,11 @@
- when: I run ssh (?P<host>\S+) (?P<cmd>.+)
function: run_ssh
+- when: I run git clone (?P<repo>\S+)
+ function: run_git_clone
+
- then: the output matches /(?P<regex>.+)/
function: stdout_matches
+
+- then: the directory (?P<dirname>\S+) exists
+ function: dir_exists