Commit cae0738a authored by Administrator's avatar Administrator

Update .gitlab-ci.yml

parent 8d3a337d
......@@ -4,12 +4,11 @@ variables:
CI_REGISTRY: "pg-registry.altimetrik.com"
CI_REGISTRY_IMAGE: "pg-registry.altimetrik.com/playground"
SONAR_URL: "http://pg-sonar.altimetrik.com/about"
SONAR_ANALYSIS_MODE: "issues"
SONAR_ANALYSIS_MODE: publish
stages:
- Build
- Test
- ImagePrune
- Buildimage
- Dockerizing
......@@ -22,16 +21,6 @@ Dockerbuild:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker build -t $CI_REGISTRY_IMAGE .
sonar:
image: ciricihq/gitlab-sonar-scanner
stage: Test
variables:
SONAR_URL: "http://pg-sonar.altimetrik.com/about"
SONAR_ANALYSIS_MODE: "issues"
script:
- gitlab-sonar-scanner
allow_failure: true
ImagePrune:
stage: ImagePrune
script:
......
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