File tree 8 files changed +32
-16
lines changed
8 files changed +32
-16
lines changed Original file line number Diff line number Diff line change 32
32
run : make test
33
33
e2e :
34
34
name : E2E
35
- runs-on : ubuntu-latest
35
+ runs-on :
36
+ labels : ubuntu-latest-16-cores
36
37
# Pull requests from the same repository won't trigger this checks as they were already triggered by the push
37
38
if : github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
38
39
strategy :
Original file line number Diff line number Diff line change 15
15
16
16
jobs :
17
17
build-push-docker-image :
18
- runs-on : ubuntu-latest
18
+ runs-on :
19
+ labels : ubuntu-latest-16-cores
19
20
steps :
20
21
- name : Checkout
21
22
uses : actions/checkout@v3
Original file line number Diff line number Diff line change @@ -105,12 +105,22 @@ images:
105
105
.PHONY : test_images
106
106
test_images :
107
107
${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 :
108
112
${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
109
113
${IMG_BUILDER} build $(BUILD_ARGS ) --platform $(PLATFORMS ) -t ${REGISTRY} /openmpi-builder:${RELEASE_VERSION} build/base -f build/base/openmpi-builder.Dockerfile
110
114
${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 :
111
118
${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
112
119
${IMG_BUILDER} build $(BUILD_ARGS ) --platform $(INTEL_PLATFORMS ) -t ${REGISTRY} /intel-builder:${RELEASE_VERSION} build/base -f build/base/intel-builder.Dockerfile
113
120
${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 :
114
124
${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
115
125
${IMG_BUILDER} build $(BUILD_ARGS ) --platform $(MPICH_PLATFORMS ) -t ${REGISTRY} /mpich-builder:${RELEASE_VERSION} build/base -f build/base/mpich-builder.Dockerfile
116
126
${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
2
2
3
3
ARG port=2222
4
4
Original file line number Diff line number Diff line change @@ -2,23 +2,25 @@ FROM bash AS downloader
2
2
3
3
RUN wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB -O key.PUB
4
4
5
- FROM debian:bookworm
5
+ FROM debian:trixie
6
6
7
7
COPY --from=downloader key.PUB /tmp/key.PUB
8
8
9
9
# Install Intel oneAPI keys.
10
10
RUN 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 \
13
13
&& 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 \
17
17
&& apt update \
18
18
&& apt install -y --no-install-recommends \
19
19
libstdc++-12-dev binutils procps clang \
20
20
intel-oneapi-compiler-dpcpp-cpp \
21
21
intel-oneapi-mpi-devel-2021.13 \
22
+ && apt remove -y gnupg2 ca-certificates apt-transport-https \
23
+ && apt autoremove -y \
22
24
&& rm -rf /var/lib/apt/lists/*
23
25
24
26
ENV 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
10
10
11
11
# Install Intel oneAPI keys.
12
12
RUN 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 \
15
15
&& 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 \
19
19
&& apt update \
20
20
&& apt install -y --no-install-recommends \
21
21
dnsutils \
22
22
intel-oneapi-mpi-2021.13 \
23
+ && apt remove -y gnupg2 ca-certificates \
24
+ && apt autoremove -y \
23
25
&& rm -rf /var/lib/apt/lists/*
24
26
25
27
COPY 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
2
2
3
3
RUN apt update \
4
4
&& 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
2
2
3
3
RUN apt update \
4
4
&& apt install -y --no-install-recommends \
You can’t perform that action at this time.
0 commit comments