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-2991] Install + Start hook #3

Merged
merged 19 commits into from
Nov 28, 2023
Merged

[DPE-2991] Install + Start hook #3

merged 19 commits into from
Nov 28, 2023

Conversation

MiaAltieri
Copy link
Contributor

@MiaAltieri MiaAltieri commented Nov 21, 2023

Purpose

  • add in some structure from other charm
  • Install snap
  • Go into blocked state while waiting for config server relation

Files to review

lots of code was copied over I would suggest sticking with these files:

  • metadata.yaml
  • src/charm.py
  • tests/integration/test_charm.py
  • tests/unit/test_charm.py

Future Work

  • Set up caching, github actions etc

@@ -0,0 +1,37 @@
"""Configuration for MongoDB Charm."""
Copy link
Contributor Author

@MiaAltieri MiaAltieri Nov 21, 2023

Choose a reason for hiding this comment

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

copied from MongoDB-operator and then removed some functions

@@ -0,0 +1,46 @@
#!/usr/bin/env python3
Copy link
Contributor Author

Choose a reason for hiding this comment

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

copied from MongoDB-operator

@@ -0,0 +1,32 @@
"""Machine Charm specific functions for operating MongoDB."""
Copy link
Contributor Author

Choose a reason for hiding this comment

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

copied from mongodb-operator and removed functions

@MiaAltieri MiaAltieri changed the title Install hook [DPE-2991] Install + Start hook Nov 21, 2023
src/charm.py Outdated Show resolved Hide resolved
metadata.yaml Outdated Show resolved Hide resolved
requirements.txt Outdated Show resolved Hide resolved
.gitignore Outdated Show resolved Hide resolved
@MiaAltieri MiaAltieri requested a review from delgod November 27, 2023 22:45
@MiaAltieri MiaAltieri merged commit 75c7a36 into 6/edge Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants