Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
gitlab-runner-do-monitor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Server Tools
gitlab-runner-do-monitor
Commits
7d6083d8
Commit
7d6083d8
authored
6 years ago
by
Erick Hitter
Browse files
Options
Downloads
Patches
Plain Diff
Test Code Quality tool
See
https://docs.gitlab.com/ee/ci/examples/code_quality.html
parent
57044f05
No related branches found
No related tags found
1 merge request
!4
WIP: Add additional CI checks
Pipeline
#220
passed with warnings
6 years ago
Stage: test
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+19
-1
19 additions, 1 deletion
.gitlab-ci.yml
with
19 additions
and
1 deletion
.gitlab-ci.yml
+
19
−
1
View file @
7d6083d8
...
@@ -63,4 +63,22 @@ build:
...
@@ -63,4 +63,22 @@ build:
-
make
-
make
artifacts
:
artifacts
:
paths
:
paths
:
-
gitlab-runner-do-monitor/
-
gitlab-runner-do-monitor/
\ No newline at end of file
# GitLab CI tools: https://docs.gitlab.com/ee/ci/examples/README.html
code_quality
:
image
:
docker:stable
variables
:
DOCKER_DRIVER
:
overlay2
allow_failure
:
true
services
:
-
docker:stable-dind
script
:
-
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
artifacts
:
paths
:
[
gl-code-quality-report.json
]
This diff is collapsed.
Click to expand it.
Erick Hitter
@ethitter
mentioned in commit
d219df79
·
6 years ago
mentioned in commit
d219df79
mentioned in commit d219df79029ffa62098bb7855d52b2dbd63607ff
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment