From 512d9a9ff917eeb9b76d743380263270954ee49c Mon Sep 17 00:00:00 2001 From: Gabriel Martinez <19713226+GMartinez-Sisti@users.noreply.github.com> Date: Mon, 11 Dec 2023 11:12:20 +0000 Subject: [PATCH] [kube-prometheus-stack] Shellcheck linter file (#4073) * [kube-prometheus-stack] Shellcheck linter file Signed-off-by: Gabriel Martinez * bump chart Signed-off-by: Gabriel Martinez --------- Signed-off-by: Gabriel Martinez --- charts/kube-prometheus-stack/Chart.yaml | 2 +- charts/kube-prometheus-stack/ci/lint.sh | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/charts/kube-prometheus-stack/Chart.yaml b/charts/kube-prometheus-stack/Chart.yaml index f15d4b548125..36c687a774dc 100644 --- a/charts/kube-prometheus-stack/Chart.yaml +++ b/charts/kube-prometheus-stack/Chart.yaml @@ -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 diff --git a/charts/kube-prometheus-stack/ci/lint.sh b/charts/kube-prometheus-stack/ci/lint.sh index ab6137cc1eef..7be9cb93dafc 100644 --- a/charts/kube-prometheus-stack/ci/lint.sh +++ b/charts/kube-prometheus-stack/ci/lint.sh @@ -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}/../" @@ -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