ci: add standalone Slurm test cluster#8
Draft
kjvbrt wants to merge 4 commits into
Draft
Conversation
Single-node Slurm 25.11.2 cluster running in two Podman containers (controller + compute node) on Ubuntu 26.04, for testing job submission locally and in GitHub CI without real HPC infrastructure.
- Rename slurm-test/ to standalone-slurm/ - Add .github/workflows/slurm-integration.yml triggered on changes to standalone-slurm/ or src/, replacing the misplaced workflow that was inside the directory and never picked up by GitHub Actions
6 tasks
5 tasks
Moves standalone-slurm/ into tests/integration/stacks/local-slurm (+ shared _images/slurm), matching IC-ADR-002's stack conventions: healthchecks gate container startup instead of hand-rolled sleeps, the Slurm package version is pinned and Renovate-tracked, the munge key is generated fresh per run instead of baked into the image, and the image is prebuilt to GHCR by a separate workflow.
podman-compose up was silently rebuilding the slurm image from source on every CI run instead of using the GHCR-published one, since the build: fallback wins whenever the tagged image isn't already present locally. Pin compose.yml to a literal digest reference so Renovate's docker-compose manager can manage it directly, and pull it explicitly in CI so a missing digest fails loudly instead of falling back to a rebuild. The pinned digest is currently a placeholder since the image hasn't been published to GHCR yet; Renovate will open a PR with the real digest once build-local-slurm-image.yml pushes it.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
standalone-slurm/— a containerised single-node Slurm 25.11.2 cluster on Ubuntu 26.04 for testing job submission locally and in GitHub CIintercede-slurmctld) and compute node (intercede-c1) run as separate Podman containers on a shared network.github/workflows/slurm-integration.ymltriggered on changes tostandalone-slurm/orsrc/compose.ymlby digest and lets Renovate track it, instead of silently rebuilding from source on every CI runDigest pin bootstrap
The image isn't published to GHCR yet, so
compose.ymlcurrently pins a placeholder digest. Rollout:podman-compose pulluntil real content exists at that tag (expected; there's nothing to test yet).build-local-slurm-image.ymlruns and publishes the real image to:latest.:latest's actual digest and opens a PR rewriting the pin to the real digest.