Skip to content

Commit

Permalink
Fail only when new issue comes up
Browse files Browse the repository at this point in the history
Signed-off-by: L. Pivarc <lpivarc@redhat.com>
  • Loading branch information
xpivarc committed Sep 30, 2020
1 parent f01a45b commit abd2a91
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ tools/crd-generator/crd-generator
tools/csv-generator/csv-generator
tools/resource-generator/resource-generator
tools/marketplace/marketplace
tools/gosec/gosec
**/bin
bin/*
.vagrant
Expand Down
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,9 @@ go-build:
hack/dockerized "KUBEVIRT_VERSION=${KUBEVIRT_VERSION} ./hack/build-go.sh install ${WHAT}" && ./hack/build-copy-artifacts.sh ${WHAT}

gosec:
hack/dockerized "GENERATE="true" ./hack/gosec.sh"
hack/dockerized "./hack/gosec.sh"

coverage:
hack/dockerized "./hack/coverage.sh ${WHAT}"

Expand Down
2 changes: 2 additions & 0 deletions hack/gosec.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env bash

source hack/common.sh
export ARTIFACTS=$KUBEVIRT_DIR/${ARTIFACTS:-_out/artifacts}
if ${GENERATE:-"false"} == "true"; then
Expand Down

0 comments on commit abd2a91

Please sign in to comment.