step-security/Datadog Synthetics CI
Run Datadog Synthetics CI tests as part of your Github Actions workflow
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| api-key | Your Datadog API key. | yes | — |
| app-key | Your Datadog application key. | yes | — |
| batch-timeout | Specifies the timeout duration in milliseconds for the CI batch. | no | — |
| config-path | The path to the global configuration file that configures datadog-ci. | no | — |
| datadog-site | Your Datadog site. | no | — |
| fail-on-critical-errors | Fail the CI job if a critical error that is typically transient occurs, such as rate limits, authentication failures, or Datadog infrastructure issues. | no | — |
| fail-on-missing-tests | Fail the CI job if the list of tests to run is empty or if some explicitly listed tests are missing. | no | — |
| fail-on-timeout | Fail the CI job if the CI batch fails as timed out. | no | — |
| files | Glob patterns to detect Synthetic test configuration files, separated by new lines. | no | — |
| junit-report | The filename for a JUnit report if you want to generate one. | no | — |
| locations | Override the list of locations to run the test from, separated by new lines or commas. | no | — |
| public-ids | Public IDs of Synthetic tests to run, separated by new lines or commas. If no value is provided, tests are discovered in Synthetic test configuration files. | no | — |
| selective-rerun | Whether to only rerun failed tests for a given commit. | no | — |
| subdomain | The custom subdomain to access your Datadog organization. | no | — |
| test-search-query | Use a search query to select which Synthetic tests to run. | no | — |
| tunnel | Use the Continuous Testing tunnel to launch tests against internal environments. | no | false |
| variables | Override existing or inject new local and global variables in Synthetic tests as key-value pairs, separated by new lines or commas. For example: `START_URL=https://example.org,MY_VARIABLE=My title`. | no | — |
Outputs
| name | description |
|---|---|
| batch-url | The URL of the CI batch. |
| critical-errors-count | The number of critical errors that occurred during the CI batch. |
| failed-count | The number of results that failed during the CI batch. |
| failed-non-blocking-count | The number of results that failed during the CI batch without blocking the CI. |
| passed-count | The number of results that passed during the CI batch. |
| previously-passed-count | The number of results that already passed in previous CI batches on the same commit. |
| tests-not-found-count | The number of tests that could not be found when starting the CI batch. |
| tests-skipped-count | The number of tests that were skipped when starting the CI batch. |
| timed-out-count | The number of results that failed due to the CI batch timing out. |
| raw-results | The `synthetics.Result[]` array, as a JSON-encoded string. |