summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Clamp <richardc@unixbeard.net>2017-10-10 11:54:05 +0100
committerRichard Clamp <richardc@unixbeard.net>2017-10-10 14:25:36 +0100
commit5c15d83f7210fe625f35f65c576e8aad239b37f8 (patch)
treee9aef7290e6b6a90a89e4319277b50c2eb0daff2
parent1fb4215beaa214f22ee59ebf7182a1696ad6baa5 (diff)
downloadgitlab-ce-5c15d83f7210fe625f35f65c576e8aad239b37f8.tar.gz
QA group name, use hyphens rather than underscores
In doing some experimental testing of enabling the embedded mattermost we found that the currently generated QA namespace was problematic in that it used underscores when generating group names. This is invalid for a mattermost team name, underscores are illegal there. Here we change to use hyphens as they are legal in team names.
-rw-r--r--qa/qa/runtime/namespace.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/qa/runtime/namespace.rb b/qa/qa/runtime/namespace.rb
index 996286430b9..b00e925986b 100644
--- a/qa/qa/runtime/namespace.rb
+++ b/qa/qa/runtime/namespace.rb
@@ -8,7 +8,7 @@ module QA
end
def name
- 'qa_test_' + time.strftime('%d_%m_%Y_%H-%M-%S')
+ 'qa-test-' + time.strftime('%d-%m-%Y-%H-%M-%S')
end
def sandbox_name