diff options
author | Lars Wirzenius <liw@liw.fi> | 2017-03-04 16:59:21 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2017-03-04 16:59:21 +0200 |
commit | 5b4479c0859e67f897061ce29b86206759723b37 (patch) | |
tree | 2fe08e0fcc0fdf08a96dfa70704e4d62d0ae60f6 | |
parent | dff01a025cbb6edd9e0ac8a48fb13edb23628305 (diff) | |
download | git.liw.fi-ruleset-tests-5b4479c0859e67f897061ce29b86206759723b37.tar.gz |
Set repo config variables
-rw-r--r-- | 000.yarn | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -227,8 +227,6 @@ groups, and respositories. AND we create repository intrawiki AND we create repository otherproject -<!-- - WHEN we set qvarn config writers to qvarndevs AND we set qvarn config guests to qvarnguests AND we set qvarn config public to yes @@ -236,6 +234,8 @@ groups, and respositories. AND we set ops/ansible config writers to ops AND we set intrawiki config writers to staff +<!-- + Now we can start defining use cases. Use case: Ian makes a bugfix to Qvarn. @@ -352,3 +352,9 @@ Use case: Steven updates internal wiki. last_line = output.splitlines()[-1] token = last_line.split()[-1] helper.gitano('destroy {} {}'.format(repo, token)) + + IMPLEMENTS WHEN we set (\S+) config (\S+) to (\S+) + repo = helper.get_next_match() + key = helper.get_next_match() + value = helper.get_next_match() + helper.gitano('config {} set {} {}'.format(repo, key, value)) |