From ff004191bde4dc500d2fa165dd1b5303cd27422c Mon Sep 17 00:00:00 2001 From: Incardona Pietro <incardon@mpi-cbg.de> Date: Fri, 22 Apr 2022 14:33:37 +0200 Subject: [PATCH] Adding AlmaLinux test image --- .gitlab-ci.yml | 31 +++++++++++++++++++++++++++++-- 1 file changed, 29 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5f3289b5b..f51a784f4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,4 +1,31 @@ -docker_centos_build: +docker_almalinux_build: + stage: build + tags: + - centos-docker + image: 'almalinux:8.5' + artifacts: + paths: + - ./build/src/pdata + - ./build/openfpm_numerics/src/numerics + - ./openfpm_numerics/test + script: + - mkdir -p openfpm_dependencies + - mkdir /root/.ssh && chmod 700 /root/.ssh + - cp id_rsa.pub /root/.ssh/id_rsa.pub && chmod 644 /root/.ssh/id_rsa.pub + - cp id_rsa /root/.ssh/id_rsa && chmod 600 /root/.ssh/id_rsa + - ssh-keyscan -H git.mpi-cbg.de >> ~/.ssh/known_hosts + - ls openfpm_dependencies + - echo "cifarm-centos-node" > hostname + - ./build.sh $CI_PROJECT_DIR unused pdata 0 $CI_COMMIT_REF_NAME + - ls -la build/src/pdata + cache: + when: always + key: $CI_COMMIT_REF_SLUG + paths: + - openfpm_dependencies/ + + +docker_ubuntu_build: stage: build tags: - ubuntu-docker @@ -27,7 +54,7 @@ docker_centos_build: paths: - openfpm_dependencies/ -docker_centos_run: +docker_ubuntu_run: stage: test tags: - ubuntu-docker -- GitLab