[CI:DOCS] Improvements to make validatepr

Small usability improvements for our containerized validate target.

- Responds to SIGINT
- Exits if build fails, only validate if builds succeed
- Warns about potential of insufficient memory
- Document `make validatepr`

Signed-off-by: Ashley Cui <acui@redhat.com>
This commit is contained in:
Ashley Cui
2024-05-09 00:16:45 -04:00
parent 4a11f1eeb4
commit 279e2d0cb2
3 changed files with 41 additions and 18 deletions

View File

@ -324,6 +324,7 @@ validatepr:
$(PODMANCMD) run --rm \
-v $(CURDIR):/go/src/github.com/containers/podman \
--security-opt label=disable \
-it \
-w /go/src/github.com/containers/podman \
quay.io/libpod/validatepr:latest \
make .validatepr