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
06c45bd2
Commit
06c45bd2
authored
Oct 19, 2021
by
Maxime Orefice
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove ci_synchronous_artifact_parsing feature flag
Changelog: other
parent
2543b6b5
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
24 deletions
+0
-24
app/services/ci/job_artifacts/create_service.rb
app/services/ci/job_artifacts/create_service.rb
+0
-4
config/feature_flags/development/ci_synchronous_artifact_parsing.yml
...ure_flags/development/ci_synchronous_artifact_parsing.yml
+0
-8
spec/services/ci/job_artifacts/create_service_spec.rb
spec/services/ci/job_artifacts/create_service_spec.rb
+0
-12
No files found.
app/services/ci/job_artifacts/create_service.rb
View file @
06c45bd2
...
...
@@ -109,10 +109,6 @@ module Ci
end
def
parse_artifact
(
artifact
)
unless
Feature
.
enabled?
(
:ci_synchronous_artifact_parsing
,
project
,
default_enabled:
true
)
return
success
end
case
artifact
.
file_type
when
'dotenv'
then
parse_dotenv_artifact
(
artifact
)
else
success
...
...
config/feature_flags/development/ci_synchronous_artifact_parsing.yml
deleted
100644 → 0
View file @
2543b6b5
---
name
:
ci_synchronous_artifact_parsing
introduced_by_url
:
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/26247
rollout_issue_url
:
milestone
:
'
12.9'
type
:
development
group
:
group::release
default_enabled
:
true
spec/services/ci/job_artifacts/create_service_spec.rb
View file @
06c45bd2
...
...
@@ -175,18 +175,6 @@ RSpec.describe Ci::JobArtifacts::CreateService do
hash_including
(
'key'
=>
'KEY1'
,
'value'
=>
'VAR1'
,
'source'
=>
'dotenv'
),
hash_including
(
'key'
=>
'KEY2'
,
'value'
=>
'VAR2'
,
'source'
=>
'dotenv'
))
end
context
'when ci_synchronous_artifact_parsing feature flag is disabled'
do
before
do
stub_feature_flags
(
ci_synchronous_artifact_parsing:
false
)
end
it
'does not call parse service'
do
expect
(
Ci
::
ParseDotenvArtifactService
).
not_to
receive
(
:new
)
expect
(
subject
[
:status
]).
to
eq
(
:success
)
end
end
end
context
'when artifact_type is metrics'
do
...
...
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