mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-22 01:13:00 +02:00
32 lines
1.1 KiB
Plaintext
32 lines
1.1 KiB
Plaintext
=== Container Environment Variables
|
|
|
|
ifdef::topdoc[:imagesdir: {topdoc}../../test/case/containers/environment]
|
|
|
|
==== Description
|
|
|
|
Verify that environment variables can be set in container configuration
|
|
and are available inside the running container. Also verify that
|
|
changing an environment variable triggers a container restart.
|
|
|
|
1 Set up a container config with multiple environment variables
|
|
2. Serve variables back to host using a CGI script in container
|
|
3. Verify served content against environment variables
|
|
4. Change an environment variable and verify the container restarts
|
|
|
|
==== Topology
|
|
|
|
image::topology.svg[Container Environment Variables topology, align=center, scaledwidth=75%]
|
|
|
|
==== Sequence
|
|
|
|
. Set up topology and attach to target DUT
|
|
. Configure data interface with static IPv4
|
|
. Set up container with environment variables
|
|
. Verify container has started
|
|
. Verify basic connectivity to data interface
|
|
. Verify environment variables in CGI response
|
|
. Change environment variable and verify container restarts
|
|
. Verify container has restarted with updated env
|
|
|
|
|