gitlab-qa 6.8.0 → 6.9.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: daf050b7d871f8eefdc1fa68b052608c11ee186b927fe89accfceca15291ed45
4
- data.tar.gz: 4510e98db8e41c11a1585070a39cd19769384917cff551195942955974dcd78d
3
+ metadata.gz: b693b59123428d4f6cf80c195c18fe7158692265e0deb58ddaf07f188c2a3dae
4
+ data.tar.gz: 87f5ce39795d8cac33e3451ffff072a0c80ca9f7409278e7b32474b8f126b7f7
5
5
  SHA512:
6
- metadata.gz: 3a3a6dc22aac1a77fe46f1379a43b489d08cc771b38ea629f9ff3a8f24fd9886f767ed3b3ca8aa18bfeabadc9019aefe2933261c969167e6c8e95f7f75e2c6a1
7
- data.tar.gz: c612e3b42691a28864bcf703fdf89cbbf57f75817341f867d1e8486a25adcbfcf262f3506157841d734813e699e628620dd524af22b4f8da17c689a96c6116cf
6
+ metadata.gz: fe82ec388fa1d1f30b372b953376c7ef91c16e278c5c23f8b6d998919670e8e4fcab1f5f7980ba9bc091f6283fd7cfef9fecbc6b2a81203251447cbe475ef878
7
+ data.tar.gz: a82012a1e3fe6353dfd420dc4500c8b7655751ba9f882865d7bd87d42b463a757c8e05aaba00c73a8644e577b6fb812bb1d14f9b68d8c9962ac65570fbb52066
@@ -133,6 +133,10 @@ module Gitlab
133
133
  def post_failed_job_note(issue, test)
134
134
  gitlab.create_issue_note(iid: issue.iid, note: "/relate #{test.testcase}")
135
135
  end
136
+
137
+ def title_from_test(test)
138
+ "Failure in #{super}"
139
+ end
136
140
  end
137
141
  end
138
142
  end
@@ -76,7 +76,7 @@ module Gitlab
76
76
  gitlab.create_issue(
77
77
  title: title_from_test(test),
78
78
  description: new_issue_description(test),
79
- labels: new_issue_labels(test)
79
+ labels: new_issue_labels(test).to_a
80
80
  )
81
81
  end
82
82
 
@@ -8,6 +8,7 @@ module Gitlab
8
8
 
9
9
  # Variables that are used in tests and are passed through to the docker container that executes the tests.
10
10
  # These variables should be listed in /docs/what_tests_can_be_run.md#supported-gitlab-environment-variables
11
+ # unless they're defined elsewhere (e.g.: https://docs.gitlab.com/ee/ci/variables/predefined_variables.html)
11
12
  ENV_VARIABLES = {
12
13
  'QA_REMOTE_GRID' => :remote_grid,
13
14
  'QA_REMOTE_GRID_USERNAME' => :remote_grid_username,
@@ -68,6 +69,7 @@ module Gitlab
68
69
  'CI_SERVER_PERSONAL_ACCESS_TOKEN' => :ci_server_personal_access_token,
69
70
  'CI_NODE_INDEX' => :ci_node_index,
70
71
  'CI_NODE_TOTAL' => :ci_node_total,
72
+ 'CI_PROJECT_NAME' => :ci_project_name,
71
73
  'GITLAB_CI' => :gitlab_ci,
72
74
  'QA_SKIP_PULL' => :qa_skip_pull,
73
75
  'ELASTIC_URL' => :elastic_url,
@@ -1,5 +1,5 @@
1
1
  module Gitlab
2
2
  module QA
3
- VERSION = '6.8.0'.freeze
3
+ VERSION = '6.9.0'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitlab-qa
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.8.0
4
+ version: 6.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Grzegorz Bizon
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-11-10 00:00:00.000000000 Z
11
+ date: 2020-11-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: climate_control