As we reevaluate how to best support and maintain Staging Ref in the future, we encourage development teams using this environment to highlight their use cases in the following issue: https://gitlab.com/gitlab-com/gl-infra/software-delivery/framework/software-delivery-framework-issue-tracker/-/issues/36.

Skip to content
Snippets Groups Projects
Commit c086476d authored by Ash McKenzie's avatar Ash McKenzie
Browse files

Merge branch 'pb-update-gitlab-ci-codequality' into 'master'

Use codequality CI template

See merge request gitlab-org/gitlab-shell!389
parents 131771a6 e431247a
No related branches found
No related tags found
No related merge requests found
include:
- template: Code-Quality.gitlab-ci.yml
variables:
DOCKER_VERSION: "19.03.0"
workflow:
rules:
rules: &workflow_rules
# For merge requests, create a pipeline.
- if: '$CI_MERGE_REQUEST_IID'
# For `master` branch, create a pipeline (this includes on schedules, pushes, merges, etc.).
Loading
Loading
@@ -61,18 +64,9 @@ race:
script:
- make test_golang_race
codequality:
code_quality:
extends: .use-docker-in-docker
allow_failure: true
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: [codeclimate.json]
rules: *workflow_rules
sast:
extends: .use-docker-in-docker
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment