Skip to content
Snippets Groups Projects

WIP: Add additional CI checks

Closed Erick Hitter requested to merge add/more-ci into master
Files
2
+ 24
1
@@ -29,6 +29,9 @@ unit_tests:
@@ -29,6 +29,9 @@ unit_tests:
stage: test
stage: test
script:
script:
- make test
- make test
 
artifacts:
 
reports:
 
junit: report.xml
race_detector:
race_detector:
stage: test
stage: test
@@ -63,4 +66,24 @@ build:
@@ -63,4 +66,24 @@ 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
 
before_script:
 
- echo "Skipping before_script actions"
 
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]
Loading