Skip to content

Add conditional tags to logger

Robert Speicher requested to merge rs-dry-run-logger into master

Example dry-run security execution:

release-tools rs-dry-run-logger % SECURITY=true LOG_LEVEL=info AUTO_DEPLOY_BRANCH=12-9-auto-deploy-20200308 TEST=true be rake 'auto_deploy:tag'
2020-03-10 13:18:31.416753 I [dry-run] [security] ReleaseTools::ComponentVersions -- Omnibus Versions -- {"VERSION"=>"6d70bd753db02ad8a97c1f18a0a6f5d4e72222e1", "GITALY_SERVER_VERSION"=>"aa910b0b6fbc3f005a9924dee731123dfca2e48d", "GITLAB_ELASTICSEARCH_INDEXER_VERSION"=>"2.1.0", "GITLAB_PAGES_VERSION"=>"1.17.0", "GITLAB_SHELL_VERSION"=>"12.0.0", "GITLAB_WORKHORSE_VERSION"=>"8.24.0"}
2020-03-10 13:18:32.968577 I [dry-run] [security] ReleaseTools::ComponentVersions -- Omnibus Versions -- {"GITALY_SERVER_VERSION"=>"aa910b0b6fbc3f005a9924dee731123dfca2e48d", "GITLAB_ELASTICSEARCH_INDEXER_VERSION"=>"v2.1.0", "GITLAB_PAGES_VERSION"=>"v1.17.0", "GITLAB_SHELL_VERSION"=>"v12.0.0", "GITLAB_WORKHORSE_VERSION"=>"v8.24.0", "GITLAB_ASSETS_TAG"=>"6d70bd753db02ad8a97c1f18a0a6f5d4e72222e1", "GITLAB_VERSION"=>"6d70bd753db02ad8a97c1f18a0a6f5d4e72222e1"}
2020-03-10 13:18:33.365407 I [dry-run] [security] ReleaseTools::ComponentVersions -- CNG Versions -- {"GITALY_SERVER_VERSION"=>"aa910b0b6fbc3f005a9924dee731123dfca2e48d", "GITLAB_ELASTICSEARCH_INDEXER_VERSION"=>"v2.1.0", "GITLAB_PAGES_VERSION"=>"v1.17.0", "GITLAB_SHELL_VERSION"=>"v12.0.0", "GITLAB_WORKHORSE_VERSION"=>"v8.24.0", "GITLAB_ASSETS_TAG"=>"6d70bd753db02ad8a97c1f18a0a6f5d4e72222e1", "GITLAB_VERSION"=>"6d70bd753db02ad8a97c1f18a0a6f5d4e72222e1", "MAILROOM_VERSION"=>"0.0.3"}
2020-03-10 13:18:34.053797 W [dry-run] [security] ReleaseTools::AutoDeploy::Tagger::Omnibus -- No changes to Omnibus, nothing to tag -- {:target=>"12-9-auto-deploy-20200308"}
2020-03-10 13:18:34.628357 W [dry-run] [security] ReleaseTools::AutoDeploy::Tagger::CNGImage -- No changes to CNG, nothing to tag -- {:target=>"12-9-auto-deploy-20200308"}

Merge request reports