Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
otb
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
207
Issues
207
List
Boards
Labels
Milestones
Merge Requests
8
Merge Requests
8
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Main Repositories
otb
Commits
d7e47127
Commit
d7e47127
authored
Jul 12, 2019
by
Guillaume Pasero
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CI: make artifacts more visible
parent
2e4c87da
Pipeline
#2196
passed with stages
in 11 minutes and 39 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
21 deletions
+19
-21
.gitlab-ci.yml
.gitlab-ci.yml
+15
-7
CI/deploy.sh
CI/deploy.sh
+4
-14
No files found.
.gitlab-ci.yml
View file @
d7e47127
...
...
@@ -54,11 +54,11 @@ stages:
paths
:
-
build/*/*.log
#CMake log
-
log/*.txt
# Others
-
build/
CookBook-*-html.tar.gz
-
build/Documentation/Cookbook/latex/
CookBook-*.pdf
-
build/Documentation/Doxygen/
OTB-Doxygen-*.tar.bz2
-
build_packages/
OTB-*.run
-
build_packages/
OTB-*.zip
-
CookBook-*-html.tar.gz
-
CookBook-*.pdf
-
OTB-Doxygen-*.tar.bz2
-
OTB-*.run
-
OTB-*.zip
-
build/compile_commands.json
-
build/ctest_report.xml
-
build/cppcheck_report.xml
...
...
@@ -111,12 +111,16 @@ ubuntu-xdk-prepare:
script
:
-
ctest -VV -S CI/prepare_superbuild.cmake -DIMAGE_NAME:string=otb-ubuntu-superbuild-base
ubuntu-xdk-build
:
ubuntu-xdk-build
-doc
:
extends
:
.common-build
image
:
$BUILD_IMAGE_REGISTRY/otb-ubuntu-superbuild-base:18.04
script
:
-
xvfb-run -a -n 1 -s "-screen 0 1024x768x24 -dpi 96" ctest -V -S CI/main_superbuild.cmake -DIMAGE_NAME:string=ubuntu-18.04-llvm-xdk
-
mv build/CookBook-*-html.tar.gz . ||
true
-
mv build/Documentation/Cookbook/latex/CookBook-*.pdf . ||
true
-
mv build/Documentation/Doxygen/OTB-Doxygen-*.tar.bz2 . ||
true
-
xvfb-run -a -n 1 -s "-screen 0 1024x768x24 -dpi 96" ctest -V -S CI/main_packages.cmake -DIMAGE_NAME:string=otb-ubuntu-superbuild-base -DNAME_SUFFIX:string=-glibc-2.27
-
mv build_packages/OTB-*.run . ||
true
dependencies
:
-
ubuntu-xdk-prepare
...
...
@@ -133,6 +137,7 @@ centos-xdk-build:
script
:
-
xvfb-run -a -n 1 -s "-screen 0 1024x768x24 -dpi 96" ctest -V -S CI/main_superbuild.cmake -DIMAGE_NAME:string=otb-centos-superbuild-base
-
xvfb-run -a -n 1 -s "-screen 0 1024x768x24 -dpi 96" ctest -V -S CI/main_packages.cmake -DIMAGE_NAME:string=otb-centos-superbuild-base
-
mv build_packages/OTB-*.run . ||
true
dependencies
:
-
centos-xdk-prepare
...
...
@@ -151,6 +156,7 @@ macos-xdk-build:
script
:
-
ctest -V -S CI/main_superbuild.cmake -DIMAGE_NAME:string=otb-macos-superbuild
-
ctest -V -S CI/main_packages.cmake -DIMAGE_NAME:string=otb-macos-superbuild
-
mv build_packages/OTB-*.run . ||
true
dependencies
:
-
macos-xdk-prepare
...
...
@@ -190,6 +196,7 @@ windows-10-build:
-
ctest -V -S CI/main_superbuild.cmake
-
clcache.exe -s
-
ctest -V -S CI/main_packages.cmake
-
mv build_packages/OTB-*.zip . ||
true
dependencies
:
-
windows-10-prepare
...
...
@@ -214,6 +221,7 @@ windows-8-build:
-
ctest -V -S CI/main_superbuild.cmake
-
clcache.exe -s
-
ctest -V -S CI/main_packages.cmake
-
mv build_packages/OTB-*.zip . ||
true
dependencies
:
-
windows-8-prepare
...
...
@@ -305,7 +313,7 @@ deploy:
script
:
-
./CI/deploy.sh $CI_COMMIT_REF_NAME $RC_NUMBER
dependencies
:
-
ubuntu-xdk-build
-
ubuntu-xdk-build
-doc
-
centos-xdk-build
-
macos-xdk-build
-
windows-8-build
...
...
CI/deploy.sh
View file @
d7e47127
...
...
@@ -37,27 +37,17 @@ else # On release
fi
# Push package
ls
-all
build_packages/
echo
"Renaming binary packages"
# find build_packages/. -name "*.run" \
# -exec sh -c 'mv "$1" "${1%.run}${pack_suffix}.run"' _ {} \;
for
name
in
$(
find build_packages/.
-name
"OTB-*.*"
)
do
for
name
in
$(
find
.
-regex
"./OTB-.*
\(
run
\|
zip
\)
"
)
;
do
len
=(
${#
name
}
)
mv
"
$name
"
"
${
name
:0:
$len
-4
}${
pack_suffix
}${
name
:
$len
-4
}
"
done
# TO REMOVE
###########
ls
-all
build_packages/
###########
echo
"Pushing binary packages"
scp
build_packages/
OTB-
*
.
{
run,zip
}
otbpush@otb5-vm2.orfeo-toolbox.org:
${
jobs_directory
}
/.
scp OTB-
*
.
{
run,zip
}
otbpush@otb5-vm2.orfeo-toolbox.org:
${
jobs_directory
}
/.
# Push doc
echo
"Pushing documentation"
scp build/
{
CookBook-
*
-html
.tar.gz,
\
/Documentation/
{
Cookbook/latex/CookBook-
*
.pdf,Doxygen/OTB-Doxygen-
*
.tar.bz2
}}
\
otbpush@otb5-vm2.orfeo-toolbox.org:
${
jobs_directory
}
/.
scp
{
CookBook-
*
-html
.tar.gz,CookBook-
*
.pdf,OTB-Doxygen-
*
.tar.bz2
}
otbpush@otb5-vm2.orfeo-toolbox.org:
${
jobs_directory
}
/.
# Create zip, tar.gz and tar.xy source
echo
"Creating source tarball and zip"
...
...
@@ -75,4 +65,4 @@ echo "Pushing new sources"
scp OTB-sources-
$CI_COMMIT_SHORT_SHA
.
*
\
otbpush@otb5-vm2.orfeo-toolbox.org:
${
jobs_directory
}
/
\ No newline at end of file
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