Skip to content
Merged
Show file tree
Hide file tree
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
24 changes: 10 additions & 14 deletions docs/user/reference/cli/azldev_image_test.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion docs/user/reference/config/config-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ All config files share the same schema — there is no distinction between a "ro
| `components` | map of objects | Component (package) definitions | [Components](components.md) |
| `component-groups` | map of objects | Named groups of components with shared defaults | [Component Groups](component-groups.md) |
| `images` | map of objects | Image definitions (VMs, containers) | [Images](images.md) |
| `test-suites` | map of objects | Named test suite definitions referenced by images | [Test Suites](test-suites.md) |
| `tests` | map of objects | Named test definitions (new-shape, parse-only) | [Tests and Test Groups](tests.md) |
| `test-groups` | map of objects | Named bundles of test references (new-shape, parse-only) | [Tests and Test Groups](tests.md) |
| `tools` | object | Configuration for external tools used by azldev | [Tools](tools.md) |
Expand Down
12 changes: 5 additions & 7 deletions docs/user/reference/config/images.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,10 @@ The `capabilities` subtable describes what the image supports. All fields are op

## Image Tests

The `tests` subtable links an image to one or more test suites defined in the top-level [`[test-suites]`](test-suites.md) section, and/or to entries from the new-shape [`[tests]` / `[test-groups]`](tests.md) sections.
The `tests` subtable links an image to one or more tests or test groups defined in the top-level [`[tests]` / `[test-groups]`](tests.md) sections.

| Field | TOML Key | Type | Required | Description |
|-------|----------|------|----------|-------------|
| Test Suites | `test-suites` | array of inline tables | No | List of test suite references. Each entry must have a `name` field matching a key in `[test-suites]`. |
| Tests | `tests` | array of [TestRef](tests.md#test-reference) | No | References to `[tests.<name>]` entries or `[test-groups.<name>]` entries (parse-only; see [Tests and Test Groups](tests.md)). |

## Image Publish
Expand Down Expand Up @@ -90,7 +89,7 @@ description = "Azure-optimized VM image"
definition = { type = "kiwi", path = "vm-azure/vm-azure.kiwi", profile = "azure" }
```

### Image with test suite references
### Image with test references

```toml
[images.vm-base]
Expand All @@ -102,9 +101,9 @@ machine-bootable = true
systemd = true

[images.vm-base.tests]
test-suites = [
{ name = "smoke" },
{ name = "integration" },
tests = [
{ name = "static-image-checks" },
{ group = "vm-base-functional" },
]
```

Expand All @@ -122,6 +121,5 @@ channels = ["registry-prod", "registry-staging"]
## Related Resources

- [Config File Structure](config-file.md) — top-level config file layout
- [Test Suites](test-suites.md) — test suite definitions
- [Tests and Test Groups](tests.md) — new-shape test/group definitions referenced by `[images.<name>.tests]`
- [Tools](tools.md) — Image Customizer tool configuration
171 changes: 0 additions & 171 deletions docs/user/reference/config/test-suites.md

This file was deleted.

Loading
Loading