just: Fix justfile command silencing (#9900)

`@-` suppresses logging and ignores the command's exit code. We only want to
use `@` so that logging is suppressed but exit codes are fatal.
This commit is contained in:
Oliver Gould 2022-11-28 09:12:47 -08:00 committed by GitHub
parent 84193e2619
commit 073b630923
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -147,7 +147,7 @@ policy-test-build:
# Delete all test namespaces and remove linkerd from the cluster.
policy-test-cleanup:
{{ _kubectl }} delete ns --selector='linkerd-policy-test'
@-while [ $({{ _kubectl }} get ns --selector='linkerd-policy-test' -o json |jq '.items | length') != "0" ]; do sleep 1 ; done
@while [ $({{ _kubectl }} get ns --selector='linkerd-policy-test' -o json |jq '.items | length') != "0" ]; do sleep 1 ; done
policy-test-deps-pull:
docker pull -q docker.io/bitnami/kubectl:latest
@ -489,7 +489,7 @@ mc-target-k3d-delete:
_mc-load: _k3d-init linkerd-load linkerd-viz-load
_mc-target-load:
@-{{ just_executable() }} \
@{{ just_executable() }} \
k3d-name='{{ k3d-name }}-target' \
k3d-k8s='{{ k3d-k8s }}' \
k3d-agents='{{ k3d-agents }}' \
@ -560,10 +560,10 @@ sh-lint:
# Display the git history minus Dependabot updates
history *paths='.':
@-git log --oneline --graph --invert-grep --author="dependabot" -- {{ paths }}
@git log --oneline --graph --invert-grep --author="dependabot" -- {{ paths }}
# Display the history of Dependabot changes
history-dependabot *paths='.':
@-git log --oneline --graph --author="dependabot" -- {{ paths }}
@git log --oneline --graph --author="dependabot" -- {{ paths }}
# vim: set ft=make :