mirror of
https://github.com/containers/podman.git
synced 2025-12-08 06:39:05 +08:00
add compose test descriptions
adding compose test descriptions and validations. Signed-off-by: baude <bbaude@redhat.com>
This commit is contained in:
9
test/compose/port_map_diff_port/README.md
Normal file
9
test/compose/port_map_diff_port/README.md
Normal file
@@ -0,0 +1,9 @@
|
||||
port map on different port
|
||||
===============
|
||||
|
||||
This test creates a container that runs flask on different ports for the container
|
||||
and the host
|
||||
|
||||
Validation
|
||||
------------
|
||||
* curl http://localhost:5001 and verify message
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM podman_python
|
||||
FROM quay.io/libpod/podman_python
|
||||
WORKDIR /app
|
||||
COPY . /app
|
||||
ENTRYPOINT ["python3"]
|
||||
|
||||
3
test/compose/port_map_diff_port/tests.sh
Normal file
3
test/compose/port_map_diff_port/tests.sh
Normal file
@@ -0,0 +1,3 @@
|
||||
# -*- bash -*-
|
||||
|
||||
test_port 5001 = "Podman rulez!"
|
||||
Reference in New Issue
Block a user