Add installation testing system and dependency checks#11
Merged
Conversation
- Created check_dependencies.py to verify Python dependencies before installation - Updated all installation scripts to check dependencies before installing - Added test_installation.py to verify plugin installations work correctly - Created comprehensive testing documentation in tests/README.md - Added demo_installation_test.sh as a guided walkthrough of installation testing - Installation scripts now skip package installation when dependencies are satisfied
This commit updates the plugin installation process to support a shared common directory: - Modified all plugin installation scripts to: - Accept a base directory parameter where all plugins will be installed - Automatically create plugin subdirectories using lowercase plugin names - Install the common directory only once in the base directory - Set PYTHONPATH to the base directory in systemd services - Updated test_installation.py to: - Support both old and new installation structures - Detect plugin installations in both structures - Set PYTHONPATH correctly based on the detected structure - Added demo_installation_test.sh to demonstrate the new installation approach This improves the installation process by ensuring common files exist only once for all plugins.
- Changed default installation directory to /opt/instana_plugins/
- Removed dependency on Instana agent directories
- Improved service naming convention to instana-microstrategy-{process}-monitor
- Removed unnecessary plugin.json files
- Updated test framework to support new directory structure
- Updated documentation to reflect all changes
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Add installation testing system and dependency checks
Description
/opt/instana_plugins/instana-microstrategy-{process}-monitorChecklist before requesting a review
Tag Information
Planned tag: v0.0.13