Unverified Commit 4f5200f5 authored by Emmanuel Milou's avatar Emmanuel Milou
Browse files

Use docker executor to run health check and sonar

parent 1e575ae7
Pipeline #1187 passed with stages
in 1 minute and 38 seconds
stages:
- test
- quality
health-check:
image: python:2.7
stage: test
script:
- pip install fabric
- fab --version
- fab -f . --list-format=nested --list
sonar:
tags:
- docker-images
sonarqube:
image: ntdt/sonar-scanner:2.7
stage: quality
script:
- /opt/sonar-scanner/bin/sonar-scanner -Dsonar.host.url='https://sonarqube.savoirfairelinux.net' -Dsonar.login='8317c73bde6903c2cca1fbcc2148a937602fbc97' -Dsonar.analysis.mode=preview -Dsonar.issuesReport.console.enable=true -Dsonar.gitlab.commit_sha=$CI_BUILD_REF -Dsonar.gitlab.ref=$CI_BUILD_REF_NAME
- cd $CI_PROJECT_DIR && /opt/sonar-scanner/bin/sonar-scanner -Dsonar.host.url=$SONAR_HOST -Dsonar.login=$SONAR_TOKEN
tags:
- docker-images
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment