1
0
Fork 0
mirror of https://github.com/prometheus-operator/prometheus-operator.git synced 2025-04-21 11:48:53 +00:00

Makefile: Enable bash pipefail

Enable bash pipefail flag for all Makefile operations. This arised when
running `make jsonnet`, where `jsonnet` failed, but the rest of the pipe
covered the error.
This commit is contained in:
Max Leonard Inden 2018-05-28 15:58:42 +02:00
parent 4b62f2d48e
commit aeeb1ab846
No known key found for this signature in database
GPG key ID: 5403C5464810BC26

View file

@ -1,3 +1,4 @@
SHELL=/bin/bash -o pipefail
REPO?=quay.io/coreos/prometheus-operator
TAG?=$(shell git rev-parse --short HEAD)
NAMESPACE?=po-e2e-$(shell LC_ALL=C tr -dc a-z0-9 < /dev/urandom | head -c 13 ; echo '')