Commit 103ffdfa authored by Rémy Coutable's avatar Rémy Coutable

Remove EE::Gitlab::Verify::JobArtifacts since it's not needed anymore

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 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
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
module Gitlab
module Verify
class JobArtifacts < BatchVerifier
prepend ::EE::Gitlab::Verify::JobArtifacts
def name
'Job artifacts'
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment