Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Main Repositories
otb
Commits
f597adf5
Commit
f597adf5
authored
May 15, 2019
by
Antoine Regimbeau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Put back fast build
parent
75c86b6c
Pipeline
#1464
passed with stages
in 40 minutes and 10 seconds
Changes
2
Pipelines
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
15 deletions
+15
-15
.gitlab-ci.yml
.gitlab-ci.yml
+14
-14
CI/main_superbuild.cmake
CI/main_superbuild.cmake
+1
-1
No files found.
.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