podman-compose/tests/integration/build_fail
Povilas Kanapickas 18472b53ac Move all tests to single directory "tests"
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
2024-06-26 11:28:16 +03:00
..
context Move all tests to single directory "tests" 2024-06-26 11:28:16 +03:00
docker-compose.yml Move all tests to single directory "tests" 2024-06-26 11:28:16 +03:00
README.md Move all tests to single directory "tests" 2024-06-26 11:28:16 +03:00

Test podman-compose with build (fail scenario)

podman-compose build || echo $?

expected output would be something like

STEP 1/3: FROM busybox
STEP 2/3: RUN this_command_does_not_exist
/bin/sh: this_command_does_not_exist: not found
Error: building at STEP "RUN this_command_does_not_exist": while running runtime: exit status 127

exit code: 127

Expected podman-compose exit code:

echo $?
127