Skip to content

Gitlab CI with docker

Karol Sierocinski requested to merge docker_ci into master

Resolves #152 (closed).

I've created docker hub account for PDI (https://hub.docker.com/u/pdireg). There are 6 docker images with the following dependencies:

centos_base -----> centos_cmake3.5 ----------------------> centos_libs_cmake3.5
           \                                           /
            \                      .-> centos_libs ---<
             \                    /                    \
              `-> centos_cmake3.10 ----------------------> centos_libs_cmake3.10

All things concerning docker images are described in dockerfiles/README.

I have added some stages to .gitlab-ci.yml. Pipeline runs only on master and MRs. Firstly, PDI builds with libraries from system. Next stage tests PDI with this build. In this way if there would be an error, the best chance it will come up here. If previous stage succeeds, the rest of the stages will be run. The pages are done only on master.

I had to create artifacts that expire_in 60 minutes, because there is no way to tell gitlab to delete them at the end of the pipeline (https://gitlab.com/gitlab-org/gitlab-ce/issues/19505).

I had also adjust flowvr tests for system version of FlowVR.

@jbigot Could you check gitlab runners? My first stages were run, but now all have status pending and pipeline fails.

Edited by Karol Sierocinski

Merge request reports