Skip to content

Commit

Permalink
[kube-prometheus-stack] Shellcheck linter file (prometheus-community#…
Browse files Browse the repository at this point in the history
…4073)

* [kube-prometheus-stack] Shellcheck linter file

Signed-off-by: Gabriel Martinez <gabrielmartinez@sisti.pt>

* bump chart

Signed-off-by: Gabriel Martinez <gabrielmartinez@sisti.pt>

---------

Signed-off-by: Gabriel Martinez <gabrielmartinez@sisti.pt>
  • Loading branch information
GMartinez-Sisti authored and Matiasmct committed Mar 20, 2024
1 parent 1fe0c37 commit 512d9a9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/kube-prometheus-stack/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ name: kube-prometheus-stack
sources:
- https://github.com/prometheus-community/helm-charts
- https://github.com/prometheus-operator/kube-prometheus
version: 55.1.0
version: 55.1.1
appVersion: v0.70.0
kubeVersion: ">=1.19.0-0"
home: https://github.com/prometheus-operator/kube-prometheus
Expand Down
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 512d9a9

Please sign in to comment.