Skip to content

Commit

Permalink
Handle pipeline failures in Makefile steps (#809)
Browse files Browse the repository at this point in the history
By changed the shell to `bash` with enabled pipeline failure handling, we can catch errors that can occur in steps of the pipeline. E.g., a panic while running `go test`.
  • Loading branch information
Jan Schlicht authored and kensipe committed Sep 12, 2019
1 parent 239e2a4 commit 50a6626
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

SHELL=/bin/bash -o pipefail
# Image URL to use all building/pushing image targets
DOCKER_TAG ?= $(shell git rev-parse HEAD)
DOCKER_IMG ?= kudobuilder/controller
Expand Down

0 comments on commit 50a6626

Please sign in to comment.