Commit 403c1b04 authored by Leo Leung's avatar Leo Leung Committed by root
Browse files

Added pyxis plugin

parent a94b6351
......@@ -22,3 +22,13 @@ RUN set -ex; \
echo Your RPMs are at $HOME/rpmbuild/RPMS/x86_64: ;\
ls -al $HOME/rpmbuild/RPMS/x86_64
# Build pyxis plugin
RUN set -ex; \
yum install -y git make ;\
yum install -y $HOME/rpmbuild/RPMS/x86_64/slurm-$SLURM_VERSION*rpm \
$HOME/rpmbuild/RPMS/x86_64/slurm-devel-$SLURM_VERSION*rpm; \
cd /; \
git clone https://github.com/NVIDIA/pyxis.git; \
cd pyxis ; \
make install
#!/bin/bash
docker build -t slurmrpmbuilder .
docker run --rm -ti -v `pwd`/artifacts:/artifacts slurmrpmbuilder bash -c "cp -rv /root/rpmbuild/RPMS/x86_64/*rpm /artifacts/"
docker run --rm -ti -v `pwd`/artifacts:/artifacts slurmrpmbuilder bash -c "cp -rv /root/rpmbuild/RPMS/x86_64/*rpm /usr/local/share/pyxis/pyxis.conf /pyxis/spank_pyxis.* /artifacts/"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment