summaryrefslogtreecommitdiff
path: root/qa/qa/runtime/namespace.rb
blob: b00e925986b07f92d3845d0e43d15dcfbd379f08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
module QA
  module Runtime
    module Namespace
      extend self

      def time
        @time ||= Time.now
      end

      def name
        'qa-test-' + time.strftime('%d-%m-%Y-%H-%M-%S')
      end

      def sandbox_name
        'gitlab-qa-sandbox'
      end
    end
  end
end