Skip to content

Commit

Permalink
Move Slurm image names
Browse files Browse the repository at this point in the history
  • Loading branch information
kincl committed Oct 30, 2023
1 parent 96aab84 commit f5b200f
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ jobs:

- name: Build image - munge
run: |
docker build --build-arg MUNGE_VERSION=0.5.15 slurm/images/munge --tag ghcr.io/${{ github.repository }}:munge-latest
docker push ghcr.io/${{ github.repository }}:munge-latest
docker build --build-arg MUNGE_VERSION=0.5.15 slurm/images/munge --tag ghcr.io/${{ github.repository }}/munge:latest
docker push ghcr.io/${{ github.repository }}/munge:latest
- name: Build image - slurm
run: |
docker build --build-arg SLURM_VERSION=23.02.4 slurm/images/slurm --tag ghcr.io/${{ github.repository }}:slurm-latest
docker push ghcr.io/${{ github.repository }}:slurm-latest
docker build --build-arg SLURM_VERSION=23.02.4 slurm/images/slurm --tag ghcr.io/${{ github.repository }}/slurm:latest
docker push ghcr.io/${{ github.repository }}/slurm:latest
- name: Build image - login
run: |
docker build slurm/images/login --tag ghcr.io/${{ github.repository }}:login-latest
docker push ghcr.io/${{ github.repository }}:login-latest
docker push ghcr.io/${{ github.repository }}/login:latest
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,12 @@ Just create a simple NFS server for shared storage this uses the upstream: https
```
$ oc apply -k simple-nfs/
```

## Todo

- AWS FSx Lustre support in demo
- Look at more batch projects in the ecosystem
- Implement UID/GID enforcement per namespace
- More advanced view of how jobs are scheduled and placed on the cluster
- Add and schedule workloads to specialized hardware like GPU or IB

2 changes: 1 addition & 1 deletion slurm/images/login/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM quay.io/containerssh/agent AS agent

FROM ghcr.io/naps-product-sa/openshift-batch:slurm-latest
FROM ghcr.io/naps-product-sa/openshift-batch/slurm:latest

COPY --from=agent /usr/bin/containerssh-agent /usr/bin/containerssh-agent

2 changes: 2 additions & 0 deletions slurm/images/munge/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
FROM quay.io/centos/centos:stream9 as build
ARG MUNGE_VERSION=0.5.15

LABEL org.opencontainers.image.source="https://github.com/naps-product-sa/openshift-batch"

RUN dnf install -y xz gcc openssl-devel bzip2-devel zlib-devel procps-ng

RUN mkdir /tmp/src
Expand Down
4 changes: 2 additions & 2 deletions slurm/images/slurm/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ghcr.io/naps-product-sa/openshift-batch:munge-latest as build
FROM ghcr.io/naps-product-sa/openshift-batch/munge:latest as build
ARG SLURM_VERSION=23.02.4

RUN dnf install --enablerepo=crb -y xz gcc procps-ng bzip2 perl git autoconf automake libtool diffutils jansson \
Expand Down Expand Up @@ -39,7 +39,7 @@ COPY --from=build /usr/bin/s* /usr/bin/
COPY --from=build /usr/sbin/slurm* /usr/sbin/
COPY --from=build /usr/share/man/ /usr/share/man/

FROM ghcr.io/naps-product-sa/openshift-batch:munge-latest
FROM ghcr.io/naps-product-sa/openshift-batch/munge:latest

COPY --from=tmp / /

Expand Down

0 comments on commit f5b200f

Please sign in to comment.