Skip to content

Commit

Permalink
Update Languages-Python-Example1.yml slurm_simulator version
Browse files Browse the repository at this point in the history
  • Loading branch information
swinney authored Oct 23, 2024
1 parent f230cf3 commit 71c1e20
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/Languages-Python-Example1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,19 +42,18 @@ jobs:

- name: Pull SLURM Simulator Docker Image
run: |
docker pull hpcnow/slurm_simulator:20.11.9
docker pull hpcnow/slurm_simulator:24.05.1
- name: List Files in Mounted Directory
run: |
docker run --rm -v ${{ github.workspace }}:/workspace -w /workspace hpcnow/slurm_simulator:20.11.9 ls -la /workspace/Languages/Python/Example1
docker run --rm -v ${{ github.workspace }}:/workspace -w /workspace hpcnow/slurm_simulator:24.05.1 ls -la /workspace/Languages/Python/Example1
- name: Check File Permissions
run: |
docker run --rm -v ${{ github.workspace }}:/workspace -w /workspace hpcnow/slurm_simulator:20.11.9 stat /workspace/Languages/Python/Example1/run.sbatch
docker run --rm -v ${{ github.workspace }}:/workspace -w /workspace hpcnow/slurm_simulator:24.05.1 stat /workspace/Languages/Python/Example1/run.sbatch
- name: Run SLURM job in Docker
run: |
# docker run --rm -v ${{ github.workspace }}:/workspace -w /workspace hpcnow/slurm_simulator:20.11.9 \
docker run --rm --detach \
--name "${USER}_simulator" \
-h "slurm-simulator" \
Expand All @@ -64,5 +63,5 @@ jobs:
-v ${{ github.workspace }}:/workspace \
-w /workspace \
--cgroupns=host \
hpcnow/slurm_simulator:20.11.9 /usr/sbin/init
hpcnow/slurm_simulator:24.05.1 /usr/sbin/init
sbatch /workspace/Languages/Python/Example1/run.sbatch

0 comments on commit 71c1e20

Please sign in to comment.