Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Commandre Benjamin
OTB
Commits
e05dab55
Commit
e05dab55
authored
May 15, 2019
by
Antoine Regimbeau
Browse files
Add debug trace in main_superbuild
parent
647f7cb2
Changes
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
e05dab55
...
...
@@ -18,15 +18,6 @@ variables:
# The fetch strategy fails with LFS and GitLab
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
:
-
precheck
-
prepare
...
...
@@ -48,6 +39,8 @@ fast-build:
-
export GIT_LFS_SKIP_SMUDGE=1
-
git checkout -f -q $CI_COMMIT_SHA
-
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
:
-
ctest -V -S CI/main_ci.cmake -DIMAGE_NAME:string=ubuntu-18.04-fast
-
ccache -s
...
...
@@ -56,6 +49,13 @@ fast-build:
extends
:
.general
only
:
[
merge_requests
]
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
:
extends
:
.common-build
...
...
@@ -79,12 +79,9 @@ ubuntu-llvm:
only
:
[
merge_requests
]
stage
:
prepare
before_script
:
# This override the previous before_script
-
export GIT_LFS_SKIP_SMUDGE=1
-
git checkout -f -q $CI_COMMIT_SHA
-
export GIT_LFS_SKIP_SMUDGE=0
after_script
:
-
echo "Nothing to do for after_script"
artifacts
:
expire_in
:
24 hrs
paths
:
...
...
CI/main_superbuild.cmake
View file @
e05dab55
...
...
@@ -50,7 +50,7 @@ find_program(CTEST_GIT_COMMAND NAMES git git.cmd)
# FIXME: Replace ${GIT} variable with $[CTEST_GIT_COMMAND}"
set
(
GIT
"
${
CTEST_GIT_COMMAND
}
"
)
set
(
DEBUG 1
)
execute_process
(
COMMAND
${
GIT
}
"clone"
"
${
REMOTE
}
"
"--branch"
"
${
BRANCH_NAME
}
"
"--depth"
"1"
"superbuild-artifact"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment