Skip to content

Commit

Permalink
update_mixins.sh aktualisieren
Browse files Browse the repository at this point in the history
Co-authored-by: Gabriel Martinez <[email protected]>
Signed-off-by: Jan-Otto Kröpke <[email protected]>
  • Loading branch information
jkroepke and GMartinez-Sisti authored Feb 26, 2024
1 parent d842b46 commit 191cad1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions charts/kube-prometheus-stack/hack/update_mixins.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,13 @@ for REPO_PATH in "${SCRIPT_DIR}/tmp/"*; do
sed -i '' -e "s/'ref.$REPO_NAME'.*:.*'.*'/'ref.$REPO_NAME': '$SHA'/" "${SCRIPT_DIR}/sync_prometheus_rules.py"
done

python3 -m venv "${SCRIPT_DIR}/tmp/venv"
export PIP_DISABLE_PIP_VERSION_CHECK=1

python3 -m venv "${SCRIPT_DIR}/tmp/venv"
# shellcheck disable=SC1091
source "${SCRIPT_DIR}/tmp/venv/bin/activate"

pip install -r "${SCRIPT_DIR}/requirements.txt"
pip3 install -r "${SCRIPT_DIR}/requirements.txt"

./sync_grafana_dashboards.py
./sync_prometheus_rules.py

0 comments on commit 191cad1

Please sign in to comment.