Skip to content
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

[DPE-3908] Minor version upgrades #335

Conversation

Gu1nness
Copy link
Contributor

@Gu1nness Gu1nness commented Sep 23, 2024

Based on Kubernetes Upgrades V2 and implementation in mysql-router-k8s

@Gu1nness Gu1nness requested review from delgod and Mehdi-Bendriss and removed request for delgod September 23, 2024 08:30
@Gu1nness Gu1nness force-pushed the DPE-5374-mongo-db-k-8-s-upgrades-test-existing-vm-code-of-pre-upgrades-hook-on-k-8-s branch from c7d3be1 to ed8a941 Compare September 23, 2024 09:23
src/exceptions.py Show resolved Hide resolved
src/k8s_upgrade.py Outdated Show resolved Hide resolved
src/charm.py Show resolved Hide resolved
src/charm.py Show resolved Hide resolved
Copy link
Contributor

@MiaAltieri MiaAltieri left a comment

Choose a reason for hiding this comment

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

Looking great! this is a first pass, mind adding comments to K8s_upgrde so I can get a better idea on how to review it?

src/charm.py Show resolved Hide resolved
src/charm.py Outdated Show resolved Hide resolved
src/charm.py Outdated Show resolved Hide resolved
src/charm.py Outdated Show resolved Hide resolved
src/charm.py Outdated Show resolved Hide resolved
src/charm.py Outdated Show resolved Hide resolved
src/charm.py Outdated Show resolved Hide resolved
tests/unit/test_upgrade.py Show resolved Hide resolved
workload_version Show resolved Hide resolved
Copy link
Contributor

@MiaAltieri MiaAltieri left a comment

Choose a reason for hiding this comment

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

I did an initial pass, mind adding some context to k8s_upgrade so I can review it easier?

src/charm.py Outdated Show resolved Hide resolved
charmcraft.yaml Outdated Show resolved Hide resolved
tests/unit/test_upgrade.py Show resolved Hide resolved
tests/unit/test_charm.py Outdated Show resolved Hide resolved
lib/charms/mongodb/v0/upgrade_helpers.py Outdated Show resolved Hide resolved
lib/charms/mongodb/v0/upgrade_helpers.py Outdated Show resolved Hide resolved
src/k8s_upgrade.py Outdated Show resolved Hide resolved
src/k8s_upgrade.py Outdated Show resolved Hide resolved
src/k8s_upgrade.py Outdated Show resolved Hide resolved
src/k8s_upgrade.py Outdated Show resolved Hide resolved
src/charm.py Show resolved Hide resolved
@carlcsaposs-canonical
Copy link
Contributor

kinda skimmed when I reviewed—if you have a highlight of what's different from mysql-router-k8s, happy to review that a bit more thoroughly if that would be helpful

@Gu1nness Gu1nness force-pushed the DPE-5374-mongo-db-k-8-s-upgrades-test-existing-vm-code-of-pre-upgrades-hook-on-k-8-s branch 2 times, most recently from 1986de3 to d2d18c7 Compare September 30, 2024 16:36
src/charm.py Show resolved Hide resolved
src/charm.py Show resolved Hide resolved
src/charm.py Outdated Show resolved Hide resolved
src/charm.py Outdated Show resolved Hide resolved
src/charm.py Show resolved Hide resolved
src/k8s_upgrade.py Outdated Show resolved Hide resolved
src/k8s_upgrade.py Outdated Show resolved Hide resolved
src/k8s_upgrade.py Outdated Show resolved Hide resolved
src/k8s_upgrade.py Outdated Show resolved Hide resolved
src/k8s_upgrade.py Outdated Show resolved Hide resolved
src/charm.py Outdated Show resolved Hide resolved
src/charm.py Outdated Show resolved Hide resolved
src/charm.py Outdated Show resolved Hide resolved
src/k8s_upgrade.py Outdated Show resolved Hide resolved
src/charm.py Show resolved Hide resolved
src/charm.py Outdated Show resolved Hide resolved
src/charm.py Outdated Show resolved Hide resolved
src/charm.py Show resolved Hide resolved
src/charm.py Show resolved Hide resolved
src/charm.py Outdated Show resolved Hide resolved
src/k8s_upgrade.py Outdated Show resolved Hide resolved
src/k8s_upgrade.py Outdated Show resolved Hide resolved
src/k8s_upgrade.py Outdated Show resolved Hide resolved
src/k8s_upgrade.py Outdated Show resolved Hide resolved
@Gu1nness Gu1nness force-pushed the DPE-5374-mongo-db-k-8-s-upgrades-test-existing-vm-code-of-pre-upgrades-hook-on-k-8-s branch from ddeb580 to eae3ef4 Compare October 9, 2024 09:11
src/charm.py Outdated Show resolved Hide resolved
src/charm.py Show resolved Hide resolved
src/charm.py Outdated Show resolved Hide resolved
src/charm.py Show resolved Hide resolved
src/charm.py Show resolved Hide resolved
src/charm.py Show resolved Hide resolved
src/charm.py Outdated Show resolved Hide resolved
src/k8s_upgrade.py Outdated Show resolved Hide resolved
src/k8s_upgrade.py Outdated Show resolved Hide resolved
src/k8s_upgrade.py Outdated Show resolved Hide resolved
src/config.py Outdated Show resolved Hide resolved
actions.yaml Outdated Show resolved Hide resolved
src/k8s_upgrade.py Outdated Show resolved Hide resolved
src/charm.py Show resolved Hide resolved
src/charm.py Show resolved Hide resolved
Copy link
Contributor

@MiaAltieri MiaAltieri left a comment

Choose a reason for hiding this comment

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

looking great! in the final stretch here, thanks so much for your patience + dedication to getting this done right Neha :)

src/charm.py Outdated Show resolved Hide resolved
tests/integration/upgrades/test_local_sharding_upgrades.py Outdated Show resolved Hide resolved
tests/integration/upgrades/test_rollback.py Show resolved Hide resolved
src/charm.py Outdated Show resolved Hide resolved
@Gu1nness Gu1nness force-pushed the DPE-5374-mongo-db-k-8-s-upgrades-test-existing-vm-code-of-pre-upgrades-hook-on-k-8-s branch from 84449c7 to 61c5d6b Compare October 11, 2024 11:55
actions.yaml Outdated Show resolved Hide resolved
tests/integration/upgrades/test_local_sharding_upgrades.py Outdated Show resolved Hide resolved
src/k8s_upgrade.py Outdated Show resolved Hide resolved
src/charm.py Outdated Show resolved Hide resolved
src/charm.py Outdated Show resolved Hide resolved
src/charm.py Outdated Show resolved Hide resolved
MiaAltieri
MiaAltieri previously approved these changes Oct 11, 2024
Copy link
Contributor

@MiaAltieri MiaAltieri left a comment

Choose a reason for hiding this comment

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

great work Neha! please enjoy your weekend!

Mehdi-Bendriss
Mehdi-Bendriss previously approved these changes Oct 14, 2024
Copy link
Contributor

@Mehdi-Bendriss Mehdi-Bendriss left a comment

Choose a reason for hiding this comment

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

Thanks Neha - looks good, the previous reviews were pretty thorough :)

lib/charms/mongodb/v1/helpers.py Outdated Show resolved Hide resolved
src/charm.py Show resolved Hide resolved
src/charm.py Show resolved Hide resolved
src/charm.py Outdated Show resolved Hide resolved
src/charm.py Show resolved Hide resolved
src/charm.py Show resolved Hide resolved
src/charm.py Outdated Show resolved Hide resolved
@Gu1nness Gu1nness force-pushed the DPE-5374-mongo-db-k-8-s-upgrades-test-existing-vm-code-of-pre-upgrades-hook-on-k-8-s branch from 50b4b51 to 4731735 Compare October 14, 2024 12:49
Mehdi-Bendriss
Mehdi-Bendriss previously approved these changes Oct 14, 2024
@Gu1nness Gu1nness merged commit f9224f3 into 6/edge Oct 17, 2024
32 of 33 checks passed
@Gu1nness Gu1nness deleted the DPE-5374-mongo-db-k-8-s-upgrades-test-existing-vm-code-of-pre-upgrades-hook-on-k-8-s branch October 17, 2024 08:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants