Note: If you are reading this in Docker Hub, please check the full documentation in the Github Repo Dynatrace Automation Tools
This CLI allows automating different Dynatrace use-cases to be used with CI/CD or automation platforms. The current implemented use cases:
To use the CLI you have different deployment options:
Use the docker container image from Docker Hub: https://hub.docker.com/repository/docker/dynatraceace/dt-automation-cli. This container is made for CI/CD pipelines, to run it locally you can use the following:
docker run -i -t dynatraceace/dt-automation-cli:latest bash
. This will open terminal inside the container where you can use the commands for the CLI likedta -h
. Reference for each command is described in the documentation for each use case.
Download the CLI executable from the Github repo
For Linux users execute the following:
wget -O dta https://github.com/dynatrace-ace/dynatrace-automation-tools/releases/download/v1.0.0/dta-linux-x64
chmod +rx ./dta
./dta -h
For detail instructions for each use case please refer to the corresponding README file.
To collect different a detail log level of the execution please set the environment variables:
- LOG_LEVEL=verbose
- LOG_FILE=true
This will output a file with the logs for the CLI in the path logs/logs.log
For development instructions please check Development