Skip to content

Commit 63ee5c1

Browse files
Add v0 0 43 (#47)
* initial insert of v43 * TODO: fix model changes * first unit test fixed * updated to SLURM REST API v0.0.43 * bump some vulnerable dependency versions * update docker container SLURM version to 25 * resolve changed endpoint name (to slurm_v0043_post_job) FIXED UNIT AND INTEGRATION TESTS * add partition info class * see if integration test works with slurm 24 instead of 25 * try new v25 image * check user filter before job resources * fixes to docker setup and integration tests * back original port value for docker slurm instance
1 parent dd17c1d commit 63ee5c1

File tree

3,254 files changed

+281294
-86806
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,254 files changed

+281294
-86806
lines changed

.github/workflows/unit_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- name: Start Slurm Container and run pytest
3434
run: |
3535
echo "Starting slurm test container"
36-
nohup docker run -p 10022:22 -p 6821:6820 --name testslurm --privileged ghcr.io/xenon-middleware/slurm:23 -d &
36+
nohup docker run -p 10022:22 -p 6821:6820 --name testslurm --privileged ghcr.io/xenon-middleware/slurm:25 -d &
3737
pid=$!
3838
3939
# Wait for container to become healthy

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
SLURM CLI-API Proxy client is a tool designed to bridge existing applications and scripts that rely on the SLURM CLI. The tool mimics a selection of SLURM CLI commands, translating them into REST API calls, enabling seamless integration of existing tools with external SLURM workload managers.
2626

27-
Due to the extensive range of optional SLURM command arguments, only a limited subset is supported. However, the tool is designed for flexibility—the support to new arguments can be easily enabled by mapping them to the corresponding API request parameters or payload properties. Additionally, the design prioritizes extensibility, allowing support for alternative SLURM API versions (currently working with v0.0.39). The [developers documentation](https://slurm-cli-api-proxy.github.io/SLURM-CLI-API-Proxy-client/) provides further details on these design elements.
27+
Due to the extensive range of optional SLURM command arguments, only a limited subset is supported. However, the tool is designed for flexibility—the support to new arguments can be easily enabled by mapping them to the corresponding API request parameters or payload properties. Additionally, the design prioritizes extensibility, allowing support for alternative SLURM API versions (currently working with v0.0.39 or v0.0.43). The [developers documentation](https://slurm-cli-api-proxy.github.io/SLURM-CLI-API-Proxy-client/) provides further details on these design elements.
2828

2929

3030

docs/limitations.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Limitations & mismatches between the local CLI and the Proxy CLI
22

33

4-
## sbatch (v0.0.39)
4+
## sbatch (v0.0.39, v0.0.43)
55

66

77
- The real `sbatch` command validates the input script for inconsistencies (e.g., the first line not starting with start with #!) and prevent the job to be started. When using the sbatch proxy, the content of the script is submitted as part of the corresponding API request. Therefore, when inconsistent slurm scripts are used with the proxy, a new job will be started, and eventually fail once the slurmctld process it.
@@ -12,7 +12,7 @@
1212
sbatch --job-name dajob --chdir /home/hcadavid tests/slurm_test_scripts/slurm_write_job.sh
1313
```
1414
15-
## scontrol (v0.0.39)
15+
## scontrol (v0.0.39, v0.0.43)
1616
1717
- Only job updates are supported. Node, partition and reservation resources are immutable in the SLURM API (only GET method).
1818
- Only one job can be updated at a time: only the '/job/{job_id}' endpoint (for a single job) is available.

0 commit comments

Comments
 (0)