Skip to content

SDCD-1411: Add explicit mention to '**' pathspec to allow whole repository monitoring #30142

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,23 @@

If the source code patterns for a service are defined in both a link and an extension, only the extension is considered when filtering the commits.

#### Use service file path patterns to track changes across the entire repository
To detect changes across the entire repository, use appropriate file path patterns. For example, `"**"` matches all files.

**Example (schema version v2.2):**

```yaml
extensions:
datadoghq.com/cd-visibility:
source_patterns:
- "**"
```

In this case, Code Changes Detection for deployments of the `shopist` service will consider the Git commits that include changes in the whole repository tree.

Check warning on line 169 in content/en/continuous_delivery/features/code_changes_detection.md

View workflow job for this annotation

GitHub Actions / vale

Datadog.tense

Avoid temporal words like 'will'.

<div class="alert alert-warning">If a pattern is exactly <code>**</code> or begins with it, enclose it in quotes, as <code>*</code> is reserved in YAML for anchors.</div>


## Further Reading

{{< partial name="whats-next/whats-next.html" >}}
Expand Down
Loading