diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 67ae263fdfddedb371bc98af7e8212a0312df891..c1aadaca0ec4e743f40da3a53dd7913af64cb5e6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,30 +1,11 @@ makefile_generation_and_compilation_plus_run_nrt_tests_cluster: - image: registry-gitlab.pasteur.fr/dsi-tools/docker-images:centOS8_ROCK + image: docker:27 script: - - source /etc/profile.d/gensoft_modules.sh - - module av - - module load gcc/7.2.0 - - module load m4/1.4.17 - - module load autoconf/2.69 - - module load automake/1.15 - - module list - - export PATH=$PATH:/usr/bin - - echo $PATH - - ls /usr/bin - - yum update -y && yum install -y perl perl-Thread-Queue.noarch && /usr/bin/perl --version - # - rm configure - - aclocal - - autoconf -i - - automake - - ./configure - - make; cd src - - ./unit_test_fqreader - - ./unit_test_math_utils - - ./unit_test_fqwriter - - ./unit_test_cms - - ./unit_test_read_utils - - cd ..; make check - - make distcheck + - sleep 3 # Try to avoid "ERROR: open /certs/client/ca.pem: no such file or directory" + - docker build -t test_rh8.8_image -f Dockerfile_redhat_autotools . + - docker run -td -v $(pwd):/ROCK -w /ROCK --name test_all test_rh8.8_image + - docker ps -a + - docker exec test_all sh -c "./run_tests_ci.sh" makefile_generation_and_compilation_plus_run_nrt_tests_ubuntu: