Commit 3530a4c
committed
ci/container: add lightweight image smoke tests
Why: a successful Docker build catches syntax and packaging problems,
but it does not verify that the packaged startup/config contracts still
work for the image roles.
Impact: the container build workflow now runs short-lived config
validation smoke tests for the user-facing image family when relevant
container files change.
Before/After: container CI only built the images; it now also exercises
each role with representative environment values and `rsyslogd -N1`.
Technical Overview:
The workflow now records the CI image tag once during the build step and
reuses it for a dedicated smoke-test step.
The smoke runs stay lightweight: they validate the packaged startup path
and config for `minimal`, `standard`, `collector`, `dockerlogs`, and
`etl` without requiring external services.
Images whose startup/config expects environment values receive small
representative settings so the workflow tests realistic role-specific
contracts rather than only the default happy path.
With the help of AI-Agents: Codex1 parent 5e79f93 commit 3530a4c
1 file changed
+40
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
| 54 | + | |
53 | 55 | | |
54 | 56 | | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
55 | 95 | | |
56 | 96 | | |
57 | 97 | | |
| |||
0 commit comments