lib/datadog/ci/configuration/settings.rb in datadog-ci-0.4.1 vs lib/datadog/ci/configuration/settings.rb in datadog-ci-0.5.0

- old
+ new

@@ -32,10 +32,16 @@ option :agentless_url do |o| o.type :string, nilable: true o.env CI::Ext::Settings::ENV_AGENTLESS_URL end + option :experimental_test_suite_level_visibility_enabled do |o| + o.type :bool + o.env CI::Ext::Settings::ENV_EXPERIMENTAL_TEST_SUITE_LEVEL_VISIBILITY_ENABLED + o.default false + end + define_method(:instrument) do |integration_name, options = {}, &block| return unless enabled integration = fetch_integration(integration_name) integration.configure(options, &block) @@ -54,10 +60,10 @@ define_method(:[]) do |integration_name| fetch_integration(integration_name).configuration end - # TODO: Deprecate in the next major version, as `instrument` better describes this method's purpose + # @deprecated Will be removed on datadog-ci-rb 1.0. alias_method :use, :instrument option :trace_flush option :writer_options do |o|