Package loops Kubernetes deployment
This commit is contained in:
Executable
+8
@@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
# Loops has no upstream SemVer release. Its source commit is the Git tag.
|
||||
description=$(git describe --tags --long --match 'f[0-9a-f]*' --dirty)
|
||||
case "$description" in *-dirty) echo 'Refusing dirty tree' >&2; exit 1 ;; esac
|
||||
version=0.0.0-$description
|
||||
case "$version" in *-0-g*) version=${version%%-0-g*} ;; esac
|
||||
printf '%s\n' "$version"
|
||||
Executable
+6
@@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
repo_dir=$(CDPATH= cd -- "$(dirname -- "$0")/.." && pwd)
|
||||
helm lint "$repo_dir/chart"
|
||||
helm template loops "$repo_dir/chart" --namespace loops >/dev/null
|
||||
helm template loops "$repo_dir/chart" --namespace loops --set ingress.enabled=true >/dev/null
|
||||
Reference in New Issue
Block a user