summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorKamil Trzciński <ayufan@ayufan.eu>2018-10-07 10:22:40 +0200
committerKamil Trzciński <ayufan@ayufan.eu>2018-10-22 10:20:12 +0200
commitbc333f38d82097288586d0847d6f8e31738e8575 (patch)
tree8658e5ceb70ffde4177fb209923c2d809366c63e /app
parent44a9231d19f88c5551f7184917ddc4bba13e7d00 (diff)
downloadgitlab-ce-bc333f38d82097288586d0847d6f8e31738e8575.tar.gz
Support licenses and performancesupport-license-management-and-performance
This introduces a new syntax for all licenses and performance jobs: ```yaml job: reports: performance: performance.json license_management: gl-license-management-report.json ```
Diffstat (limited to 'app')
-rw-r--r--app/models/ci/job_artifact.rb12
1 files changed, 9 insertions, 3 deletions
diff --git a/app/models/ci/job_artifact.rb b/app/models/ci/job_artifact.rb
index 2b28b702b05..34a889057ab 100644
--- a/app/models/ci/job_artifact.rb
+++ b/app/models/ci/job_artifact.rb
@@ -19,7 +19,9 @@ module Ci
sast: 'gl-sast-report.json',
dependency_scanning: 'gl-dependency-scanning-report.json',
container_scanning: 'gl-container-scanning-report.json',
- dast: 'gl-dast-report.json'
+ dast: 'gl-dast-report.json',
+ license_management: 'gl-license-management-report.json',
+ performance: 'performance.json'
}.freeze
TYPE_AND_FORMAT_PAIRS = {
@@ -35,7 +37,9 @@ module Ci
sast: :raw,
dependency_scanning: :raw,
container_scanning: :raw,
- dast: :raw
+ dast: :raw,
+ license_management: :raw,
+ performance: :raw
}.freeze
belongs_to :project
@@ -80,7 +84,9 @@ module Ci
dependency_scanning: 6, ## EE-specific
container_scanning: 7, ## EE-specific
dast: 8, ## EE-specific
- codequality: 9 ## EE-specific
+ codequality: 9, ## EE-specific
+ license_management: 10, ## EE-specific
+ performance: 11 ## EE-specific
}
enum file_format: {