-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: quality of life updates to Slurm snap #51
feat: quality of life updates to Slurm snap #51
Conversation
Pull `mungectl` from https://github.com/charmed-hpc/mungectl rather than use vendored version. `mungectl` was moved out into its own repository. Signed-off-by: Jason C. Nucciarone <[email protected]>
Signed-off-by: Jason C. Nucciarone <[email protected]>
These two sets of configure hooks had to be removed as they were buggy and had limited interaction with their respective config files. For example, through snap config, you could only have one down nodes entry at a time. The configure hooks also did not support the Slurm hostname specification which is common syntax in Slurm. Now users are encouraged to edit the file directly under $SNAP_COMMON, and the snap config hook can only be used to configure Slurm service definitions, not modify config files like slurm.conf, slurmdbd.conf, gres.conf, etc. Signed-off-by: Jason C. Nucciarone <[email protected]>
Signed-off-by: Jason C. Nucciarone <[email protected]>
Bring CONTRIBUTING.md up to date. Originally mentioned using tox which was not the correct entrypoint. Signed-off-by: Jason C. Nucciarone <[email protected]>
…istently out of date Reduce maintenance overhead of requiring someone to go through our repos and update comments within bespoke workflow files. Signed-off-by: Jason C. Nucciarone <[email protected]>
Refresh brings README forward to be like other Charmed HPC-related repositories. Also removes mention of old configuration hooks that edited the slurm.conf and slurmdbd.conf files. Signed-off-by: Jason C. Nucciarone <[email protected]>
Ruff changed the format of its configuration within pyproject.toml. This commit updates pyproject.toml so that ruff does not throw off warnings when running just recipes. Signed-off-by: Jason C. Nucciarone <[email protected]>
Secrets should be good. Might need to refresh the Launchpad token, but that one is more of a pain to refresh so we'll see if it's stale after we merge this PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a small comment about the just file. Everything else looks great!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops, I approved instead of requesting changes 🥴
Lol all good. I was gonna address your comment before merging anyway 🤣 |
Update .editorconfig to remove old reference to Make and Go-related files, and define formatting rules for justfiles. `just` has a built-in formatter that can be run using the command `just --fmt --unstable`. Signed-off-by: Jason C. Nucciarone <[email protected]>
The `snap` recipe now depends on the `clean` recipe to ensure the instance is fresh before building the snap. `integration` now depends on `snap`. Build instance must be refreshed each time the snap is built before of bug: canonical/craft-parts#675 Signed-off-by: Jason C. Nucciarone <[email protected]>
52a268c
to
88f08de
Compare
Signed-off-by: Jason C. Nucciarone <[email protected]>
88f08de
to
17faa73
Compare
@jedel1043 R4R |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
This PR refreshes the Slurm snap with necessary quality of life updates. Changes include:
make
withjust
. Less.PHONY: ...
the better...mungectl
. It wasn't as update to date with the upstreammungectl
repository.DownNodes
entry and did not support Slurm hostname specification.Related issues