From bab88ea638d28273140b08be61fd8300a495d8e3 Mon Sep 17 00:00:00 2001 From: "wojciech.stechura" Date: Fri, 20 Dec 2024 09:46:40 +0100 Subject: [PATCH] Update README.md and galaxy.yml files --- README.md | 5 +++-- galaxy.yml | 6 +++++- roles/oneagent/tests/README.md | 4 ++++ 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d95ce14..b92d7f2 100644 --- a/README.md +++ b/README.md @@ -44,8 +44,7 @@ broken in the latest version (please report an issue in this repository). Use th ansible-galaxy collection install dynatrace.oneagent:==1.0.0 ``` -See [using Ansible collections](https://docs.ansible.com/ansible/devel/user_guide/collections_using.html) for more -details. +See [using Ansible collections](https://docs.ansible.com/ansible/devel/user_guide/collections_using.html) for more details. ## Use Cases @@ -53,6 +52,8 @@ See [OneAgent role README](roles/oneagent/README.md) for more details. ## Testing +The collection was tested against Ansible sanity tests and component tests. The latter runs regular deployment with +the installer and checks veriety of installation scenarios. See [OneAgent role tests README](roles/oneagent/tests/README.md) for more details. ## Support diff --git a/galaxy.yml b/galaxy.yml index 2cd19bb..56e4c5c 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -10,8 +10,12 @@ license_file: LICENSE tags: - dynatrace - oneagent - - monitoring + - agent - deployment + - monitoring + - infrastructure + - linux + - windows repository: https://github.com/Dynatrace/Dynatrace-OneAgent-Ansible documentation: https://docs.dynatrace.com/docs/setup-and-configuration/dynatrace-oneagent/deployment-orchestration/ansible build_ignore: diff --git a/roles/oneagent/tests/README.md b/roles/oneagent/tests/README.md index f1dc2eb..6e4d3ac 100644 --- a/roles/oneagent/tests/README.md +++ b/roles/oneagent/tests/README.md @@ -1,10 +1,12 @@ # Component tests + The tests support two types of deployment: - local - the tests are run on the same Unix machine as main node; - remote - the tests are run on a remote Windows (Unix is not supported at the moment) machine; Currently, there is no option to mix these two types of deployment and the tests must be run for one platform at a time. ## Remote deployment + For remote deployment, regular OneAgent installers are used, which are downloaded from the Dynatrace environment during the tests. To use this type of deployment, the following parameters must be provided: - `--user` - username for the remote machine; @@ -15,12 +17,14 @@ the tests. To use this type of deployment, the following parameters must be prov Failing to provide any of these parameters will result in failure. ## Local deployment + For local deployment, the tests are using mocked version of the OneAgent installer, which simulates its basic behavior - returning version, deploying `uninstall.sh` script and creating `oneagentctl`, used for configuring installation. To use this type of deployment, the only required parameter is `--linux_x86=localhost`. In case, multiple platforms for local deployment are specified or any other platforms is used along with local one, only the first local platform is used. ## Requirements + - Python 3.10+ - pip 21.0+ - venv 20.0+