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
No related branches found
No related tags found
1 merge request!22Correcting cpu machines plus clang
Pipeline #266996 failed
...@@ -15,16 +15,17 @@ WORKDIR /tmp ...@@ -15,16 +15,17 @@ WORKDIR /tmp
COPY ./foreman1-ca.pem /etc/rhsm/ca/katello-server-ca.pem 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 COPY ./scripts /scripts
export ACTIVATION_KEY="$(cat /run/secrets/ACTIVATION_KEY /kaniko/ACTIVATION_KEY 2>/dev/null)"
/scripts/00_register.sh RUN --mount=type=secret,id=ACTIVATION_KEY \
/scripts/10_install_spack_deps.sh export ACTIVATION_KEY="$(cat /run/secrets/ACTIVATION_KEY /kaniko/ACTIVATION_KEY 2>/dev/null)" \
/scripts/11_install_slurm.sh && /scripts/00_register.sh \
/scripts/12_install_pmix.sh && /scripts/10_install_spack_deps.sh \
/scripts/13_install_mlnx.sh && /scripts/11_install_slurm.sh \
/scripts/14_install_nvidia.sh && /scripts/12_install_pmix.sh \
/scripts/15_install_gpfs.sh && /scripts/13_install_mlnx.sh \
/scripts/16_install_local_extras.sh && /scripts/14_install_nvidia.sh \
/scripts/99_unregister.sh && /scripts/15_install_gpfs.sh \
EOF && /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