|
| 1 | +services: |
| 2 | + munge-key-generator: |
| 3 | + image: ghcr.io/reframe-hpc/munge-ubuntu:20.04 |
| 4 | + hostname: munge-host |
| 5 | + healthcheck: |
| 6 | + test: ["CMD-SHELL", "test -f /scratch/munge.key"] |
| 7 | + interval: 10s |
| 8 | + timeout: 10s |
| 9 | + retries: 5 |
| 10 | + volumes: |
| 11 | + - shared-scratch:/scratch |
| 12 | + |
| 13 | + frontend: |
| 14 | + image: slurm-reframe |
| 15 | + container_name: frontend |
| 16 | + build: |
| 17 | + dockerfile: .github/pseudo-cluster/reframe/Dockerfile |
| 18 | + context: ../../ |
| 19 | + hostname: login |
| 20 | + user: admin |
| 21 | + init: True |
| 22 | + volumes: |
| 23 | + - shared-home:/home/admin:rw |
| 24 | + - shared-scratch:/scratch:rw |
| 25 | + links: |
| 26 | + - slurm-master |
| 27 | + depends_on: |
| 28 | + munge-key-generator: |
| 29 | + condition: service_healthy |
| 30 | + slurm-master: |
| 31 | + condition: service_started |
| 32 | + node0: |
| 33 | + condition: service_started |
| 34 | + node1: |
| 35 | + condition: service_started |
| 36 | + node2: |
| 37 | + condition: service_started |
| 38 | + environment: |
| 39 | + - SLURM_CPUS_ON_NODE=1 |
| 40 | + - BACKEND=${BACKEND:-squeue} |
| 41 | + |
| 42 | + slurm-master: |
| 43 | + image: ghcr.io/reframe-hpc/slurm-master-ubuntu:20.04 |
| 44 | + hostname: slurm-master |
| 45 | + user: admin |
| 46 | + volumes: |
| 47 | + - shared-home:/home/admin |
| 48 | + - shared-scratch:/scratch:rw |
| 49 | + depends_on: |
| 50 | + munge-key-generator: |
| 51 | + condition: service_healthy |
| 52 | + environment: |
| 53 | + - SLURM_CPUS_ON_NODE=1 |
| 54 | + |
| 55 | + node0: |
| 56 | + image: ghcr.io/reframe-hpc/slurm-node-ubuntu:20.04 |
| 57 | + hostname: nid00 |
| 58 | + container_name: slurm-node0 |
| 59 | + user: admin |
| 60 | + volumes: |
| 61 | + - shared-home:/home/admin |
| 62 | + - shared-scratch:/scratch:rw |
| 63 | + environment: |
| 64 | + - SLURM_NODENAME=nid00 |
| 65 | + - SLURM_CPUS_ON_NODE=1 |
| 66 | + depends_on: |
| 67 | + munge-key-generator: |
| 68 | + condition: service_healthy |
| 69 | + slurm-master: |
| 70 | + condition: service_started |
| 71 | + links: |
| 72 | + - slurm-master |
| 73 | + |
| 74 | + node1: |
| 75 | + image: ghcr.io/reframe-hpc/slurm-node-ubuntu:20.04 |
| 76 | + hostname: nid01 |
| 77 | + container_name: slurm-node1 |
| 78 | + user: admin |
| 79 | + volumes: |
| 80 | + - shared-home:/home/admin |
| 81 | + - shared-scratch:/scratch:rw |
| 82 | + environment: |
| 83 | + - SLURM_NODENAME=nid01 |
| 84 | + - SLURM_CPUS_ON_NODE=1 |
| 85 | + depends_on: |
| 86 | + munge-key-generator: |
| 87 | + condition: service_healthy |
| 88 | + slurm-master: |
| 89 | + condition: service_started |
| 90 | + links: |
| 91 | + - slurm-master |
| 92 | + |
| 93 | + node2: |
| 94 | + image: ghcr.io/reframe-hpc/slurm-node-ubuntu:20.04 |
| 95 | + hostname: nid02 |
| 96 | + container_name: slurm-node2 |
| 97 | + user: admin |
| 98 | + volumes: |
| 99 | + - shared-home:/home/admin |
| 100 | + - shared-scratch:/scratch:rw |
| 101 | + environment: |
| 102 | + - SLURM_NODENAME=nid02 |
| 103 | + - SLURM_CPUS_ON_NODE=1 |
| 104 | + depends_on: |
| 105 | + munge-key-generator: |
| 106 | + condition: service_healthy |
| 107 | + slurm-master: |
| 108 | + condition: service_started |
| 109 | + links: |
| 110 | + - slurm-master |
| 111 | + |
| 112 | +volumes: |
| 113 | + shared-home: |
| 114 | + shared-scratch: |
0 commit comments