Skip to content

Commit

Permalink
shellcheck ./charts/kube-prometheus-stack/ci/lint.sh
Browse files Browse the repository at this point in the history
Signed-off-by: Gabriel Martinez <gabrielmartinez@sisti.pt>
  • Loading branch information
GMartinez-Sisti committed Dec 8, 2023
1 parent 92e56de commit 3885928
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions charts/kube-prometheus-stack/ci/lint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -euo pipefail

SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
SCRIPT_DIR=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)

cd "${SCRIPT_DIR}/../"

Expand All @@ -13,11 +13,13 @@ if ! git diff --exit-code; then
fi

python3 -m venv venv
# shellcheck disable=SC1091
source venv/bin/activate
pip3 install -r hack/requirements.txt

go install -a github.com/jsonnet-bundler/jsonnet-bundler/cmd/jb@latest
export PATH="$(go env GOPATH)/bin:$PATH"
PATH="$(go env GOPATH)/bin:$PATH"
export PATH

./hack/sync_prometheus_rules.py
if ! git diff --exit-code; then
Expand Down

0 comments on commit 3885928

Please sign in to comment.