Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Leo Leung
slurm-rpm-builder
Commits
403c1b04
Commit
403c1b04
authored
Oct 25, 2021
by
Leo Leung
Committed by
root
Oct 25, 2021
Browse files
Added pyxis plugin
parent
a94b6351
Changes
2
Hide whitespace changes
Inline
Side-by-side
Dockerfile
View file @
403c1b04
...
...
@@ -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
run.sh
View file @
403c1b04
#!/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/"
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment