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
d776b45e
Commit
d776b45e
authored
Oct 08, 2020
by
Grzegorz Bizon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Accept build trace by default for verifiable live traces
parent
e96a8b53
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
config/feature_flags/ops/ci_accept_trace.yml
config/feature_flags/ops/ci_accept_trace.yml
+2
-2
lib/gitlab/ci/features.rb
lib/gitlab/ci/features.rb
+1
-1
No files found.
config/feature_flags/ops/ci_accept_trace.yml
View file @
d776b45e
---
---
name
:
ci_accept_trace
name
:
ci_accept_trace
introduced_by_url
:
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/41304
introduced_by_url
:
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/41304
rollout_issue_url
:
rollout_issue_url
:
group
:
group::continuous integration
group
:
group::continuous integration
type
:
ops
type
:
ops
default_enabled
:
false
default_enabled
:
true
\ No newline at end of file
lib/gitlab/ci/features.rb
View file @
d776b45e
...
@@ -56,7 +56,7 @@ module Gitlab
...
@@ -56,7 +56,7 @@ module Gitlab
def
self
.
accept_trace?
(
project
)
def
self
.
accept_trace?
(
project
)
::
Feature
.
enabled?
(
:ci_enable_live_trace
,
project
)
&&
::
Feature
.
enabled?
(
:ci_enable_live_trace
,
project
)
&&
::
Feature
.
enabled?
(
:ci_accept_trace
,
project
,
type: :ops
,
default_enabled:
fals
e
)
::
Feature
.
enabled?
(
:ci_accept_trace
,
project
,
type: :ops
,
default_enabled:
tru
e
)
end
end
def
self
.
log_invalid_trace_chunks?
(
project
)
def
self
.
log_invalid_trace_chunks?
(
project
)
...
...
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