-
Notifications
You must be signed in to change notification settings - Fork 3k
podman-remote: build: does not handle errors #7137
Copy link
Copy link
Closed
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.locked - please file new issue/PRAssist humans wanting to comment on an old issue or PR with locked comments.Assist humans wanting to comment on an old issue or PR with locked comments.remoteProblem is in podman-remoteProblem is in podman-remote
Description
podman-remote build, if there are errors, will happily exit 0 and with no output.
In window 1:
$ ./bin/podman system service --timeout=0In window 2:
$ printf "FROM alpine\nRUN false\n" > Containerfile
$ ./bin/podman-remote build -t foo -f Containerfile .
$ echo $?
0Expected:
$ ./bin/podman build -t foo -f Containerfile .
STEP 1: FROM alpine
STEP 2: RUN false
Error: error building at STEP "RUN false": error while running runtime: exit status 1
$ echo $?
125(bonus: there is no output in the system server window, either)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.locked - please file new issue/PRAssist humans wanting to comment on an old issue or PR with locked comments.Assist humans wanting to comment on an old issue or PR with locked comments.remoteProblem is in podman-remoteProblem is in podman-remote