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
56bde88c
Commit
56bde88c
authored
Apr 09, 2018
by
Olivier Gonzalez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix security products examples
parent
9248aa29
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
7 deletions
+11
-7
doc/ci/examples/code_climate.md
doc/ci/examples/code_climate.md
+5
-1
doc/ci/examples/dast.md
doc/ci/examples/dast.md
+3
-3
doc/ci/examples/dependency_scanning.md
doc/ci/examples/dependency_scanning.md
+3
-3
No files found.
doc/ci/examples/code_climate.md
View file @
56bde88c
...
@@ -17,7 +17,11 @@ codequality:
...
@@ -17,7 +17,11 @@ codequality:
-
docker:stable-dind
-
docker:stable-dind
script
:
script
:
-
export SP_VERSION=$(echo "$CI_SERVER_VERSION" | sed 's/^\([0-9]*\)\.\([0-9]*\).*/\1-\2-stable/')
-
export SP_VERSION=$(echo "$CI_SERVER_VERSION" | sed 's/^\([0-9]*\)\.\([0-9]*\).*/\1-\2-stable/')
-
docker run --env SOURCE_CODE="$PWD" --volume "$PWD":/code --volume /var/run/docker.sock:/var/run/docker.sock "registry.gitlab.com/gitlab-org/security-products/codequality:$SP_VERSION" /code
-
docker run
--env SOURCE_CODE="$PWD"
--volume "$PWD":/code
--volume /var/run/docker.sock:/var/run/docker.sock
"registry.gitlab.com/gitlab-org/security-products/codequality:$SP_VERSION" /code
artifacts
:
artifacts
:
paths
:
[
codeclimate.json
]
paths
:
[
codeclimate.json
]
```
```
...
...
doc/ci/examples/dast.md
View file @
56bde88c
...
@@ -42,9 +42,9 @@ dast:
...
@@ -42,9 +42,9 @@ dast:
allow_failure
:
true
allow_failure
:
true
script
:
script
:
-
mkdir /zap/wrk/
-
mkdir /zap/wrk/
-
/zap/zap-baseline.py -J gl-dast-report.json -t $website
\
-
/zap/zap-baseline.py -J gl-dast-report.json -t $website
--auth-url $login_url
\
--auth-url $login_url
--auth-username "john.doe@example.com"
\
--auth-username "john.doe@example.com"
--auth-password "john-doe-password" ||
true
--auth-password "john-doe-password" ||
true
-
cp /zap/wrk/gl-dast-report.json .
-
cp /zap/wrk/gl-dast-report.json .
artifacts
:
artifacts
:
...
...
doc/ci/examples/dependency_scanning.md
View file @
56bde88c
...
@@ -21,9 +21,9 @@ dependency_scanning:
...
@@ -21,9 +21,9 @@ dependency_scanning:
script
:
script
:
-
export SP_VERSION=$(echo "$CI_SERVER_VERSION" | sed 's/^\([0-9]*\)\.\([0-9]*\).*/\1-\2-stable/')
-
export SP_VERSION=$(echo "$CI_SERVER_VERSION" | sed 's/^\([0-9]*\)\.\([0-9]*\).*/\1-\2-stable/')
-
docker run
-
docker run
--env DEP_SCAN_DISABLE_REMOTE_CHECKS="${DEP_SCAN_DISABLE_REMOTE_CHECKS:-false}"
\
--env DEP_SCAN_DISABLE_REMOTE_CHECKS="${DEP_SCAN_DISABLE_REMOTE_CHECKS:-false}"
--volume "$PWD:/code"
\
--volume "$PWD:/code"
--volume /var/run/docker.sock:/var/run/docker.sock
\
--volume /var/run/docker.sock:/var/run/docker.sock
"registry.gitlab.com/gitlab-org/security-products/dependency-scanning:$SP_VERSION" /code
"registry.gitlab.com/gitlab-org/security-products/dependency-scanning:$SP_VERSION" /code
artifacts
:
artifacts
:
paths
:
[
gl-dependency-scanning-report.json
]
paths
:
[
gl-dependency-scanning-report.json
]
...
...
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