Skip to content

Commit

Permalink
Update dashboard validation for Manifest V2 (#10398)
Browse files Browse the repository at this point in the history
* Update dashboard validation for Manifest V2

* Handle embedded widget objects in dashboards d46143f
  • Loading branch information
mgarabed committed Oct 12, 2021
1 parent 2bcc062 commit adb7e77
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ddev/cli/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@
</code></pre></div> <p><strong>Options:</strong></p> <table> <thead> <tr> <th>Name</th> <th>Type</th> <th>Description</th> <th>Default</th> </tr> </thead> <tbody> <tr> <td><code>--fix</code></td> <td>boolean</td> <td>Attempt to fix errors</td> <td><code>False</code></td> </tr> <tr> <td><code>--help</code></td> <td>boolean</td> <td>Show this message and exit.</td> <td><code>False</code></td> </tr> </tbody> </table> <h3 id=ddev-validate-codeowners>ddev validate codeowners<a class=headerlink href=#ddev-validate-codeowners title="Permanent link">&para;</a></h3> <p>Validate that every integration has an entry in the <code>CODEOWNERS</code> file.</p> <p><strong>Usage:</strong></p> <div class=highlight><pre><span></span><code>ddev validate codeowners [OPTIONS]
</code></pre></div> <p><strong>Options:</strong></p> <table> <thead> <tr> <th>Name</th> <th>Type</th> <th>Description</th> <th>Default</th> </tr> </thead> <tbody> <tr> <td><code>--help</code></td> <td>boolean</td> <td>Show this message and exit.</td> <td><code>False</code></td> </tr> </tbody> </table> <h3 id=ddev-validate-config>ddev validate config<a class=headerlink href=#ddev-validate-config title="Permanent link">&para;</a></h3> <p>Validate default configuration files.</p> <p>If <code>check</code> is specified, only the check will be validated, if check value is 'changed' will only apply to changed checks, an 'all' or empty <code>check</code> value will validate all README files.</p> <p><strong>Usage:</strong></p> <div class=highlight><pre><span></span><code>ddev validate config [OPTIONS] [CHECK]
</code></pre></div> <p><strong>Options:</strong></p> <table> <thead> <tr> <th>Name</th> <th>Type</th> <th>Description</th> <th>Default</th> </tr> </thead> <tbody> <tr> <td><code>--sync</code>, <code>-s</code></td> <td>boolean</td> <td>Generate example configuration files based on specifications</td> <td><code>False</code></td> </tr> <tr> <td><code>--verbose</code>, <code>-v</code></td> <td>boolean</td> <td>Verbose mode</td> <td><code>False</code></td> </tr> <tr> <td><code>--help</code></td> <td>boolean</td> <td>Show this message and exit.</td> <td><code>False</code></td> </tr> </tbody> </table> <h3 id=ddev-validate-dashboards>ddev validate dashboards<a class=headerlink href=#ddev-validate-dashboards title="Permanent link">&para;</a></h3> <p>Validate all Dashboard definition files.</p> <p>If <code>check</code> is specified, only the check will be validated, if check value is 'changed' will only apply to changed checks, an 'all' or empty <code>check</code> value will validate all README files.</p> <p><strong>Usage:</strong></p> <div class=highlight><pre><span></span><code>ddev validate dashboards [OPTIONS] [CHECK]
</code></pre></div> <p><strong>Options:</strong></p> <table> <thead> <tr> <th>Name</th> <th>Type</th> <th>Description</th> <th>Default</th> </tr> </thead> <tbody> <tr> <td><code>--help</code></td> <td>boolean</td> <td>Show this message and exit.</td> <td><code>False</code></td> </tr> </tbody> </table> <h3 id=ddev-validate-dep>ddev validate dep<a class=headerlink href=#ddev-validate-dep title="Permanent link">&para;</a></h3> <p>This command will:</p> <ul> <li>Verify the uniqueness of dependency versions across all checks, or optionally a single check</li> <li>Verify all the dependencies are pinned.</li> <li>Verify the embedded Python environment defined in the base check and requirements listed in every integration are compatible.</li> <li>Verify each check specifies a <code>CHECKS_BASE_REQ</code> variable for <code>datadog-checks-base</code> requirement</li> <li>Optionally verify that the <code>datadog-checks-base</code> requirement is lower-bounded</li> <li>Optionally verify that the <code>datadog-checks-base</code> requirement satisfies specific version</li> </ul> <p><strong>Usage:</strong></p> <div class=highlight><pre><span></span><code>ddev validate dep [OPTIONS] [CHECK]
</code></pre></div> <p><strong>Options:</strong></p> <table> <thead> <tr> <th>Name</th> <th>Type</th> <th>Description</th> <th>Default</th> </tr> </thead> <tbody> <tr> <td><code>--fix</code></td> <td>boolean</td> <td>Attempt to fix errors</td> <td><code>False</code></td> </tr> <tr> <td><code>--help</code></td> <td>boolean</td> <td>Show this message and exit.</td> <td><code>False</code></td> </tr> </tbody> </table> <h3 id=ddev-validate-dep>ddev validate dep<a class=headerlink href=#ddev-validate-dep title="Permanent link">&para;</a></h3> <p>This command will:</p> <ul> <li>Verify the uniqueness of dependency versions across all checks, or optionally a single check</li> <li>Verify all the dependencies are pinned.</li> <li>Verify the embedded Python environment defined in the base check and requirements listed in every integration are compatible.</li> <li>Verify each check specifies a <code>CHECKS_BASE_REQ</code> variable for <code>datadog-checks-base</code> requirement</li> <li>Optionally verify that the <code>datadog-checks-base</code> requirement is lower-bounded</li> <li>Optionally verify that the <code>datadog-checks-base</code> requirement satisfies specific version</li> </ul> <p><strong>Usage:</strong></p> <div class=highlight><pre><span></span><code>ddev validate dep [OPTIONS] [CHECK]
</code></pre></div> <p><strong>Options:</strong></p> <table> <thead> <tr> <th>Name</th> <th>Type</th> <th>Description</th> <th>Default</th> </tr> </thead> <tbody> <tr> <td><code>--require-base-check-version</code></td> <td>boolean</td> <td>Require specific version for datadog-checks-base requirement</td> <td><code>False</code></td> </tr> <tr> <td><code>--min-base-check-version</code></td> <td>text</td> <td>Specify minimum version for datadog-checks-base requirement, e.g. <code>11.0.0</code></td> <td><em>required</em></td> </tr> <tr> <td><code>--help</code></td> <td>boolean</td> <td>Show this message and exit.</td> <td><code>False</code></td> </tr> </tbody> </table> <h3 id=ddev-validate-eula>ddev validate eula<a class=headerlink href=#ddev-validate-eula title="Permanent link">&para;</a></h3> <p>Validate all EULA definition files.</p> <p>If <code>check</code> is specified, only the check will be validated, if check value is 'changed' will only apply to changed checks, an 'all' or empty <code>check</code> value will validate all README files.</p> <p><strong>Usage:</strong></p> <div class=highlight><pre><span></span><code>ddev validate eula [OPTIONS] [CHECK]
</code></pre></div> <p><strong>Options:</strong></p> <table> <thead> <tr> <th>Name</th> <th>Type</th> <th>Description</th> <th>Default</th> </tr> </thead> <tbody> <tr> <td><code>--help</code></td> <td>boolean</td> <td>Show this message and exit.</td> <td><code>False</code></td> </tr> </tbody> </table> <h3 id=ddev-validate-http>ddev validate http<a class=headerlink href=#ddev-validate-http title="Permanent link">&para;</a></h3> <p>Validate all integrations for usage of http wrapper.</p> <p><strong>Usage:</strong></p> <div class=highlight><pre><span></span><code>ddev validate http [OPTIONS] [CHECK]
</code></pre></div> <p><strong>Options:</strong></p> <table> <thead> <tr> <th>Name</th> <th>Type</th> <th>Description</th> <th>Default</th> </tr> </thead> <tbody> <tr> <td><code>--help</code></td> <td>boolean</td> <td>Show this message and exit.</td> <td><code>False</code></td> </tr> </tbody> </table> <h3 id=ddev-validate-imports>ddev validate imports<a class=headerlink href=#ddev-validate-imports title="Permanent link">&para;</a></h3> <p>Validate proper imports in checks.</p> <p>If <code>check</code> is specified, only the check will be validated, if check value is 'changed' will only apply to changed checks, an 'all' or empty <code>check</code> value will validate all README files.</p> <p><strong>Usage:</strong></p> <div class=highlight><pre><span></span><code>ddev validate imports [OPTIONS] [CHECK]
Expand Down
2 changes: 1 addition & 1 deletion search/search_index.json

Large diffs are not rendered by default.

0 comments on commit adb7e77

Please sign in to comment.