Welcome to MockSlurm’s documentation!

MockSlurm

pipeline status coverage report documentation

Description

Mock of the slurm scheduler.

# Example dev containers configuration:

// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/miniconda
{
    "initializeCommand": "docker pull gitlab-registry.in2p3.fr/cta-lapp/rta/mocks/mockslurm/dev:latest",
     "image": "gitlab-registry.in2p3.fr/cta-lapp/rta/mocks/mockslurm/dev:latest",
     "postAttachCommand": "micromamba run -n base pip install --no-deps -e /src",
     "customizations": {
             // Configure properties specific to VS Code.
             "vscode": {
                     // Add the IDs of extensions you want installed when the container is created.
                     "extensions": [
                             "charliermarsh.ruff",
                             "ms-python.python",
                             "ms-python.vscode-pylance",
                             "njpwerner.autodocstring",
                             "tamasfe.even-better-toml",
                             "wmaurer.change-case"
                     ]
             }
     },
     "workspaceMount": "source=${localWorkspaceFolder},target=/src,type=bind",
     "workspaceFolder": "/src"
}

mockslurm