rivosinc / prometheus-slurm-exporter

Export select slurm metrics to prometheus
Apache License 2.0
26 stars 5 forks source link

[ci] self contained test container #44

Closed abhinavDhulipala closed 6 months ago

abhinavDhulipala commented 6 months ago

Get slurmd and slurmctld working in a "single node" slurm docker install

abhinavDhulipala commented 6 months ago

Now we can simply build our image run our c extension within the container.

# takes 5 to 10 min
just docker
# use vscode to open a dev container with the following running container
docker run --name slurmcprom-dev -d slurmcprom sleep infinity
# then attach to this container w/ vscode
abhinavDhulipala commented 6 months ago

Now we can begin launching jobs and e2e testing all from a single container :)