File tree Expand file tree Collapse file tree 8 files changed +32
-16
lines changed Expand file tree Collapse file tree 8 files changed +32
-16
lines changed Original file line number Diff line number Diff line change 3232 run : make test
3333 e2e :
3434 name : E2E
35- runs-on : ubuntu-latest
35+ runs-on :
36+ labels : ubuntu-latest-16-cores
3637 # Pull requests from the same repository won't trigger this checks as they were already triggered by the push
3738 if : github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
3839 strategy :
Original file line number Diff line number Diff line change 1515
1616jobs :
1717 build-push-docker-image :
18- runs-on : ubuntu-latest
18+ runs-on :
19+ labels : ubuntu-latest-16-cores
1920 steps :
2021 - name : Checkout
2122 uses : actions/checkout@v3
Original file line number Diff line number Diff line change @@ -105,12 +105,22 @@ images:
105105.PHONY : test_images
106106test_images :
107107 ${IMG_BUILDER} build $(BUILD_ARGS ) --platform $(PLATFORMS ) --build-arg port=${BASE_IMAGE_SSH_PORT} -t ${REGISTRY} /base:${RELEASE_VERSION} build/base
108+ $(MAKE ) -j3 test_images_openmpi test_images_intel test_images_mpich
109+
110+ .PHONY : test_images_openmpi
111+ test_images_openmpi :
108112 ${IMG_BUILDER} build $(BUILD_ARGS ) --platform $(PLATFORMS ) --build-arg BASE_LABEL=${RELEASE_VERSION} -t ${REGISTRY} /openmpi:${RELEASE_VERSION} build/base -f build/base/openmpi.Dockerfile
109113 ${IMG_BUILDER} build $(BUILD_ARGS ) --platform $(PLATFORMS ) -t ${REGISTRY} /openmpi-builder:${RELEASE_VERSION} build/base -f build/base/openmpi-builder.Dockerfile
110114 ${IMG_BUILDER} build $(BUILD_ARGS ) --platform $(PLATFORMS ) --build-arg BASE_LABEL=${RELEASE_VERSION} -t ${REGISTRY} /mpi-pi:${RELEASE_VERSION} -openmpi examples/v2beta1/pi
115+
116+ .PTHONY : test_images_intel
117+ test_images_intel :
111118 ${IMG_BUILDER} build $(BUILD_ARGS ) --platform $(INTEL_PLATFORMS ) --build-arg BASE_LABEL=${RELEASE_VERSION} -t ${REGISTRY} /intel:${RELEASE_VERSION} build/base -f build/base/intel.Dockerfile
112119 ${IMG_BUILDER} build $(BUILD_ARGS ) --platform $(INTEL_PLATFORMS ) -t ${REGISTRY} /intel-builder:${RELEASE_VERSION} build/base -f build/base/intel-builder.Dockerfile
113120 ${IMG_BUILDER} build $(BUILD_ARGS ) --platform $(INTEL_PLATFORMS ) --build-arg BASE_LABEL=${RELEASE_VERSION} -t ${REGISTRY} /mpi-pi:${RELEASE_VERSION} -intel examples/v2beta1/pi -f examples/v2beta1/pi/intel.Dockerfile
121+
122+ .PHOTNY : test_images_mpich
123+ test_images_mpich :
114124 ${IMG_BUILDER} build $(BUILD_ARGS ) --platform $(MPICH_PLATFORMS ) --build-arg BASE_LABEL=${RELEASE_VERSION} -t ${REGISTRY} /mpich:${RELEASE_VERSION} build/base -f build/base/mpich.Dockerfile
115125 ${IMG_BUILDER} build $(BUILD_ARGS ) --platform $(MPICH_PLATFORMS ) -t ${REGISTRY} /mpich-builder:${RELEASE_VERSION} build/base -f build/base/mpich-builder.Dockerfile
116126 ${IMG_BUILDER} build $(BUILD_ARGS ) --platform $(MPICH_PLATFORMS ) --build-arg BASE_LABEL=${RELEASE_VERSION} -t ${REGISTRY} /mpi-pi:${RELEASE_VERSION} -mpich examples/v2beta1/pi -f examples/v2beta1/pi/mpich.Dockerfile
Original file line number Diff line number Diff line change 1- FROM debian:bookworm
1+ FROM debian:trixie
22
33ARG port=2222
44
Original file line number Diff line number Diff line change @@ -2,23 +2,25 @@ FROM bash AS downloader
22
33RUN wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB -O key.PUB
44
5- FROM debian:bookworm
5+ FROM debian:trixie
66
77COPY --from=downloader key.PUB /tmp/key.PUB
88
99# Install Intel oneAPI keys.
1010RUN apt update \
11- && apt install -y --no-install-recommends gnupg2 ca-certificates \
12- && apt-key add /tmp/key.PUB \
11+ && apt install -y --no-install-recommends gnupg2 ca-certificates apt-transport-https \
12+ && gpg --dearmor -o /usr/share/keyrings/oneapi-archive-keyring.gpg /tmp/key.PUB \
1313 && rm /tmp/key.PUB \
14- && echo "deb https://apt.repos.intel.com/oneapi all main" | tee /etc/ apt/sources.list.d/oneAPI.list \
15- && apt remove -y gnupg2 ca-certificates \
16- && apt autoremove -y \
14+ # TODO (tenzen-y): Once Intel OneAPI supports new parsable PGP format for apt, we should remove `trusted=yes` option.
15+ # REF: https://github.com/kubeflow/mpi-operator/issues/691
16+ && echo "deb [signed-by=/usr/share/keyrings/oneapi-archive-keyring.gpg trusted=yes] https://apt.repos.intel.com/oneapi all main" | tee /etc/apt/sources.list.d/oneAPI.list \
1717 && apt update \
1818 && apt install -y --no-install-recommends \
1919 libstdc++-12-dev binutils procps clang \
2020 intel-oneapi-compiler-dpcpp-cpp \
2121 intel-oneapi-mpi-devel-2021.13 \
22+ && apt remove -y gnupg2 ca-certificates apt-transport-https \
23+ && apt autoremove -y \
2224 && rm -rf /var/lib/apt/lists/*
2325
2426ENV I_MPI_CC=clang I_MPI_CXX=clang++
Original file line number Diff line number Diff line change @@ -10,16 +10,18 @@ COPY --from=downloader key.PUB /tmp/key.PUB
1010
1111# Install Intel oneAPI keys.
1212RUN apt update \
13- && apt install -y --no-install-recommends gnupg2 ca-certificates \
14- && apt-key add /tmp/key.PUB \
13+ && apt install -y --no-install-recommends gnupg2 ca-certificates apt-transport-https \
14+ && gpg --dearmor -o /usr/share/keyrings/oneapi-archive-keyring.gpg /tmp/key.PUB \
1515 && rm /tmp/key.PUB \
16- && echo "deb https://apt.repos.intel.com/oneapi all main" | tee /etc/ apt/sources.list.d/oneAPI.list \
17- && apt remove -y gnupg2 ca-certificates \
18- && apt autoremove -y \
16+ # TODO (tenzen-y): Once Intel OneAPI supports new parsable PGP format for apt, we should remove `trusted=yes` option.
17+ # REF: https://github.com/kubeflow/mpi-operator/issues/691
18+ && echo "deb [signed-by=/usr/share/keyrings/oneapi-archive-keyring.gpg trusted=yes] https://apt.repos.intel.com/oneapi all main" | tee /etc/apt/sources.list.d/oneAPI.list \
1919 && apt update \
2020 && apt install -y --no-install-recommends \
2121 dnsutils \
2222 intel-oneapi-mpi-2021.13 \
23+ && apt remove -y gnupg2 ca-certificates \
24+ && apt autoremove -y \
2325 && rm -rf /var/lib/apt/lists/*
2426
2527COPY entrypoint.sh /entrypoint.sh
Original file line number Diff line number Diff line change 1- FROM debian:bookworm as builder
1+ FROM debian:trixie as builder
22
33RUN apt update \
44 && apt install -y --no-install-recommends \
Original file line number Diff line number Diff line change 1- FROM debian:bookworm as builder
1+ FROM debian:trixie as builder
22
33RUN apt update \
44 && apt install -y --no-install-recommends \
You can’t perform that action at this time.
0 commit comments