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
f6566f21
Commit
f6566f21
authored
Jun 21, 2020
by
Yevgeny Name
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add coverage fuzzing CI template
parent
ac01a943
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
38 additions
and
0 deletions
+38
-0
ee/changelogs/unreleased/add-coverage-fuzzing-ci-template.yml
...hangelogs/unreleased/add-coverage-fuzzing-ci-template.yml
+5
-0
lib/gitlab/ci/templates/Security/Coverage-Fuzzing.gitlab-ci.yml
...tlab/ci/templates/Security/Coverage-Fuzzing.gitlab-ci.yml
+33
-0
No files found.
ee/changelogs/unreleased/add-coverage-fuzzing-ci-template.yml
0 → 100644
View file @
f6566f21
---
title
:
Add coverage fuzzing CI template
merge_request
:
34984
author
:
type
:
added
lib/gitlab/ci/templates/Security/Coverage-Fuzzing.gitlab-ci.yml
0 → 100644
View file @
f6566f21
# Read more about this feature https://docs.gitlab.com/ee/user/application_security/coverage_fuzzing
variables
:
# Which branch we want to run full fledged long running fuzzing jobs.
# All others will run fuzzing regression
COVERAGE_FUZZING_BRANCH
:
"
$CI_DEFAULT_BRANCH"
# This is using semantic version and will always download latest v1 gitlab-cov-fuzz release
COVERAGE_FUZZING_VERSION
:
v1
# This is for users who have an offline environment and will have to replicate gitlab-cov-fuzz release binaries
# to their own servers
COVERAGE_FUZZING_URL_PREFIX
:
"
https://gitlab.com/gitlab-org/security-products/analyzers/gitlab-cov-fuzz/-/raw"
.fuzz_base
:
stage
:
fuzz
allow_failure
:
true
before_script
:
-
if [ -x "$(command -v apt-get)" ] ; then apt-get update && apt-get install -y wget; fi
-
wget -O gitlab-cov-fuzz "${COVERAGE_FUZZING_URL_PREFIX}"/"${COVERAGE_FUZZING_VERSION}"/binaries/gitlab-cov-fuzz_Linux_x86_64
-
chmod a+x gitlab-cov-fuzz
-
export REGRESSION=true
-
if [[ $CI_COMMIT_BRANCH = $COVERAGE_FUZZING_BRANCH ]]; then REGRESSION=false; fi;
artifacts
:
paths
:
-
corpus
-
crashes
reports
:
coverage_fuzzing
:
gl-coverage-fuzzing-report.json
when
:
always
rules
:
-
if
:
$COVERAGE_FUZZING_DISABLED
when
:
never
-
if
:
$GITLAB_FEATURES =~ /\bcoverage_fuzzing\b/
-
if
:
$CI_RUNNER_EXECUTABLE_ARCH == "linux"
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