Mentions légales du service

Skip to content
Snippets Groups Projects

gitlab-ci: use GIT_CLONE_PATH to clone in a fixed directory and thus be able...

Merged PRUVOST Florent requested to merge fpruvost/hqr:shared-runners into master
All threads resolved!
1 file
+ 4
1
Compare changes
  • Side-by-side
  • Inline
+ 4
1
@@ -6,7 +6,7 @@ stages:
@@ -6,7 +6,7 @@ stages:
default:
default:
image: registry.gitlab.inria.fr/solverstack/docker/base
image: registry.gitlab.inria.fr/solverstack/docker/base
tags: ['ci.inria.fr', 'linux', 'small'] # gitlab instance runner (i.e. docker on linux)
tags: ['ci.inria.fr', 'linux'] # gitlab instance runner (i.e. docker on linux)
interruptible: true
interruptible: true
before_script:
before_script:
@@ -37,6 +37,7 @@ hqr_build_linux:
@@ -37,6 +37,7 @@ hqr_build_linux:
stage: build
stage: build
extends: .only-master-mr
extends: .only-master-mr
variables:
variables:
 
GIT_CLONE_PATH: $CI_BUILDS_DIR/$CI_PROJECT_NAMESPACE/$CI_PROJECT_NAME
SYSTEM: linux
SYSTEM: linux
script:
script:
- bash .gitlab/build.sh | tee hqr-build-linux.log
- bash .gitlab/build.sh | tee hqr-build-linux.log
@@ -88,6 +89,7 @@ hqr_test_linux:
@@ -88,6 +89,7 @@ hqr_test_linux:
extends: .only-master-mr
extends: .only-master-mr
needs: [hqr_build_linux]
needs: [hqr_build_linux]
variables:
variables:
 
GIT_CLONE_PATH: $CI_BUILDS_DIR/$CI_PROJECT_NAMESPACE/$CI_PROJECT_NAME
SYSTEM: linux
SYSTEM: linux
script:
script:
- bash .gitlab/test.sh | tee hqr-test-linux.log
- bash .gitlab/test.sh | tee hqr-test-linux.log
@@ -163,6 +165,7 @@ sonarqube:
@@ -163,6 +165,7 @@ sonarqube:
allow_failure: true
allow_failure: true
needs: [hqr_build_linux,hqr_test_linux]
needs: [hqr_build_linux,hqr_test_linux]
variables:
variables:
 
GIT_CLONE_PATH: $CI_BUILDS_DIR/$CI_PROJECT_NAMESPACE/$CI_PROJECT_NAME
GIT_DEPTH: "0"
GIT_DEPTH: "0"
script:
script:
- ./.gitlab/analysis.sh
- ./.gitlab/analysis.sh
Loading