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
f597adf5
Commit
f597adf5
authored
May 15, 2019
by
Antoine Regimbeau
Browse files
Put back fast build
parent
75c86b6c
Changes
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
f597adf5
...
...
@@ -19,7 +19,7 @@ variables:
GIT_STRATEGY
:
"
clone"
stages
:
#
- precheck
-
precheck
-
prepare
-
build
...
...
@@ -30,19 +30,19 @@ stages:
-
runner_system_failure
-
stuck_or_timeout_failure
#
fast-build:
#
extends: .general
#
only: [merge_requests, branches]
#
stage: precheck
#
image: $BUILD_IMAGE_REGISTRY/otb-ubuntu-native-develop:latest
#
before_script:
#
- 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 $CI_MERGE_REQUEST_REF_PATH
#
script:
#
- ctest -V -S CI/main_ci.cmake -DIMAGE_NAME:string=ubuntu-18.04-fast
#
- ccache -s
fast-build
:
extends
:
.general
only
:
[
merge_requests
,
branches
]
stage
:
precheck
image
:
$BUILD_IMAGE_REGISTRY/otb-ubuntu-native-develop:latest
before_script
:
-
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 $CI_MERGE_REQUEST_REF_PATH
script
:
-
ctest -V -S CI/main_ci.cmake -DIMAGE_NAME:string=ubuntu-18.04-fast
-
ccache -s
.common-build
:
extends
:
.general
...
...
CI/main_superbuild.cmake
View file @
f597adf5
...
...
@@ -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