Dynatrace / dynatrace-configuration-as-code

This tool automates deployment of Dynatrace Configuration to one or multiple Dynatrace environments.
https://docs.dynatrace.com/docs/manage/configuration-as-code/monaco
Apache License 2.0
164 stars 94 forks source link

feat: Log Monaco version at the beginning of every command #1448

Closed arthurpitman closed 7 months ago

arthurpitman commented 7 months ago

To make it easier to support Monaco, this PR adds an info log of the version at the start of every command. Furthermore, to ensure that it is persisted, it is logged after the log file has been initialized.

github-actions[bot] commented 7 months ago

Unit Test Results

1 786 tests  ±0   1 786 :white_check_mark: ±0   17s :stopwatch: ±0s   127 suites ±0       0 :zzz: ±0      1 files   ±0       0 :x: ±0 

Results for commit 583b979d. ± Comparison against base commit 626f7c67.

:recycle: This comment has been updated with latest results.

github-actions[bot] commented 7 months ago

E2E Test Results

    5 files   -  1    257 suites   - 127   21m 56s :stopwatch: - 22m 25s 1 897 tests + 7  1 894 :white_check_mark: +  7  1 :zzz: ±0  2 :x: ±0  1 977 runs   - 72  1 974 :white_check_mark:  -  72  1 :zzz: ±0  2 :x: ±0 

For more details on these failures, see this check.

Results for commit 09a27705. ± Comparison against base commit 626f7c67.

This pull request removes 3 and adds 10 tests. Note that renamed tests count towards both. ``` TestMain github.com/dynatrace/dynatrace-configuration-as-code/v2/cmd/monaco/integrationtest/v2 ‑ TestPaginationClassic github.com/dynatrace/dynatrace-configuration-as-code/v2/cmd/monaco/integrationtest/v2 ‑ TestPaginationPlatform ``` ``` github.com/dynatrace/dynatrace-configuration-as-code/v2/cmd/monaco/integrationtest/v2 ‑ TestMonacoVersionLogging github.com/dynatrace/dynatrace-configuration-as-code/v2/cmd/monaco/integrationtest/v2 ‑ TestMonacoVersionLogging/Account_deploy_should_log_version github.com/dynatrace/dynatrace-configuration-as-code/v2/cmd/monaco/integrationtest/v2 ‑ TestMonacoVersionLogging/Account_download_should_log_version github.com/dynatrace/dynatrace-configuration-as-code/v2/cmd/monaco/integrationtest/v2 ‑ TestMonacoVersionLogging/Deploy_should_log_version github.com/dynatrace/dynatrace-configuration-as-code/v2/cmd/monaco/integrationtest/v2 ‑ TestMonacoVersionLogging/Download_should_log_version github.com/dynatrace/dynatrace-configuration-as-code/v2/cmd/monaco/integrationtest/v2 ‑ TestMonacoVersionLogging/Help_should_not_log_version github.com/dynatrace/dynatrace-configuration-as-code/v2/cmd/monaco/integrationtest/v2 ‑ TestMonacoVersionLogging/Incomplete_account_should_not_log_version github.com/dynatrace/dynatrace-configuration-as-code/v2/cmd/monaco/integrationtest/v2 ‑ TestMonacoVersionLogging/Incomplete_deploy_should_not_log_version github.com/dynatrace/dynatrace-configuration-as-code/v2/cmd/monaco/integrationtest/v2 ‑ TestMonacoVersionLogging/Version_should_not_log_version github.com/dynatrace/dynatrace-configuration-as-code/v2/cmd/monaco/integrationtest/v2 ‑ TestMonacoVersionLogging/With_no_args_no_version_should_be_logged ```

:recycle: This comment has been updated with latest results.

sonarcloud[bot] commented 7 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud