mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-30 20:43:02 +02:00
This commit greatly simplifies AsciiDoc image references in generated Readme.adoc files. The two focused use-cases that remain after this change are working references in: - Generated output/images/test-report.pdf - Viewing test's Readme.adoc from GitHub Previously we aimed to have working images also when the test's Readme was included in the parent directory's Readme.adoc. This, however, is not supported as of this commit. It seems unlikely also to ever be a supported feature of AsciiDoc on GitHub, for details, see the following issue: <https://github.com/github/markup/issues/1095> Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
26 lines
883 B
Plaintext
26 lines
883 B
Plaintext
ifdef::topdoc[:imagesdir: {topdoc}../../test/case/infix_containers/container_basic]
|
|
|
|
=== Container basic
|
|
==== Description
|
|
Verify that a simple web server container can be configured to run
|
|
with host networking, on port 80. Operation is verified using a
|
|
simple GET request for index.html and checking for a key phrase.
|
|
|
|
The RPC actions: stop + start, and restart are also verified.
|
|
|
|
==== Topology
|
|
image::topology.svg[Container basic topology, align=center, scaledwidth=75%]
|
|
|
|
==== Sequence
|
|
. Set up topology and attach to target DUT
|
|
. Set hostname to 'container-host'
|
|
. Create container 'web' from bundled OCI image
|
|
. Verify container 'web' has started
|
|
. Verify container 'web' is reachable on http://container-host.local:91
|
|
. Stop container 'web'
|
|
. Verify container 'web' is stopped
|
|
. Restart container 'web'
|
|
. Verify container 'web' is reachable on http://container-host.local:91
|
|
|
|
|