psnc-qcg / QCG-PilotJob

The QCG Pilot Job service for execution of many computing tasks inside one allocation
Apache License 2.0
11 stars 2 forks source link

Issue 153: Automate Slurm compatibility testing #154

Closed LourensVeen closed 2 years ago

LourensVeen commented 2 years ago

This updates the Slurm cluster to allow building with the full range of currently supported Slurm releases. I had to upgrade from Centos 6 to Rocky Linux 8 to be able to build more recent releases.

To get these tests to actually pass, #150 and #152 need to be merged first. I think they're all compatible, but if you do #150 first then I'm happy to rebase the rest if needed.

Ideally, test_all_slurm_versions.sh would be set up to run as a GitHub Action every week or so, so any regressions will be found automatically. It would probably need a longer timeout though, or better an actual check that the cluster is up to work there. Maybe something for the future. I think for now we can say that this closes #153.

To keep the licensing situation somewhat tractable, the changes submitted in a3249d3, a44a0d2 and 02cc250 in the slurm-docker-cluster directory are contributed under the MIT license, the rest is Apache 2.0.

pkopta commented 2 years ago

Thank you Lourens for your work !