Commit e05dab55 authored by Antoine Regimbeau's avatar Antoine Regimbeau
Browse files

Add debug trace in main_superbuild

parent 647f7cb2
...@@ -18,15 +18,6 @@ variables: ...@@ -18,15 +18,6 @@ variables:
# The fetch strategy fails with LFS and GitLab # The fetch strategy fails with LFS and GitLab
GIT_STRATEGY: "clone" GIT_STRATEGY: "clone"
before_script:
# Provision efficiently the local LFS cache before checkout
- git lfs fetch origin $CI_COMMIT_SHA
# Checkout the expected branch
- git checkout -f -q $CI_COMMIT_SHA
after_script:
- python3 CI/cdash_handler.py $CI_COMMIT_SHA $CI_PROJECT_ID $CI_PROJECT_DIR $K8S_SECRET_CDASH
stages: stages:
- precheck - precheck
- prepare - prepare
...@@ -48,6 +39,8 @@ fast-build: ...@@ -48,6 +39,8 @@ fast-build:
- export GIT_LFS_SKIP_SMUDGE=1 - export GIT_LFS_SKIP_SMUDGE=1
- git checkout -f -q $CI_COMMIT_SHA - git checkout -f -q $CI_COMMIT_SHA
- python3 CI/check_twin_pipelines.py - python3 CI/check_twin_pipelines.py
after_script:
- python3 CI/cdash_handler.py $CI_COMMIT_SHA $CI_PROJECT_ID $CI_PROJECT_DIR $K8S_SECRET_CDASH
script: script:
- ctest -V -S CI/main_ci.cmake -DIMAGE_NAME:string=ubuntu-18.04-fast - ctest -V -S CI/main_ci.cmake -DIMAGE_NAME:string=ubuntu-18.04-fast
- ccache -s - ccache -s
...@@ -56,6 +49,13 @@ fast-build: ...@@ -56,6 +49,13 @@ fast-build:
extends: .general extends: .general
only: [merge_requests] only: [merge_requests]
stage: build stage: build
before_script:
# Provision efficiently the local LFS cache before checkout
- git lfs fetch origin $CI_COMMIT_SHA
# Checkout the expected branch
- git checkout -f -q $CI_COMMIT_SHA
after_script:
- python3 CI/cdash_handler.py $CI_COMMIT_SHA $CI_PROJECT_ID $CI_PROJECT_DIR $K8S_SECRET_CDASH
debian-build: debian-build:
extends: .common-build extends: .common-build
...@@ -79,12 +79,9 @@ ubuntu-llvm: ...@@ -79,12 +79,9 @@ ubuntu-llvm:
only: [merge_requests] only: [merge_requests]
stage: prepare stage: prepare
before_script: before_script:
# This override the previous before_script
- export GIT_LFS_SKIP_SMUDGE=1 - export GIT_LFS_SKIP_SMUDGE=1
- git checkout -f -q $CI_COMMIT_SHA - git checkout -f -q $CI_COMMIT_SHA
- export GIT_LFS_SKIP_SMUDGE=0 - export GIT_LFS_SKIP_SMUDGE=0
after_script:
- echo "Nothing to do for after_script"
artifacts: artifacts:
expire_in: 24 hrs expire_in: 24 hrs
paths: paths:
......
...@@ -50,7 +50,7 @@ find_program(CTEST_GIT_COMMAND NAMES git git.cmd) ...@@ -50,7 +50,7 @@ find_program(CTEST_GIT_COMMAND NAMES git git.cmd)
# FIXME: Replace ${GIT} variable with $[CTEST_GIT_COMMAND}" # FIXME: Replace ${GIT} variable with $[CTEST_GIT_COMMAND}"
set( GIT "${CTEST_GIT_COMMAND}" ) set( GIT "${CTEST_GIT_COMMAND}" )
set( DEBUG 1 )
execute_process( execute_process(
COMMAND ${GIT} "clone" "${REMOTE}" "--branch" "${BRANCH_NAME}" COMMAND ${GIT} "clone" "${REMOTE}" "--branch" "${BRANCH_NAME}"
"--depth" "1" "superbuild-artifact" "--depth" "1" "superbuild-artifact"
......
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