Commit f61d4978 authored by Bob Van Landuyt's avatar Bob Van Landuyt

Merge branch 'fuzz-license-check-to-pre' into 'master'

Move fuzz license check to .pre stage

See merge request gitlab-org/gitlab!48076
parents d402a774 7a8746cb
---
title: Move fuzz license check to .pre stage
merge_request: 48076
author:
type: fixed
...@@ -19,12 +19,6 @@ RSpec.describe 'Coverage-Fuzzing.gitlab-ci.yml' do ...@@ -19,12 +19,6 @@ RSpec.describe 'Coverage-Fuzzing.gitlab-ci.yml' do
allow(project).to receive(:default_branch).and_return(default_branch) allow(project).to receive(:default_branch).and_return(default_branch)
end end
context 'when project has no license' do
it 'includes job to display error' do
expect(build_names).to match_array(%w[coverage_fuzzing_unlicensed])
end
end
context 'when project has Ultimate license' do context 'when project has Ultimate license' do
let(:license) { create(:license, plan: License::ULTIMATE_PLAN) } let(:license) { create(:license, plan: License::ULTIMATE_PLAN) }
......
...@@ -12,7 +12,7 @@ variables: ...@@ -12,7 +12,7 @@ variables:
coverage_fuzzing_unlicensed: coverage_fuzzing_unlicensed:
stage: test stage: .pre
allow_failure: true allow_failure: true
rules: rules:
- if: $GITLAB_FEATURES !~ /\bcoverage_fuzzing\b/ && $COVFUZZ_DISABLED == null - if: $GITLAB_FEATURES !~ /\bcoverage_fuzzing\b/ && $COVFUZZ_DISABLED == null
......
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