Skip to content
Snippets Groups Projects
ds_eoscpilot.tex 8.33 KiB
Newer Older
  • Learn to ignore specific revisions
  • Doina Cristina Duma's avatar
    Doina Cristina Duma committed
    \documentclass[a4paper]{jpconf}
    \usepackage{graphicx}
    \begin{document}
    
    Doina Cristina Duma's avatar
    Doina Cristina Duma committed
    \title{EOSCpilot: Interoperability Interim results}
    
    Doina Cristina Duma's avatar
    Doina Cristina Duma committed
    
    \author{C. Duma$^1$, A. Costantini$^1$, D. Michelotto$^1$,
            A. Ceccanti$^1$, E. Fattibene $^1$ and D. Salomoni$^1$}
    \address{$^1$INFN Division CNAF, Bologna, Italy}
    
    \ead{ds@cnaf.infn.it}
    
    \begin{abstract}
    
    
    Doina Cristina Duma's avatar
    Doina Cristina Duma committed
    The EOSCpilot project is the first project in the entire EOSC programme, tasked with exploring some of the scientific, technical and cultural challenges that need to be addressed in the deployment of the EOSC. The EOSCpilot project has been funded to support the first phase in the development of the European Open Science Cloud (EOSC). In this paper we present a summary of the second year activities results in the field of interoperability containing the first results of the validation of services and demonstrators in the interoperability testbeds and the revised interoperability requirements derived from these activities. 
    
    
    Doina Cristina Duma's avatar
    Doina Cristina Duma committed
    \end{abstract}
    
    \section{Introduction}
    Text
    
    Doina Cristina Duma's avatar
    Doina Cristina Duma committed
    \section{First section}
    
    Doina Cristina Duma's avatar
    Doina Cristina Duma committed
    \label{sec:release}
    
    TOCHANGE
    The software development lifecycle (SDL) process (Figure~\ref{fig:1}) in INDIGO has been supported by a continuous 
    software improvement process that regarded the software quality assurance, software maintenance, 
    including release management, support services, and the management of pilot infrastructures 
    needed for software integration and acceptance testing.
    
    %\begin{figure}
    %  \centering
    %  \includegraphics[width=\textwidth]{Figure5.pdf}
    %  \caption{Software development lifecycle implementation}
    %  \label{fig:1}
    %\end{figure}
    
    
    Preview releases are made available for evaluation by user communities and
    resource providers through the pilot infrastructures. Release
    candidates are subjected to integration testing, which may include the
    
    %\subsection{Software development lifecycle management}
    
    Software lifecycle management is performed mostly via automated actions orchestrated.
    
    In Figure we depict the project's software lifecycle management services and 
    activities and their interdependencies:
    \begin{itemize}
    \item Version Control System (VCS) - Source Code is made available through public VCS 
            repositories, hosted externally in GitHub repositories, guaranteeing in this 
            way the software openness and visibility, simplifying the exploitation beyond the 
            project lifetime. The INDIGO-DataCloud software is released under the Apache 2.0 
            software license and can be deployed on both public and private Cloud infrastructures.
    \item Software quality assurence criteria and control activities and services to enable them: 
    \begin{itemize}
    \item Continuous Integration service using {\bf Jenkins}: Service to automate the building, 
            packaging (where applicable) and execution of unit and functional tests of software components.
    \item Code review service using GitHub: Code review of software source code is one integral part of the SQA\@. This service facilitates the code review proces. It records the 
            comments and allows the reviewer to verify the software modification.
    \item Code metrics services using {\bf Grimoire}: To collect and visualize several metrics about the software components.
    \end{itemize}
    \item Software release and maintenance activities, services and supporting infrastructures
    \begin{itemize}
    \item A project management service using {\bf openproject.org} is made available by the 
            project: It provides tools such as an issue tracker, wiki, a placeholder for documents and a project management timeline.
    \item Artifacts repositories for RPM and Debian packages, and Docker Hub for containers: 
            In INDIGO-DataCloud there are two types of artifacts, packaged software and virtual images. 
            The software can be downloaded from our public repository\footnote{http://repo.indigo-datacloud.eu}.
    \item Release notes, installation and configuration guides, user and development manuals are made 
            available on {\bf GitBook}\footnote{https://indigo-dc.gitbooks.io/indigo-datacloud-releases}.
    \item Bug trackers using GitHub issues tracker: Services to track issues and bugs of INDIGO-DataCloud software components.
    \item Integration infrastructure: this infrastructure is composed of computing resources to support directly 
            the Continuous Integration service. It's the place where building and packaging of software 
            occurs as well as the execution of unit and functional tests. These resources are provided by INDIGO partners.
    \item Testing infrastructure: this infrastructure aims to provide several types of environment. A stable environment 
            for users where they can preview the software and services developed by INDIGO-DataCloud, prior to its public release. 
    \item Preview infrastructure: where the released artifacts are deployed and made available for testing and validation by the use-cases.
    \end{itemize}
    
    \end{itemize}
    
    
    The first INDIGO-DataCloud major release (codename {\tt MidnightBlue}) was released 1st of August 2016 (see table~\ref{tab:1} for the fact sheet). The 
    second INDIGO-DataCloud major release (codename {\tt ElectricIndigo}) was made publicly available on April 14th  2017 (see table~\ref{tab:2} for the fact sheet).
    
    
    \section{DevOps approach in INDIGO}
    
    Progressive levels of automation were adopted throughout the different phases of 
    the INDIGO-DataCloud project software development and delivery processes.
    
    \subsection{Services for continuous integration and SQA}
    
    The INDIGO-DataCloud CI process is schematically shown
    in Figure~\ref{fig:3}. The process, in its different steps, reflects some of
    the main and important achievements of the software integration team, such as:
    
    \begin{itemize}
        \item New features are developed independently from the
              production version in \textit{feature branches}. The creation of
              a pull request for a specific feature branch marks the start of
              the automated validation process through the execution of the
              SQA jobs.
    
        \item The SQA jobs perform the code style verification and calculate unit
            and functional test coverage.
            \begin{itemize}
                \item The tools necessary for tackling these tests are packaged in
                    Docker images, available in DockerHub.
                \item Each test then initiates a new container that provides a
                    clean environment for its execution.
                \item This is an innovative approach that provides the flexibility
                    needed to cope with the INDIGO-DataCloud software diversity.
            \end{itemize}
    
        \item The results of the several SQA jobs are made available in the Jenkins
            service which notifies back to GitHub their exit status.
            \begin{itemize}
                \item Only if the tests have succeeded, the source code is
                    validated and is ready to be merged into the production branch.
            \end{itemize}
    
        \item The last step in the workflow is the code review, where a human
            review of the change is performed. After code review the source code
                    can be merged and becomes ready for integration and later release.
    \end{itemize}
    
    
    
    As a general rule, the described CI process must be followed by all the PTs
    contributing code to INDIGO-DataCloud. However there are exceptions to this rule that fall into two main categories:
    
    \subsection{Continuous delivery}
    Continuous delivery adds, on top of the software development chain, a seamless
    manufacturing of software packages ready to be deployed into production
    services. Therefore, fast, frequent and small releases can be taken over thus
    promoting the reliability of the software.
    
    \subsection{DevOps adoption from user communities}
    
    The experience gathered throughout the project with regards to the adoption of different DevOps 
    practices is not only useful and suitable for the software related to the core services in the 
    INDIGO-DataCloud solution, but also applicable to the development and distribution of the applications coming from the user communities.
    
    \section{Conclusions}
    
    Thanks to the new common solutions developed by the INDIGO project, teams of first-line 
    researchers in Europe are using public and private Cloud resources to get new results in Physics, Biology, Astronomy, Medicine, Humanities and other disciplines.
    
    \section*{Acknowledgments}
    EOSCpilot has been funded by the European Commision H2020 research and innovation program under grant agreement RIA XXXXXXX.
    
    
    \end{document}