-
Notifications
You must be signed in to change notification settings - Fork 32
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
Add qa-ctl
tool v0.1
#1895
Merged
Merged
Add qa-ctl
tool v0.1
#1895
Conversation
This file contains 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
Module for provisioning Wazuh and QA Framework using Ansible
QACTL Pytest classes
This commit also adds: - Fixing import errors in deployment module. - Let ssh connections to docker containers. - Let DockerWrapper get containers IPs - The dependencies are installed when building the image.
This commit also adds parameters to qactl tool to perform actions in the VMs and containers.
Create tool to launch full QACTL functionality
Fixes for QACTL
- Add missing docs. - Remove useless line in qactl script - Rename non descriptive variables. - Remove outdated documentation.
Add skip parameters to the qa-ctl tool
Update qa-ctl configuration files path to use the python function os.path.join()
QA-CTL: Add new folder level for qa-ctl temporary files
snaow
approved these changes
Oct 8, 2021
Great job. A big step in the QA team. |
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.
Description
This PR adds the
qa-ctl
tool to the wazuh-qa repository, in addition to the set of libraries used for its development in the qa framework.qa-ctl
documentation and use guide.qa-ctl
installation guideChecks
Run checks
Linux
qa-ctl -r test_general_settings_enabled --qa-branch 1533-qa-ctl
qa-ctl -r test_general_settings_enabled --qa-branch 1533-qa-ctl -d
qa-ctl -r test_general_setting_enabled --qa-branch 1533-qa-ctl -dd
qa-ctl -r test_general_settings_enabled --qa-branch 1533-qa-ctl -p
qa-ctl -c config.yaml --qa-branch 1533-qa-ctl --skip-deployment --skip-provisioning
qa-ctl -c config.yaml --qa-branch 1533-qa-ctl
qa-ctl -r test_general_settings_enabled --qa-branch 1533-qa-ctl -v 4.2.0
qa-ctl -r test_general_settings_enabled --dry-run
Windows
qa-ctl -r test_general_settings_enabled --qa-branch 1533-qa-ctl
qa-ctl -r test_general_settings_enabled --qa-branch 1533-qa-ctl -d
qa-ctl -r test_general_settings_enabled --qa-branch 1533-qa-ctl -dd
qa-ctl -r test_general_settings_enabled --qa-branch 1533-qa-ctl -p
qa-ctl -c config.yaml --qa-branch 1533-qa-ctl --skip-deployment --skip-provisioning
qa-ctl -c config.yaml --qa-branch 1533-qa-ctl
qa-ctl -r test_general_settings_enabled --qa-branch 1533-qa-ctl -v 4.2.0
qa-ctl -r test_general_settings_enabled --dry-run
Generic tests
test_cors
qa-ctl -r test_cors --qa-branch 1533-qa-ctl
test_execd_restart
qa-ctl -r test_execd_restart --qa-branch 1533-qa-ctl
test_cache
qa-ctl -r test_cache --qa-branch 1533-qa-ctl
test_execd_firewall_drop
qa-ctl -r test_execd_firewall_drop --qa-branch 1533-qa-ctl
Invalid qa-ctl script parameters
qa-ctl -r test_general_settings_enabled --qa-branch 1533-qa-ctl -c config.yaml
--version
parameter can be only run in automatic modeqa-ctl -c config.yaml --qa-branch 1533-qa-ctl -v 4.2.2
--dry-run
parameter can only be used in automatic modeqa-ctl -c config.yaml --qa-branch 1533-qa-ctl --dry-run
--skip-deployment
parameter can only be used in manual modeqa-ctl -r test_general_settings_enabled --qa-branch 1533-qa-ctl --skip-deployment
--skip-provisioning
parameter can only be used in manual modeqa-ctl -r test_general_settings_enabled --qa-branch 1533-qa-ctl --skip-provisioning
--skip-testing
parameter can only be used in manual modeqa-ctl -r test_general_settings_enabled --qa-branch 1533-qa-ctl --skip-testing
--version
format parameter.qa-ctl -r test_general_settings_enabled --qa-branch 1533-qa-ctl --version 4.2
--version
release parameter.qa-ctl -r test_general_settings_enabled --qa-branch 1533-qa-ctl --version 4.1.10
--qa-branch
parameter. It does not exists on remote repository.qa-ctl -r test_general_settings_enabled --qa-branch bad-branch
qa-ctl -r bad_test_name --qa-branch 1533-qa-ctl