diff --git a/generate_readme.sh b/generate_readme.sh index bde0227..985bdf0 100755 --- a/generate_readme.sh +++ b/generate_readme.sh @@ -3,31 +3,10 @@ set -e cat << EOF -This repository holds helm templates for the following Cilium releases: +This repository holds helm templates for the following oteldb releases: EOF -for version in $(find -- * -name 'cilium-*.tgz' ! -name "*dev*" | cut -d - -f 2- | cut -d . -f -3 | sed '/-/!{s/$/_/}' | sort -Vr | sed 's/_$//'); do - echo "* [v$version](https://github.com/go-faster/cilium/releases/tag/v$version) (_[source](https://github.com/go-faster/cilium/tree/v$version/install/kubernetes/cilium)_)" +for version in $(find -- * -name 'oteldb-*.tgz' ! -name "*dev*" | cut -d - -f 2- | cut -d . -f -3 | sed '/-/!{s/$/_/}' | sort -Vr | sed 's/_$//'); do + echo "* [v$version](https://github.com/go-faster/oteldb/releases/tag/v$version) (_[source](https://github.com/go-faster/oteldb/tree/v$version/install/kubernetes/oteldb)_)" done - -cat << EOF - -This repository holds helm templates for the following Tetragon releases: - -EOF - -for version in $(find -- * -name 'tetragon-*.tgz' ! -name "*dev*" | cut -d - -f 2- | cut -d . -f -3 | sed '/-/!{s/$/_/}' | sort -Vr | sed 's/_$//'); do - echo "* [v$version](https://github.com/go-faster/tetragon/releases/tag/v$version) (_[source](https://github.com/go-faster/tetragon/tree/v$version/install/kubernetes)_)" -done - -cat << EOF - -The following Cilium development releases pull the latest backports for the corresponding branch: - -EOF - -for version in $(find -- * -name 'cilium-*-dev.tgz' | cut -d - -f 2 | sort -Vr ); do - echo "* [v$version-dev](https://github.com/go-faster/cilium/tree/v$version) (_[source](https://github.com/go-faster/cilium/tree/v$version/install/kubernetes/cilium)_)" -done - diff --git a/prepare_artifacts.sh b/prepare_artifacts.sh index e16a1d5..f093da8 100755 --- a/prepare_artifacts.sh +++ b/prepare_artifacts.sh @@ -2,7 +2,7 @@ CWD=$(dirname $(readlink -ne $BASH_SOURCE)) -set -e +set -ex OTELDB_DIR=$1 if [ $# -lt 1 ] || [ ! -d "$OTELDB_DIR" ]; then @@ -18,7 +18,7 @@ fi CHART_PATH="$OTELDB_DIR/helm/oteldb/Chart.yaml" VERSION="$(awk '/version:/ { print $2; exit; } ' "$CHART_PATH")" -cd "$OTELDB_DIR/helm/oteldb" +cd "$OTELDB_DIR/helm" helm package --destination "$CWD" oteldb cd - helm repo index . --merge index.yaml