Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
otb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
273
Issues
273
List
Boards
Labels
Service Desk
Milestones
Merge Requests
8
Merge Requests
8
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Main Repositories
otb
Commits
bb3e6f56
Commit
bb3e6f56
authored
Feb 04, 2019
by
Antoine Regimbeau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add merge request environment
parent
4bca889f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
11 deletions
+7
-11
.gitlab-ci.yml
.gitlab-ci.yml
+6
-10
CI/main_ci.cmake
CI/main_ci.cmake
+1
-1
No files found.
.gitlab-ci.yml
View file @
bb3e6f56
variables
:
DOCKER_DRIVER
:
overlay2
SITE_NAME
:
$CI_MERGE_REQUEST_PROJECT_PATH
stages
:
-
build
.retry_twice
:
.general
:
only
:
[
merge_requests
]
retry
:
max
:
2
when
:
...
...
@@ -13,19 +13,15 @@ stages:
-
stuck_or_timeout_failure
natif-build
:
variables
:
CI_DEBUG_TRACE
:
"
true"
extends
:
.retry_twice
extends
:
.general
stage
:
build
image
:
registry.orfeo-toolbox.org/sdinot/otb:ubuntu-18.04-gccV0.2
script
:
-
echo $SITE_NAME
# - ctest -VV -S CI/main_ci.cmake \
# "-DCTEST_SITE:string=${CI_MERGE_REQUEST_PROJECT_PATH}_ubuntu-18.04"
-
ctest -VV -S CI/main_ci.cmake -DIMAGE_NAME:string=ubuntu-18.04-gccV0.2
shark-build
:
extends
:
.
retry_twice
extends
:
.
general
stage
:
build
image
:
registry.orfeo-toolbox.org/sdinot/otb:ubuntu18.04-shark3.1.4
script
:
-
ctest -VV -S CI/main_ci.cmake
\ No newline at end of file
-
ctest -VV -S CI/main_ci.cmake -DIMAGE_NAME:string=ubuntu18.04-shark3.1.4
\ No newline at end of file
CI/main_ci.cmake
View file @
bb3e6f56
...
...
@@ -27,7 +27,7 @@ set (CTEST_BUILD_CONFIGURATION "Release")
set
(
CTEST_CMAKE_GENERATOR
"Unix Makefiles"
)
set
(
CTEST_BUILD_NAME
"$ENV{CI_MERGE_REQUEST_PROJECT_PATH}"
)
set
(
CTEST_SITE
"$
ENV{CI_REGISTRY_IMAG
E}"
)
set
(
CTEST_SITE
"
$
{
IMAGE_NAM
E
}
"
)
# Directory variable
set
(
CTEST_SOURCE_DIRECTORY
"
${
OTB_SOURCE_DIR
}
"
)
...
...
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