summaryrefslogtreecommitdiff
path: root/000.yarn
diff options
context:
space:
mode:
Diffstat (limited to '000.yarn')
-rw-r--r--000.yarn22
1 files changed, 22 insertions, 0 deletions
diff --git a/000.yarn b/000.yarn
index feaa34f..609cd14 100644
--- a/000.yarn
+++ b/000.yarn
@@ -240,6 +240,19 @@ groups, and respositories.
THEN ian can push qvarn with tags
FINALLY admin removes things that were created
+ SCENARIO Steven can't tag a Qvarn release
+ WHEN admin creates user steven
+ AND admin creates group qvarn-readers
+ AND admin creates group qvarn-writers
+ AND admin adds steven to qvarn-readers
+ AND admin creates repository qvarn
+ AND admin sets qvarn config readers to qvarn-readers
+ AND admin sets qvarn config writers to qvarn-writers
+ THEN steven can clone qvarn
+ WHEN steven tags qvarn master branch with qvarn-2.0
+ THEN steven cannot push qvarn with tags
+ FINALLY admin removes things that were created
+
SCENARIO Steven can't clone ops/secrets
WHEN admin creates user steven
AND admin creates repository ops/secrets
@@ -362,6 +375,15 @@ groups, and respositories.
['push', '--all', 'origin'], cwd=dirname)
helper.assertNotEqual(exit, 0)
+ IMPLEMENTS THEN (\S+) cannot push (\S+) with tags
+ user = helper.get_next_match()
+ repo = helper.get_next_match()
+ dirname = helper.local_checkout_dirname(user, repo)
+ exit, out, err = helper.git_as(
+ user,
+ ['push', '--tags', 'origin'], cwd=dirname)
+ helper.assertNotEqual(exit, 0)
+
IMPLEMENTS WHEN (\S+) merges (\S+) branch (\S+) to (\S+)
user = helper.get_next_match()
repo = helper.get_next_match()