Skip to content
This repository has been archived by the owner on Aug 9, 2024. It is now read-only.

chore: fix CI pipeline #38

Merged
merged 2 commits into from
Jul 17, 2024
Merged

Conversation

jedel1043
Copy link
Contributor

@jedel1043 jedel1043 commented Jul 15, 2024

This will always pull from main when testing against slurmctld-operator, which is arguably better when trying to do breaking changes in integrations between the charms.

How was the code tested?

Locally using a development environment based on Ubuntu Jammy.

Checklist

  • I am the author of these changes, or I have the rights to submit them.
  • I have added the relevant changes to the README and/or documentation.
  • I have self reviewed my own code.
  • All requested changes and/or review comments have been resolved.

This will always pull from `main` when testing against `slurmctld-operator`, which is arguably better when trying to do breaking changes in integrations between the charms.
@jedel1043 jedel1043 marked this pull request as ready for review July 15, 2024 23:22
Copy link
Member

@NucciTheBoss NucciTheBoss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree with dropping slurmdbd from the tests since we now only need slurmctld and slurmd to reach active state for both charms. I just have two comments. Comment number 1 I'd like to have addressed in this PR, and comment 2 is 🌮4️⃣🤔 that we should discuss in the future:

  1. I think we should still be testing against the edge branch of the slurmctld operator in Charmhub as a non-gating test. Reason saying is that we should at least have some insight into whether the latest changes to the slurmd operator are compatible with the latest published version of slurmctld. That way we have a flag for whether we're intentionally or unintentionally breaking the API between the two charms. If we're intentionally breaking, we can comment the context on the PR, and if we're unintentionally breaking, we know that we have some further debugging to do. Let me know your thoughts on this.

  2. We should have discussion about what smoke testing will look like for Charmed HPC. I definitely think that a full-scale Charmed HPC cluster will quickly overwhelm a single GitHub Runner, so we should brainstorm what those tests will eventually look like, and where to run them.

@jedel1043
Copy link
Contributor Author

  1. I think we should still be testing against the edge branch of the slurmctld operator in Charmhub as a non-gating test. Reason saying is that we should at least have some insight into whether the latest changes to the slurmd operator are compatible with the latest published version of slurmctld. That way we have a flag for whether we're intentionally or unintentionally breaking the API between the two charms. If we're intentionally breaking, we can comment the context on the PR, and if we're unintentionally breaking, we know that we have some further debugging to do. Let me know your thoughts on this.

I think that would be good, that way we do breaking changes in a more controlled way.

@NucciTheBoss
Copy link
Member

I think that would be good, that way we do breaking changes in a more controlled way.

Sweet! Let's do that then, we can have the integration test against the edge branch in Charmhub run concurrently with the main integration test against the cloned version of slurmctld.

Copy link
Contributor

@jamesbeedy jamesbeedy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sweet! +1

@jedel1043 jedel1043 requested a review from NucciTheBoss July 17, 2024 18:16
@jedel1043
Copy link
Contributor Author

jedel1043 commented Jul 17, 2024

@NucciTheBoss Added a non-gating job that tests against Charmhub edge, PTAL.

Copy link
Member

@NucciTheBoss NucciTheBoss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀

Have the insight into whether we're breaking with what's published in edge will be very nice to have!

@NucciTheBoss NucciTheBoss merged commit 4595cf3 into charmed-hpc:main Jul 17, 2024
5 of 6 checks passed
@NucciTheBoss NucciTheBoss added the enhancement New feature or request label Jul 17, 2024
@jedel1043 jedel1043 deleted the fix-ci-pipeline branch July 17, 2024 19:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants