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
103ffdfa
Commit
103ffdfa
authored
Jun 14, 2018
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove EE::Gitlab::Verify::JobArtifacts since it's not needed anymore
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
43b7e6e7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
35 deletions
+0
-35
ee/lib/ee/gitlab/verify/job_artifacts.rb
ee/lib/ee/gitlab/verify/job_artifacts.rb
+0
-16
ee/spec/lib/ee/gitlab/verify/job_artifacts_spec.rb
ee/spec/lib/ee/gitlab/verify/job_artifacts_spec.rb
+0
-17
lib/gitlab/verify/job_artifacts.rb
lib/gitlab/verify/job_artifacts.rb
+0
-2
No files found.
ee/lib/ee/gitlab/verify/job_artifacts.rb
deleted
100644 → 0
View file @
43b7e6e7
module
EE
module
Gitlab
module
Verify
module
JobArtifacts
extend
::
Gitlab
::
Utils
::
Override
private
override
:all_relation
def
all_relation
super
.
with_files_stored_locally
end
end
end
end
end
ee/spec/lib/ee/gitlab/verify/job_artifacts_spec.rb
deleted
100644 → 0
View file @
43b7e6e7
require
'spec_helper'
describe
Gitlab
::
Verify
::
JobArtifacts
do
before
do
stub_artifacts_object_storage
end
it
'includes CI job artifacts in object storage'
do
local_failure
=
create
(
:ci_job_artifact
)
remote_failure
=
create
(
:ci_job_artifact
,
:remote_store
)
failures
=
{}
described_class
.
new
(
batch_size:
10
).
run_batches
{
|
_
,
failed
|
failures
.
merge!
(
failed
)
}
expect
(
failures
.
keys
).
to
contain_exactly
(
local_failure
,
remote_failure
)
end
end
lib/gitlab/verify/job_artifacts.rb
View file @
103ffdfa
module
Gitlab
module
Verify
class
JobArtifacts
<
BatchVerifier
prepend
::
EE
::
Gitlab
::
Verify
::
JobArtifacts
def
name
'Job artifacts'
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