commands: implement policy test command

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
This commit is contained in:
Tonis Tiigi
2026-01-14 10:31:12 -08:00
parent 32b6b75478
commit c6ecdc08cf
7 changed files with 1225 additions and 11 deletions
+6 -5
View File
@@ -5,11 +5,12 @@ Run policy tests
### Options
| Name | Type | Default | Description |
|:----------------|:---------|:--------|:-----------------------------------------|
| `--builder` | `string` | | Override the configured builder instance |
| `-D`, `--debug` | `bool` | | Enable debug logging |
| Name | Type | Default | Description |
|:----------------|:---------|:-------------|:---------------------------------------------------|
| `--builder` | `string` | | Override the configured builder instance |
| `-D`, `--debug` | `bool` | | Enable debug logging |
| `--filename` | `string` | `Dockerfile` | Name of the Dockerfile to validate |
| `--run` | `string` | | Run only tests with name containing this substring |
<!---MARKER_GEN_END-->