Skip to content

Commit

Permalink
Merge branch 'sonar-intg-shared' into 'master'
Browse files Browse the repository at this point in the history
Integrated sonar qube stage

See merge request kount/third_party/kount-ris-python-sdk!10
  • Loading branch information
mmewara committed Feb 23, 2022
2 parents 8f6235f + 5176331 commit 9864323
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .gitlab-ci.yml
@@ -1,8 +1,14 @@
include:
- project: kount/third_party/tpa-ci-shared
file: base/sq-scan.yml
ref: 2.4.0

# image: python:3.6-alpine - Remove dependecies
image: python:3.8-slim-buster

stages:
- test
- sonarqube scan
- deploy


Expand All @@ -13,7 +19,12 @@ before_script:
- pip install pytest
- python setup.py sdist bdist_wheel


sonarqube scan:
extends: .sq-scan
stage: sonarqube scan
allow_failure: true
variables:
SRC_EXCLUSIONS: "**/.eggs/**,**/.git/**,**/.pytest_cache/**,**/build/**,**/DS_Store/**,**/__pycache__/**,**/idea/**,**/*LICENSE,**/*.gitignore,**/*.yml"

deploy_production:
stage: deploy
Expand Down

0 comments on commit 9864323

Please sign in to comment.