Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Drupal
drupalizer
Commits
4f5200f5
Unverified
Commit
4f5200f5
authored
Nov 01, 2016
by
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
4f5200f5
stages
:
-
test
-
quality
health-check
:
health-check
:
image
:
python:2.7
stage
:
test
script
:
script
:
-
pip install fabric
-
fab --version
-
fab --version
-
fab -f . --list-format=nested --list
-
fab -f . --list-format=nested --list
sonar
:
tags
:
-
docker-images
sonarqube
:
image
:
ntdt/sonar-scanner:2.7
stage
:
quality
script
:
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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment