[Feature] Implement SSH-slurm / local-slurm integration-test in CI workflow

Open
#13 0 comments 0 reactions 0 assignees View on GitHub

@kjvbrt is already working on this.

Since Jul 2, 2026.

  • #8 by @kjvbrt — open

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
docker, docker-compose, github-actions, python

Research direction

Review the _images/slurm/, stacks/ssh-slurm/, stacks.yml, and CI workflow locations mentioned in the checklist, then compare them with the referenced foundation scaffold. Verify that both stack variants start a healthy single-node cluster, run the Slurm integration tests, and satisfy the SSH credential and GitHub Actions requirements.

Written by the indexing model from the issue text.

Description

User Story

As a contributor for the Slurm scheduler + SSH/Local transports,
I want a containerised single-node Slurm cluster reachable both over SSH and by local exec, in CI,
So that the SSHTransport × Slurm and LocalTransport × Slurm combinations are validated end-to-end.

Feature Description

Stand up the ssh-slurm and local-slurm stacks (IC-ADR-002) — they share one image and
differ only in how the tests reach the batch node:

  • ssh-slurm: connect over port 22 (exec_in_container: false);
  • local-slurm: docker compose exec pytest inside the container (exec_in_container: true,
    manifest stack: ssh-slurm).

Harmonize onto the scaffold from # per the checklist.

Definition of Done

  • Cluster starts cleanly; sinfo shows the compute node idle; healthcheck passes
  • Test jobs complete and produce output; CI workflow passes on GH Actions
  • sshd variant: key-based access works; ssh-slurm reachable over port 22
  • Harmonized onto the scaffold: docker compose, EL9 + pinned Slurm RPM under _images/slurm/,
    stacks/ssh-slurm/ layout, ssh-slurm + local-slurm stacks.yml entries, bespoke
    workflow removed
  • SSH creds ephemeral: ssh-keygen in a CI step → authorized_keys, known-hosts via
    ssh-keyscan

Alternatives Considered

Related Issues

Additional Context

Dominant language
Python
Stars
3
Forks
3
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from DIRACGrid/intercede

All issues in DIRACGrid/intercede

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.