Skip to content
Snippets Groups Projects
Commit a8b9cfe6 authored by Ulrich Schwickerath's avatar Ulrich Schwickerath
Browse files

add fedora 41 build

parent e6bdd589
No related branches found
No related tags found
No related merge requests found
......@@ -16,6 +16,7 @@ include:
IMAGEUBUNTU22: gitlab-registry.cern.ch/delphi/docker/builder-ubuntu22:latest
IMAGEUBUNTU24: gitlab-registry.cern.ch/delphi/docker/builder-ubuntu24:latest
IMAGEDEBIAN12: gitlab-registry.cern.ch/delphi/docker/builder-debian12:latest
IMAGEFED41: gitlab-registry.cern.ch/delphi/docker/builder-fed41:latest
GITLAB_ADVANCED_SAST_ENABLED: 'true'
stages:
......@@ -52,3 +53,4 @@ include:
- CI/al8_64.yml
- CI/al8_32.yml
- CI/al8_aarch64.yml
- CI/fed41_64_xrd.yml
---
#########################################################################
#########################################################################
cernlib_fed41_64_xrd:
image: $IMAGEFED41
stage: cernlib
needs:
- common_fed41_64
when: manual
before_script:
- umask 022
- dnf -y install openssl-devel cmake
- dnf -y install file xrootd-client-libs xrootd-client-devel
script:
- echo "[http]" > ~/.gitconfig; echo " emptyAuth = true" >> ~/.gitconfig; echo >> ~/.gitconfig
- . /etc/kinit.sh ; klist
- echo "[http]" > ~/.gitconfig; echo " emptyAuth = true" >> ~/.gitconfig; echo >> ~/.gitconfig
- path=`pwd`; export DELPHI_INSTALL_DIR=$path/d; export CERNLIB_XROOTD=ON; make clean setup cernlib
artifacts:
paths:
- d
dstana_fed41_64_xrd:
image: $IMAGEFED41
stage: dstana
needs:
- cernlib_fed41_64_xrd
dependencies:
- cernlib_fed41_64_xrd
before_script:
- umask 022
- dnf -y install file xrootd-client-libs xrootd-client-devel
script:
- echo "[http]" > ~/.gitconfig; echo " emptyAuth = true" >> ~/.gitconfig; echo >> ~/.gitconfig
- . /etc/kinit.sh ; klist
- path=`pwd`; export DELPHI_INSTALL_DIR=$path/d; export CERNLIB_XROOTD=ON; make dstana
artifacts:
paths:
- d
expire_in: '1 day'
ddb_fed41_64_xrd:
image: $IMAGEFED41
stage: ddb
needs:
- cernlib_fed41_64_xrd
dependencies:
- cernlib_fed41_64_xrd
before_script:
- umask 022
- dnf -y install file xrootd-client-libs xrootd-client-devel
script:
- echo "[http]" > ~/.gitconfig; echo " emptyAuth = true" >> ~/.gitconfig; echo >> ~/.gitconfig
- . /etc/kinit.sh ; klist
- path=`pwd`; export DELPHI_INSTALL_DIR=$path/d; export CERNLIB_XROOTD=ON; make ddb
artifacts:
paths:
- d
expire_in: '1 day'
lep1simana_fed41_64_xrd:
image: $IMAGEFED41
stage: lep1simana
needs:
- cernlib_fed41_64_xrd
- dstana_fed41_64_xrd
- ddb_fed41_64_xrd
dependencies:
- cernlib_fed41_64_xrd
- dstana_fed41_64_xrd
- ddb_fed41_64_xrd
before_script:
- umask 022
- dnf -y install file xrootd-client-libs xrootd-client-devel
script:
- echo "[http]" > ~/.gitconfig; echo " emptyAuth = true" >> ~/.gitconfig; echo >> ~/.gitconfig
- . /etc/kinit.sh ; klist
- path=`pwd`; export DELPHI_INSTALL_DIR=$path/d; export CERNLIB_XROOTD=ON; make v95d v94c v93d v92e v91f v90e
artifacts:
paths:
- d
expire_in: '1 day'
lep2simana_fed41_64_xrd:
image: $IMAGEFED41
stage: lep2simana
needs:
- cernlib_fed41_64_xrd
- dstana_fed41_64_xrd
- ddb_fed41_64_xrd
dependencies:
- cernlib_fed41_64_xrd
- dstana_fed41_64_xrd
- ddb_fed41_64_xrd
before_script:
- umask 022
- dnf -y install file xrootd-client-libs xrootd-client-devel
script:
- echo "[http]" > ~/.gitconfig; echo " emptyAuth = true" >> ~/.gitconfig; echo >> ~/.gitconfig
- . /etc/kinit.sh ; klist
- path=`pwd`; export DELPHI_INSTALL_DIR=$path/d; export CERNLIB_XROOTD=ON; make va0u va0e v99e v98e v97g v96g
artifacts:
paths:
- d
expire_in: '1 day'
delgra_fed41_64_xrd:
image: $IMAGEFED41
stage: delgra
needs:
- cernlib_fed41_64_xrd
- dstana_fed41_64_xrd
dependencies:
- cernlib_fed41_64_xrd
- dstana_fed41_64_xrd
before_script:
- umask 022
- dnf -y install file xrootd-client-libs xrootd-client-devel
script:
- echo "[http]" > ~/.gitconfig; echo " emptyAuth = true" >> ~/.gitconfig; echo >> ~/.gitconfig
- . /etc/kinit.sh ; klist
- dnf -y install libGLEW glew-devel
- path=`pwd`; export DELPHI_INSTALL_DIR=$path/d; export CERNLIB_XROOTD=ON; make openphigs delgra
artifacts:
paths:
- d
expire_in: '1 day'
des_fed41_64_xrd:
image: $IMAGEFED41
stage: des
needs:
- cernlib_fed41_64_xrd
- dstana_fed41_64_xrd
- lep1simana_fed41_64_xrd
- lep2simana_fed41_64_xrd
dependencies:
- cernlib_fed41_64_xrd
- dstana_fed41_64_xrd
- lep1simana_fed41_64_xrd
- lep2simana_fed41_64_xrd
before_script:
- umask 022
- dnf -y install file xrootd-client-libs xrootd-client-devel
script:
- echo "[http]" > ~/.gitconfig; echo " emptyAuth = true" >> ~/.gitconfig; echo >> ~/.gitconfig
- . /etc/kinit.sh ; klist
- path=`pwd`; export DELPHI_INSTALL_DIR=$path/d; export CERNLIB_XROOTD=ON; make des
artifacts:
paths:
- d
expire_in: '1 day'
idea_fed41_64_xrd:
image: $IMAGEFED41
stage: idea
needs:
- cernlib_fed41_64_xrd
- dstana_fed41_64_xrd
before_script:
- umask 022
- dnf -y install gcc-c++
- dnf -y install file xrootd-client-libs xrootd-client-devel
dependencies:
- cernlib_fed41_64_xrd
- dstana_fed41_64_xrd
script:
- echo "[http]" > ~/.gitconfig; echo " emptyAuth = true" >> ~/.gitconfig; echo >> ~/.gitconfig
- echo "${CI_PASSWD}" | kinit ${CI_USER}@CERN.CH
- path=`pwd`; export DELPHI_INSTALL_DIR=$path/d; export CERNLIB_XROOTD=ON; make idea
allow_failure: true
artifacts:
paths:
- d
expire_in: '1 day'
tests_fed41_64_xrd:
image: $IMAGEFED41
stage: tests
before_script:
- umask 022
- dnf -y install gcc-c++ file libGLEW glew-devel gfortran tcsh
- dnf -y install file xrootd-client-libs xrootd-client-devel
needs:
- common_fed41_64
- cernlib_fed41_64_xrd
- dstana_fed41_64_xrd
- lep1simana_fed41_64_xrd
- lep2simana_fed41_64_xrd
- des_fed41_64_xrd
- delgra_fed41_64_xrd
- idea_fed41_64_xrd
- ddb_fed41_64_xrd
dependencies:
- common_fed41_64
- cernlib_fed41_64_xrd
- dstana_fed41_64_xrd
- lep1simana_fed41_64_xrd
- lep2simana_fed41_64_xrd
- des_fed41_64_xrd
- delgra_fed41_64_xrd
- idea_fed41_64_xrd
- ddb_fed41_64_xrd
script:
- echo "[http]" > ~/.gitconfig; echo " emptyAuth = true" >> ~/.gitconfig; echo >> ~/.gitconfig
- echo "${CI_PASSWD}" | kinit ${CI_USER}@CERN.CH
- path=`pwd`; export DELPHI_DATA_DIR=${path}/test-samples; export DELPHI_INSTALL_DIR=${path}/d; export CERNLIB_XROOTD=ON; make test
# only needed for image creation !
artifacts:
name: delphi
paths:
- d/*
expire_in: '1 day'
binaries_fed41_64_xrd:
image: $IMAGEFED41
stage: binaries
needs:
- common_fed41_64
- cernlib_fed41_64_xrd
- dstana_fed41_64_xrd
- lep1simana_fed41_64_xrd
- lep2simana_fed41_64_xrd
- des_fed41_64_xrd
- delgra_fed41_64_xrd
- idea_fed41_64_xrd
- ddb_fed41_64_xrd
dependencies:
- common_fed41_64
- cernlib_fed41_64_xrd
- dstana_fed41_64_xrd
- lep1simana_fed41_64_xrd
- lep2simana_fed41_64_xrd
- des_fed41_64_xrd
- delgra_fed41_64_xrd
- idea_fed41_64_xrd
- ddb_fed41_64_xrd
before_script:
- umask 022
script:
- echo "Packaging binaries..."
- mv d/releases/almalinux-x86_64-9 .
- mv almalinux-x86_64-9 almalinux-x86_64_xrd-9
- (cd almalinux-x86_64_xrd-9; rm -rf perl ; ln -s ../../perl)
- touch almalinux-x86_64_xrd-9/.cvmfscatalog
artifacts:
name: almalinux-x86_64_xrd-9
paths:
- almalinux-x86_64_xrd-9
container_fed41_64_xrd:
image:
name: gcr.io/kaniko-project/executor:v1.14.0-debug
entrypoint: [""]
stage: container
when: manual
needs:
- common_fed41_64
- tests_fed41_64_xrd
dependencies:
- common_fed41_64
- tests_fed41_64_xrd
before_script:
- umask 022
script:
- echo "export DELPHI_INSTALL_DIR=/delphi; . /delphi/setup.sh" > delphi.sh; echo "setenv DELPHI_INSTALL_DIR /delphi; source /delphi/setup.csh" > delphi.csh;
- echo "creating container ..."; echo "FROM $IMAGEFED41" > Dockerfile; echo "RUN mkdir /delphi" >> Dockerfile
- echo "RUN dnf config-manager --set-enabled crb" >> Dockerfile
- echo "RUN rpm --import http://linuxsoft.cern.ch/internal/repos/RPM-GPG-KEY-kojiv2 http://linuxsoft.cern.ch/internal/repos/RPM-GPG-KEY-kojiv2/RPM-GPG-KEY-cern;yum-config-manager -y --add-repo http://linuxsoft.cern.ch/internal/repos/eos9-stable/x86_64/os; dnf -y update; dnf -y install eos-fusex" >> Dockerfile
- echo "RUN yum-config-manager -y --set-disabled linuxsoft.cern.ch_internal_repos_eos9-stable_x86_64_os; dnf -y update" >> Dockerfile
- echo "ADD d/ /delphi" >> Dockerfile; echo "COPY delphi.sh /etc/profile.d/delphi.sh" >> Dockerfile; echo "COPY delphi.csh /etc/profile.d/delphi.csh" >> Dockerfile
- echo "RUN groupadd delphi" >> Dockerfile; echo 'RUN useradd -m -g delphi delphi' >> Dockerfile; echo "WORKDIR /home/delphi" >> Dockerfile
- echo "RUN dnf clean all; dnf -y install sudo libGLEW glew-devel procps-ng mesa-dri-drivers tigervnc tigervnc-server xrootd-client" >> Dockerfile; echo "RUN echo '%delphi ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers" >> Dockerfile
- echo "RUN cd /home/delphi; git clone https://gitlab.cern.ch/delphi/examples.git; mkdir graexe graexe/data graexe/run graexe/hcopy; chown -R delphi.delphi examples graexe; " >> Dockerfile
- echo "RUN chmod 400 /etc/shadow; cd /delphi; ln -s almalinux-x86_64_xrd-9 almalinux-x86_64-9" >> Dockerfile
- echo "RUN echo export PS1=\'[\\\u \\\W]\$ \' >> /home/delphi/.bashrc" >> Dockerfile
- /kaniko/executor
--context "${CI_PROJECT_DIR}"
--dockerfile "${CI_PROJECT_DIR}/Dockerfile"
--destination "${CI_REGISTRY_IMAGE}/delphi/fed41_64_xrd:latest"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment