Skip to content
Snippets Groups Projects
Commit a17e0cee authored by Nicolas Richart's avatar Nicolas Richart
Browse files

Make it work with kaniko

parent e79ea832
Branches
No related tags found
1 merge request!22Correcting cpu machines plus clang
Pipeline #266996 failed
......@@ -15,16 +15,17 @@ WORKDIR /tmp
COPY ./foreman1-ca.pem /etc/rhsm/ca/katello-server-ca.pem
RUN --mount=type=secret,id=ACTIVATION_KEY --mount=type=bind,source=./scripts,target=/scripts <<EOF
export ACTIVATION_KEY="$(cat /run/secrets/ACTIVATION_KEY /kaniko/ACTIVATION_KEY 2>/dev/null)"
COPY ./scripts /scripts
/scripts/00_register.sh
/scripts/10_install_spack_deps.sh
/scripts/11_install_slurm.sh
/scripts/12_install_pmix.sh
/scripts/13_install_mlnx.sh
/scripts/14_install_nvidia.sh
/scripts/15_install_gpfs.sh
/scripts/16_install_local_extras.sh
/scripts/99_unregister.sh
EOF
RUN --mount=type=secret,id=ACTIVATION_KEY \
export ACTIVATION_KEY="$(cat /run/secrets/ACTIVATION_KEY /kaniko/ACTIVATION_KEY 2>/dev/null)" \
&& /scripts/00_register.sh \
&& /scripts/10_install_spack_deps.sh \
&& /scripts/11_install_slurm.sh \
&& /scripts/12_install_pmix.sh \
&& /scripts/13_install_mlnx.sh \
&& /scripts/14_install_nvidia.sh \
&& /scripts/15_install_gpfs.sh \
&& /scripts/16_install_local_extras.sh \
&& /scripts/99_unregister.sh \
&& rm -rf /scripts
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment