[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

@ -291,13 +291,7 @@ commit automatically with `git commit -s`.
### Go Format and lint
All code changes must pass ``make validate`` and ``make lint``.
```
podman build -t gate -f contrib/gate/Dockerfile .
```
***N/B:*** **don't miss the dot (.) at the end, it's really important**
All code changes must pass ``make validatepr``.
### Integration Tests