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

compatible: add clean-up microceph #125

Closed
wants to merge 9 commits into from
Closed

Conversation

phvalguima
Copy link
Contributor

Add support for microceph clean-up routine at the end of the testing. Also, add an option for keeping microceph running, if we want to use it for some extra manual tests after running an integration test.

This PR also fixes some other smaller issues.

Bug-fixes: #122, #123, #124

The latest commit ce3f223 moved github_secrets/_plugin.py to python_github_secrets/_plugin.py but missed one update in the pyproject.toml, adding it
pytest runs in the host, whereas the workloads run in lxd containers. This commit allows to set the microceph URL to the host, instead of localhost.
As seen in this run:
https://github.com/canonical/opensearch-operator/actions/runs/7519231326/job/20467598269
Microceph gets installed as it is a fixture needed by some tests.

Even if we move all microceph-related fixtures to module and run only one non-backup test module,
microceph still gets installed.

This change makes microceph information a LazyMapping, that only really installs microceph
once it is actually asked for some information.
@carlcsaposs-canonical
Copy link
Contributor

#122 fixed by #126
#123 issue with calling repository
#124 closed as not planned

@carlcsaposs-canonical carlcsaposs-canonical deleted the clean-microceph branch January 15, 2024 09:45
@phvalguima phvalguima restored the clean-microceph branch January 15, 2024 11:27
@phvalguima phvalguima deleted the clean-microceph branch June 7, 2024 14:45
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.

github_secrets incorrect pyproject.toml plugin name
2 participants