diff --git a/CI/Dockerfile.shark1.3.4 b/CI/Dockerfile.shark3.1.4 similarity index 99% rename from CI/Dockerfile.shark1.3.4 rename to CI/Dockerfile.shark3.1.4 index 7ecf70aed958586c3fc7cf3189edc7822f359bf5..96f52716c097c5f1ca36fa0de85710a2b619e7d8 100644 --- a/CI/Dockerfile.shark1.3.4 +++ b/CI/Dockerfile.shark3.1.4 @@ -1,5 +1,5 @@ FROM ubuntu:18.04 as shark-provider -MAINTAINER Babar +MAINTAINER OrfeoToolbox Core Team ENV DEBIAN_FRONTEND noninteractive diff --git a/CI/README.md b/CI/README.md new file mode 100644 index 0000000000000000000000000000000000000000..175927776f412b8059e73cbe9dcd6475c3ad9dc2 --- /dev/null +++ b/CI/README.md @@ -0,0 +1,27 @@ +# CI +This folder contains files for the continuous integration. + +## Docker files +The docker files are : + + * Dockerfile.nat : native environment to test OTB. Shark is not on this one as the version OTB is using is not packaged (since 6.7) + * Dockerfile.shark.1.3.4 : native environment and Shark version 3.1.4. + +## CMake files +The docker files are : + + * main_ci.cmake : main script that will launch configure, build and soon test. It aims at configuring Ctest before running the different jobs (site name, build command...) + *configure_option.cmake : script that gathers all options needed by OTB. + +##Yaml file +The last file needed for the CI is the *.gitlab-ci.yml* it aims at interfacing with GitLab. Here is the basic structure : +``` +Job-name: + stage: job-type + image: docker image that will be used + script: + - script that will be launch inside the docker +``` + +# CDash interaction +Results of build can be seen in CDash on the track "Experimental". The site is the image docker that run the build, and the build name should be the branch name that is tested. \ No newline at end of file diff --git a/CI/configure_option.cmake b/CI/configure_option.cmake index 36d68b7895420a767a602c6890e8cf9b2da5c9fa..2bdd397cdbaefcfdc4f04d33bbf8063e6f94877a 100644 --- a/CI/configure_option.cmake +++ b/CI/configure_option.cmake @@ -1,3 +1,24 @@ +# +# Copyright (C) 2005-2019 Centre National d'Etudes Spatiales (CNES) +# +# This file is part of Orfeo Toolbox +# +# https://www.orfeo-toolbox.org/ +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +# This script is a prototype for the future CI, it may evolve rapidly in a near future #This file set the following variable : # * otb_build_project_option # * otb_use_option