Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
3c490906
Commit
3c490906
authored
Feb 10, 2021
by
Aishwarya Subramanian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moved CI pipeline enum under CE
parent
3fd4e9d9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
26 deletions
+3
-26
app/models/concerns/enums/ci/pipeline.rb
app/models/concerns/enums/ci/pipeline.rb
+3
-2
ee/app/models/concerns/ee/enums/ci/pipeline.rb
ee/app/models/concerns/ee/enums/ci/pipeline.rb
+0
-24
No files found.
app/models/concerns/enums/ci/pipeline.rb
View file @
3c490906
...
...
@@ -10,6 +10,9 @@ module Enums
unknown_failure:
0
,
config_error:
1
,
external_validation_failure:
2
,
activity_limit_exceeded:
20
,
size_limit_exceeded:
21
,
job_activity_limit_exceeded:
22
,
deployments_limit_exceeded:
23
}
end
...
...
@@ -77,5 +80,3 @@ module Enums
end
end
end
Enums
::
Ci
::
Pipeline
.
prepend_if_ee
(
'EE::Enums::Ci::Pipeline'
)
ee/app/models/concerns/ee/enums/ci/pipeline.rb
deleted
100644 → 0
View file @
3fd4e9d9
# frozen_string_literal: true
module
EE
module
Enums
module
Ci
module
Pipeline
extend
ActiveSupport
::
Concern
class_methods
do
extend
::
Gitlab
::
Utils
::
Override
override
:failure_reasons
def
failure_reasons
super
.
merge
(
activity_limit_exceeded:
20
,
size_limit_exceeded:
21
,
job_activity_limit_exceeded:
22
)
end
end
end
end
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment