Skip to content

Commit c873a36

Browse files
Update install script to v3 (#3)
1 parent 44f4f14 commit c873a36

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.circleci/test-deploy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ jobs:
3030
- run: echo 'export DD_API_KEY=dummy' >> $BASH_ENV
3131
- test-visibility-circleci-orb/autoinstrument:
3232
languages: java
33+
java_instrumented_build_system: all
3334
- run:
3435
name: Test that java has been instrumented with test visibility
3536
command: |

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ The orb has the following parameters:
4646
| java_tracer_version | The version of Datadog Java tracer to use. Defaults to the latest release. | false | |
4747
| js_tracer_version | The version of Datadog JS tracer to use. Defaults to the latest release. | false | |
4848
| python_tracer_version | The version of Datadog Python tracer to use. Defaults to the latest release. | false | |
49-
| java_instrumented_build_system | If provided, only the specified build systems will be instrumented (allowed values are `gradle` and `maven`). Otherwise every Java process will be instrumented. | false | |
49+
| java_instrumented_build_system | If provided, only the specified build systems will be instrumented (allowed values are `gradle`,`maven`,`sbt`,`ant`,`all`). `all` is a special value that instruments every Java process. If this property is not provided, all known build systems will be instrumented (Gradle, Maven, SBT, Ant). | false | |
5050

5151
### Additional configuration
5252

src/commands/autoinstrument.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ steps:
4343
DD_SET_TRACER_VERSION_JS: <<parameters.js_tracer_version>>
4444
DD_SET_TRACER_VERSION_PYTHON: <<parameters.python_tracer_version>>
4545
DD_INSTRUMENTATION_BUILD_SYSTEM_JAVA: <<parameters.java_instrumented_build_system>>
46-
INSTALLATION_SCRIPT_URL: https://install.datadoghq.com/scripts/install_test_visibility_v2.sh
47-
INSTALLATION_SCRIPT_CHECKSUM: 7c888969cf45b4a2340d5cf58afa2e7110a295904ca182724b88a3d19e9bc18d
46+
INSTALLATION_SCRIPT_URL: https://install.datadoghq.com/scripts/install_test_visibility_v3.sh
47+
INSTALLATION_SCRIPT_CHECKSUM: 14f41bd44247591c442aab691902d8172765548fe71b32aa579d969c5fe43c54
4848
name: Configure Datadog Test Visibility
4949
command: <<include(scripts/autoinstrument.sh)>>

0 commit comments

Comments
 (0)