File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 1- image : python:3.6
1+ image : python:3.8
22
33variables :
44 PIP_CACHE_DIR : " $CI_PROJECT_DIR/.cache/pip"
55 SONAR_USER_HOME : " ${CI_PROJECT_DIR}/.sonar" # Defines the location of the analysis task cache
6- GIT_DEPTH : " 0 " # Tells git to fetch all the branches of the project, required by the analysis task
6+ GIT_DEPTH : 10
77 DOCKER_DRIVER : overlay2
88
99before_script :
@@ -40,10 +40,11 @@ sonarcloud-check:
4040 stage : analyze
4141 image :
4242 name : sonarsource/sonar-scanner-cli:latest
43- entrypoint : [""]
43+ entrypoint : [ "" ]
44+ before_script :
45+ - git fetch --unshallow origin +refs/heads/*:refs/remotes/origin/*
4446 script :
4547 - sonar-scanner
46- before_script : []
4748 dependencies :
4849 - coverage
4950 only :
@@ -76,6 +77,8 @@ coverage:
7677
7778pages :
7879 stage : deploy
80+ image : alpine
81+ cache : { }
7982 dependencies :
8083 - docs
8184 - coverage
You can’t perform that action at this time.
0 commit comments