-
Notifications
You must be signed in to change notification settings - Fork 0
Feature/add jenkins api #307
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
Merged
Merged
Conversation
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
- Introduced a new Jenkins framework including classes for Jenkins API interaction, configuration management, and authentication. - Added `Jenkins`, `Config`, and `Auth` classes to handle Jenkins operations and settings. - Implemented a request sender for HTTP communication with Jenkins. - Created `__init__.py` files for module exports. These additions provide a structured way to interact with Jenkins, enhancing the overall functionality of the framework.
- Added Jenkins integration to the TestScheduler class for retrieving the last completed build version. - Implemented methods to check the existence of packages for specific versions and categories. - Updated the logic for identifying new versions to test, incorporating package availability checks. - Improved logging for warnings and errors related to package checks and Jenkins interactions. These changes enhance the testing framework's ability to manage and validate package versions effectively.
- Changed the 'any_package_exists' field in scheduler_config.json from false to true, allowing the scheduler to recognize the presence of any packages. This update enhances the scheduler's capability to manage package validation during test execution.
- Added "windows 11 on arm" to the Windows OS family in packages_config.json, enhancing support for ARM architecture in testing environments.
- Added "windows 11 on arm" and "debian-arm64" entries to the configuration, improving compatibility for ARM64 environments in testing scenarios. - Removed the redundant "windows 11 on arm" entry from the Windows OS family to streamline the configuration.
…for ARM64 support - Modified the VboxMachine class to append 'arm64' to the OS name if the VM name indicates ARM architecture, improving clarity in OS identification. - Updated entries in packages_config.json to include 'arm64' suffix for Windows 11 and Debian, enhancing compatibility for ARM64 environments in testing scenarios.
- Updated the error message in the DesktopTestTools class to include the OS name along with the package name when a package is not found in packages_config.json. This change improves clarity and aids in debugging during testing scenarios.
- Added functionality to the TestScheduler class to run an initial check for tests immediately upon scheduling. This improvement allows for quicker feedback on test readiness before scheduled runs, enhancing the overall efficiency of the testing process.
… modules to clean up code and improve readability.
- Added checks to ensure the existence and non-emptiness of the token and ID files in the Auth class. This improvement raises appropriate exceptions with clear error messages when the files are missing or empty, enhancing robustness and debugging capabilities.
…d ARM64 support - Set a default value for the chat_id_file in desktop_tests_config.json. - Added OpenSuseLeap15_arm64 to the hosts_arm64 array in desktop_tests_config.json. - Introduced new entries for RHEL and SUSE ARM64 in packages_config.json, improving compatibility for ARM64 environments in testing scenarios.
…rectly - Updated the DesktopTestTools class to set the exit_code based on the test status for non-existent packages and VM creation failures, improving clarity and consistency in reporting.
- Updated the VboxMachine class to conditionally append 'arm64' to the OS name based on the VM name, enhancing the clarity of OS identification.
- Replaced the singleton decorator with class_cache in the VmConfig class, optimizing caching behavior for VM configuration instances.
8d73bcb to
04c9c30
Compare
… in VmUpdater - Changed the source reference for the VBoxWrapper package to a new commit. - Enhanced the logic for determining the VM directory in the VmUpdater class to use a default VM directory if the configuration path is not provided. - Improved error logging for missing VM configuration files to include more context in the message.
- Updated the source reference for the VBoxWrapper package to a new commit. - Introduced a new method to update the VM directory in the VmUpdater class for better clarity and organization. - Added methods to register the VM in VirtualBox and move it to a group directory, improving VM management capabilities. - Enhanced logging for DVD image removal to provide more context.
- Introduced a new method in the VmUpdater class to refresh the VM configuration path from VM info, improving clarity and ensuring the path is always up-to-date. - Updated the existing logic to call this method when retrieving the VM configuration path and updating the VM directory, enhancing the overall functionality of VM management.
- Enhanced the logic in the VmUpdater class to provide clearer handling of VM directory paths. - Added error handling to raise a ValueError if both the configuration path and default VM directory are None, ensuring robustness in VM management.
- Updated the logging message in the VmUpdater class to display the list of useless DVD images more clearly, enhancing the clarity of log outputs during VM management.
- Corrected the conditional check for group name in the VmUpdater class to use 'not in' instead of 'not in str', improving code clarity and correctness.
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.
No description provided.