This repository has been archived by the owner on Aug 9, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
feat!: overhaul slurmrestd charm API #19
Merged
NucciTheBoss
merged 2 commits into
charmed-hpc:main
from
jamesbeedy:slurm_config_editor_preparation
Jun 28, 2024
Merged
feat!: overhaul slurmrestd charm API #19
NucciTheBoss
merged 2 commits into
charmed-hpc:main
from
jamesbeedy:slurm_config_editor_preparation
Jun 28, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jamesbeedy
force-pushed
the
slurm_config_editor_preparation
branch
from
June 9, 2024 19:03
b843a55
to
f414f01
Compare
NucciTheBoss
suggested changes
Jun 19, 2024
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.
Overall, looks great to me! Just a couple of comments and nits
Hey @jamesbeedy 👋 Similar to the slurmd operator, could you please apply the changes you made to the slurmdbd and slurmctld operators here as well before merging? We can focus on feature refinement in follow-on pull requests 😄 |
jamesbeedy
force-pushed
the
slurm_config_editor_preparation
branch
from
June 28, 2024 16:04
14237a7
to
0367e5f
Compare
Changes include: * remove jinja2 and replace with `Path().write_text()` * remove `slurm-ops-manager` 3rd party dep and replace with local `slurmrestd_ops.py` * consolidate the yaml files into a single `charmcraft.yaml` * rename interface slurmrestd -> slurmctld * cleanup from PR review * remove unused code * addeded logging * simplified api * reduced code footprint * consolidated yaml files into charmcraft.yaml * added type checking
@NucciTheBoss g2g on my end |
jamesbeedy
force-pushed
the
slurm_config_editor_preparation
branch
from
June 28, 2024 16:10
1b1f0a6
to
0367e5f
Compare
NucciTheBoss
approved these changes
Jun 28, 2024
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.
LGTM! Thanks for your work @jamesbeedy 🎉
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Please reference the Slurm Charms Change Summary Document for an in-depth explanation of these changes.
Changes include:
Path().write_text()
slurm-ops-manager
3rd party dep and replace with localslurmrestd_ops.py
charmcraft.yaml