Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found
Select Git revision
  • master
  • nightly_master
  • online_much_readconf_cleanup
  • online_mvd_readconf_cleanup
  • jul25_patches
  • cleanup_rich_v25a
  • jul24_patches
  • nov23_patches
  • DC_2404
  • nighly_master
  • DC_Jan24
  • DC_Nov23
  • DC_Oct23
  • feb23_patches
  • L1Algo-dev9
  • dec21_patches
  • apr21_patches
  • APR21
  • DEC21
  • FEB23
  • JUL24
  • JUL24p1
  • RC1_APR21
  • RC1_feb23
  • RC1_nov23
  • RC2_APR21
  • RC2_feb23
  • RC2_jul25
  • RC2_nov23
  • RC3_APR21
  • RC3_nov23
  • RC4_nov23
  • RC5_nov23
  • RC_jul25
  • dev_2021_06
  • dev_2021_07
  • dev_2021_08
  • dev_2021_09
  • dev_2021_10
  • dev_2021_11
  • dev_2021_12
  • dev_2021_13
  • dev_2021_14
  • dev_2021_15
  • dev_2021_16
  • dev_2021_17
  • dev_2021_18
  • dev_2021_19
  • dev_2021_20
  • dev_2021_21
  • dev_2021_22
  • dev_2021_23
  • dev_2021_24
  • dev_2021_25
  • dev_2021_26
  • dev_2021_27
  • dev_2021_28
  • dev_2021_29
  • dev_2021_30
  • dev_2021_31
  • dev_2021_32
  • dev_2021_33
  • dev_2021_34
  • dev_2021_35
  • dev_2021_36
  • dev_2021_37
  • dev_2021_38
  • dev_2021_39
  • dev_2021_40
  • dev_2021_41
  • dev_2021_42
  • dev_2021_43
  • dev_2021_44
  • dev_2021_45
  • dev_2021_46
  • dev_2021_47
  • dev_2021_48
  • dev_2021_49
  • dev_2021_50
  • dev_2021_51
  • dev_2021_52
  • dev_2022_01
  • dev_2022_02
  • dev_2022_03
  • dev_2022_04
  • dev_2022_06
  • dev_2022_07
  • dev_2022_08
  • dev_2022_09
  • dev_2022_10
  • dev_2022_11
  • dev_2022_12
  • dev_2022_13
  • dev_2022_14
  • dev_2022_15
  • dev_2022_16
  • dev_2022_17
  • dev_2022_18
  • dev_2022_19
  • dev_2022_20
  • dev_2022_21
  • dev_2022_22
  • dev_2022_23
  • dev_2022_24
  • dev_2022_25
  • dev_2022_26
  • dev_2022_27
  • dev_2022_28
  • dev_2022_29
  • dev_2022_30
  • dev_2022_31
  • dev_2022_32
  • dev_2022_33
  • dev_2022_34
  • dev_2022_35
  • dev_2022_37
  • dev_2022_38
117 results

Target

Select target project
  • Leonard Koch / cbmroot
  • Patrick Pfistner / cbmroot
  • Lena Rossel / cbmroot
  • Ingo Deppner / cbmroot
  • Felix Weiglhofer / cbmroot
  • Nikolay Karpushkin / cbmroot
  • Valentina Akishina / cbmroot
  • Rishat Sultanov / cbmroot
  • Luisa Faber / cbmroot
  • pwg-c2f / cbmroot
  • Jan de Cuveland / cbmroot
  • Alberica Toia / cbmroot
  • Iouri Vassiliev / cbmroot
  • Norbert Herrmann / cbmroot
  • Oleksii Lubynets / cbmroot
  • Sergey Gorbunov / cbmroot
  • Cornelius Feier-Riesen / cbmroot
  • Qiunan Zhang / cbmroot
  • Bartosz Sobol / cbmroot
  • Ajit Kumar / cbmroot
20 results
Select Git revision
  • master
  • tof
  • lmvm
  • nightly_master
4 results
Show changes

Commits on Source 2671

2,571 additional commits have been omitted to prevent performance issues.
1000 files
+ 102440
16303
Compare changes
  • Side-by-side
  • Inline

Files

.ci/online/Dockerfile

0 → 100644
+26 −0
Original line number Diff line number Diff line
ARG TAG=12-fair202211.4-rocm5.4
ARG REGISTRY=hub.cbm.gsi.de/computing/images/online

FROM ${REGISTRY}/dev:${TAG} as build
  ARG SOURCE_DIR=/opt/cbm/src
  WORKDIR ${SOURCE_DIR}
  # Kaniko doesn't support RUN --mount, so we have to copy the source code instead
  COPY . .
  RUN .ci/online/scripts/install.sh

FROM ${REGISTRY}/runtime:${TAG}
  ARG CBMROOT_PATH=/opt/cbm/cbmroot
  ARG FAIRSOFT_PATH=/opt/cbm/fairsoft
  COPY --from=build ${CBMROOT_PATH}/bin ${CBMROOT_PATH}/bin
  COPY --from=build ${CBMROOT_PATH}/lib/*.so ${CBMROOT_PATH}/lib/
  # FIXME HACK FOR DC OCT 23
  COPY --from=build ${FAIRSOFT_PATH}/lib/libGenVector.so ${FAIRSOFT_PATH}/lib/.
  COPY --from=build ${FAIRSOFT_PATH}/lib/libGenVector.so.6.26 ${FAIRSOFT_PATH}/lib/.
  COPY --from=build ${FAIRSOFT_PATH}/lib/libGenVector.so.6.26.10 ${FAIRSOFT_PATH}/lib/.
  COPY --from=build ${FAIRSOFT_PATH}/lib/libCore.so ${FAIRSOFT_PATH}/lib/.
  COPY --from=build ${FAIRSOFT_PATH}/lib/libCore.so.6.26 ${FAIRSOFT_PATH}/lib/.
  COPY --from=build ${FAIRSOFT_PATH}/lib/libCore.so.6.26.10 ${FAIRSOFT_PATH}/lib/.

  ENV LD_LIBRARY_PATH=${CBMROOT_PATH}/lib:${FAIRSOFT_PATH}/lib:/opt/rocm/lib:${LD_LIBRARY_PATH}
  ENV PATH=${CBMROOT_PATH}/bin:${PATH}
  CMD ["cbmreco"]
+13 −0
Original line number Diff line number Diff line
FROM gcr.io/kaniko-project/executor:v1.16.0-debug
    ARG USERNAME="username"
    ARG PASSWORD="your_password"
    ARG REGISTRY="hub.cbm.gsi.de"
    ARG IMAGE="${REGISTRY}/computing/cbmroot/cbm_online"
    ARG TAG="${USER}-debug"
    RUN mkdir -p /kaniko/.docker
    RUN echo "{\"auths\":{\"${REGISTRY}\":{\"username\":\"${USERNAME}\",\"password\":\"${PASSWORD}\"}}}" > /kaniko/.docker/config.json
    # TODO: Mount CbmRoot source instead of copying it into the container (-> same with authentification...)
    COPY . /workspace
    ENV IMAGE=${IMAGE}
    ENV TAG=${TAG}
    ENTRYPOINT ["/bin/sh" , "-xc", "/kaniko/executor --context dir:///workspace --dockerfile /workspace/algo/containers/cbm_online/Dockerfile --destination $IMAGE:$TAG"]
+44 −0
Original line number Diff line number Diff line
#!/bin/bash

set -e

user="$1"
password="$2"

script=$(readlink -f "$0")

function check_arg() {
    if [ -z "$1" ]; then
        echo "Error: No $2 specified."
        echo "Usage: $script <user> <password>"
        exit 1
    fi
}

check_arg "$user" "user"
check_arg "$password" "password"

# Set tag as optional third argument
if [ -z "$3" ]; then
    tag="$user-debug"
else
    tag="$3"
fi

# This script must be run from the CbmRoot top level directory.
# Check for .git, .clang-format, and .gitlab-ci.yml
if [ ! -d .git ] || [ ! -f .clang-format ] || [ ! -f .gitlab-ci.yml ]; then
    echo "Error: This script must be run from the CbmRoot top level directory."
    exit 1
fi

registry="hub.cbm.gsi.de/computing/cbmroot"
image="cbm_online"

build_args=" \
    --build-arg="USERNAME=$user" \
    --build-arg="PASSWORD=$password" \
    --build-arg="TAG=$tag" \
"
dockerfile="algo/containers/cbm_online/DockerfileBuild"
docker build --progress plain $build_args -f $dockerfile -t cbm_online_builder .
+24 −0
Original line number Diff line number Diff line
#!/bin/bash