habitat-sh / habitat-operator

A Kubernetes operator for Habitat services
Apache License 2.0
61 stars 17 forks source link

makefile: Ignore errors on clean test #323

Closed surajssd closed 6 years ago

surajssd commented 6 years ago

Makefile can ignore commands if failed. clean-test target deletes the namespaces. But if the namespace does not exist then kubectl command fails and so does the clean process.

This commit ignores the error returned by kubectl. And continues with the rest of the commands.

surajssd commented 6 years ago

cc: @indradhanush

surajssd commented 6 years ago

@indradhanush done.

indradhanush commented 6 years ago

Merged on the command line.