Skip to content

Commit

Permalink
fix: omit CI for lib chart
Browse files Browse the repository at this point in the history
  • Loading branch information
Demonsthere committed Jun 11, 2024
1 parent e2798e0 commit 6eae381
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
5 changes: 5 additions & 0 deletions hacks/helm-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ cd "$( dirname "${BASH_SOURCE[0]}" )/.."

export release=$(echo "$1-$(date +%s)" | cut -c 1-31)

if [[ "$1" == "ory-commons" ]]; then
echo "---> Library chart, exitting"
exit 0
fi

helm dep update "./helm/charts/$1"

echo "---> Installing $1"
Expand Down
5 changes: 5 additions & 0 deletions hacks/helm-upgrade.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ cd "$( dirname "${BASH_SOURCE[0]}" )/.."

export release=$(echo "$1-$(date +%s)" | cut -c 1-31)

if [[ "$1" == "ory-commons" ]]; then
echo "---> Library chart, exitting"
exit 0
fi

echo "---> Installing $1 from v${BASE_RELEASE}"

set +e
Expand Down
5 changes: 5 additions & 0 deletions hacks/helm-validate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,9 @@ cd "$( dirname "${BASH_SOURCE[0]}" )/.."
schema_url="https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/"
k8s_version="1.27.2"

if [[ "$1" == "ory-commons" ]]; then
echo "---> Library chart, exitting"
exit 0
fi

helm kubeconform "./helm/charts/${1}" --strict --schema-location "${schema_url}" --schema-location ./hacks/servicemonitor_v1.json -f "hacks/values/${1}.yaml" --kubernetes-version "${k8s_version}" --summary --verbose

0 comments on commit 6eae381

Please sign in to comment.