Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.

Commit

Permalink
*: simplify shellchecking
Browse files Browse the repository at this point in the history
Signed-off-by: Paweł Krupa (paulfantom) <[email protected]>
  • Loading branch information
paulfantom committed Dec 7, 2022
1 parent f5053dd commit 6fc529d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 27 deletions.
9 changes: 3 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,10 @@ clean:
$(TMP_DIR):
mkdir -p $(TMP_DIR)

.PHONY: extract-scripts
extract-scripts: $(TMP_DIR) ## Extract shell scripts from helm templates
./scripts/extract-scripts.sh

.PHONY: shellcheck
shellcheck: extract-scripts
for f in $$(find scripts/ -name "*.sh" -type f) $$(find $(TMP_DIR)/ -name "*.sh" -type f); do \
shellcheck:
for f in $$(find charts/ -name "*.sh" -type f); do \
echo Checking $$f; \
shellcheck $$f --exclude=SC1090,SC1091,SC2148 ;\
done

Expand Down
2 changes: 1 addition & 1 deletion charts/timescaledb-single/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
apiVersion: v1
name: timescaledb-single
description: 'TimescaleDB HA Deployment.'
version: 0.26.6
version: 0.26.7
# appVersion specifies the version of the software, which can vary wildly,
# e.g. TimescaleDB 1.4.1 on PostgreSQL 11 or TimescaleDB 1.5.0 on PostgreSQL 12.
# https://github.com/helm/helm/blob/master/docs/charts.md#the-appversion-field
Expand Down
20 changes: 0 additions & 20 deletions scripts/extract-scripts.sh

This file was deleted.

0 comments on commit 6fc529d

Please sign in to comment.