From 32770deada1344a25a8e997e141a9425e92d1c09 Mon Sep 17 00:00:00 2001 From: FASER Reco <faserrec@lxplus909.cern.ch> Date: Sun, 26 Jan 2025 20:10:49 +0100 Subject: [PATCH] Patch up CI --- .gitlab-ci.yml | 4 ++-- .gitlab-ci.yml.fixme | 54 -------------------------------------------- 2 files changed, 2 insertions(+), 56 deletions(-) delete mode 100644 .gitlab-ci.yml.fixme diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index df239def..c22ab6c8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -26,7 +26,7 @@ build_image: - mkdir build - cd build - set +e && source ${ATLAS_LOCAL_ROOT_BASE}/user/atlasLocalSetup.sh; set -e - - set +e && asetup --input=../../calypso/asetup.faser Athena,22.0.49; set -e + - set +e && asetup --input=../../calypso/asetup.faser Athena,24.0.41; set -e - cmake ../../calypso - make -j 3 artifacts: @@ -43,7 +43,7 @@ test_unittest: - yum -y --disablerepo=epel install man which git make cmake3 gcc-c++ gcc binutils libX11-devel libXpm-devel libXft-devel libXext-devel python openssl-devel - cd build - set +e && source ${ATLAS_LOCAL_ROOT_BASE}/user/atlasLocalSetup.sh; set -e - - set +e && asetup --input=../../calypso/asetup.faser Athena,22.0.49; set -e + - set +e && asetup --input=../../calypso/asetup.faser Athena,24.0.41; set -e - set +e && source `find . -name 'setup.sh'`; set -e - ctest -j3 dependencies: diff --git a/.gitlab-ci.yml.fixme b/.gitlab-ci.yml.fixme deleted file mode 100644 index 6cab2c63..00000000 --- a/.gitlab-ci.yml.fixme +++ /dev/null @@ -1,54 +0,0 @@ -variables: - # all submodules will be cloned recursively upon start of CI job - GIT_SUBMODULE_STRATEGY: recursive - GIT_SSL_NO_VERIFY: "true" - ATLAS_LOCAL_ROOT_BASE: /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase - -stages: - - build - - test - -########################## -# BUILD stage # -########################## - -build_image: - # description: triggers a build of the project as a Docker image, - # each branch will have an individual Docker image that will be used - # in the following stages of the pipeline for testing the code - image: - name: gitlab-registry.cern.ch/linuxsupport/cc7-base:latest - stage: build - tags: - - k8s-cvmfs - script: - - yum -y --disablerepo=epel install redhat-lsb redhat-lsb-core man uuid-devel libuuid libuuid-devel mesa-libGL-devel libXpm-devel - - mkdir build - - cd build - - set +e && source ${ATLAS_LOCAL_ROOT_BASE}/user/atlasLocalSetup.sh; set -e - - set +e && asetup --input=../../calypso/asetup.faser Athena,24.0.41; set -e - - cmake ../../calypso - - make -j 3 - artifacts: - paths: - - build/ - -test_unittest: - image: - name: gitlab-registry.cern.ch/linuxsupport/cc7-base:latest - stage: test - tags: - - k8s-cvmfs - script: - - yum -y --disablerepo=epel install man which git make cmake3 gcc-c++ gcc binutils libX11-devel libXpm-devel libXft-devel libXext-devel python openssl-devel - - cd build - - set +e && source ${ATLAS_LOCAL_ROOT_BASE}/user/atlasLocalSetup.sh; set -e - - set +e && asetup --input=../../calypso/asetup.faser Athena,24.0.41; set -e - - set +e && source `find . -name 'setup.sh'`; set -e - - ctest -j3 - dependencies: - - build_image - artifacts: - paths: - - LastTest.log - -- GitLab