Skip to content
Snippets Groups Projects
Commit 3dec3181 authored by Mathieu Courtois's avatar Mathieu Courtois
Browse files

[#34400] use pam image

parent 60975992
No related branches found
No related tags found
No related merge requests found
...@@ -15,6 +15,8 @@ workflow: ...@@ -15,6 +15,8 @@ workflow:
rules: rules:
- if: $CI_MERGE_REQUEST_IID - if: $CI_MERGE_REQUEST_IID
# seems redudant using fast-forward merges # seems redudant using fast-forward merges
auto_cancel:
on_new_commit: interruptible
stages: stages:
- setup - setup
...@@ -24,11 +26,13 @@ image: ...@@ -24,11 +26,13 @@ image:
name: ${IMAGE_URL} name: ${IMAGE_URL}
prepare: prepare:
interruptible: true
stage: setup stage: setup
script: script:
- .gitlabci/prepare.sh - .gitlabci/prepare.sh
unittests: unittests:
interruptible: true
stage: test stage: test
needs: ["prepare"] needs: ["prepare"]
script: script:
...@@ -43,25 +47,28 @@ unittests: ...@@ -43,25 +47,28 @@ unittests:
junit: share/test/run_testcases.xml junit: share/test/run_testcases.xml
auto_install: auto_install:
interruptible: true
stage: test stage: test
needs: ["prepare", "unittests"] needs: ["prepare", "unittests"]
script: script:
- .gitlabci/test_auto_install.sh - .gitlabci/test_auto_install.sh
sonarqube-check: sonarqube:
interruptible: true
stage: test stage: test
image: image:
name: sonarsource/sonar-scanner-cli:latest name: nexus.retd.edf.fr:5012/sonarsource/sonar-scanner-cli:latest
entrypoint: [""] entrypoint: ["/bin/sh", "-c"]
variables:
SONAR_USER_HOME: "${CI_PROJECT_DIR}/.sonar" # Defines the location of the analysis task cache
GIT_DEPTH: "0" # Tells git to fetch all the branches of the project, required by the analysis task
cache:
key: "${CI_JOB_NAME}"
paths:
- .sonar/cache
script: script:
- sonar-scanner - sonar-scanner
-Dsonar.projectBaseDir=.
-Dsonar.sources=.
-Dsonar.projectKey="gitlab-${CI_PROJECT_ID}"
-Dsonar.projectName="${CI_PROJECT_PATH_SLUG}"
-Dsonar.host.url="${SQ_SERVER}"
-Dsonar.login="${SQ_TOKEN}"
variables:
SQ_SERVER: "https://sonar.pleiade.edf.fr:443"
allow_failure: true allow_failure: true
# only: # only:
# - main # - main
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment