From 370ae8fbec079e4a0ef87f31f283fb5be0c25457 Mon Sep 17 00:00:00 2001 From: Danny Chiao Date: Wed, 2 Feb 2022 13:38:31 -0500 Subject: [PATCH] Update helm chart workflow to push the feast python server as well. Also fixing broken publishing flow and updating versions Signed-off-by: Danny Chiao --- infra/charts/feast-python-server/Chart.yaml | 2 +- infra/charts/feast-python-server/README.md | 2 +- infra/charts/feast/Chart.yaml | 2 +- infra/charts/feast/requirements.yaml | 4 ++-- infra/scripts/helm/push-helm-charts.sh | 8 ++++---- infra/scripts/helm/validate-helm-chart-versions.sh | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/infra/charts/feast-python-server/Chart.yaml b/infra/charts/feast-python-server/Chart.yaml index fc20d180bc..c25b36b5d7 100644 --- a/infra/charts/feast-python-server/Chart.yaml +++ b/infra/charts/feast-python-server/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: feast-python-server description: Feast Feature Server in Python type: application -version: 0.1.0 +version: 0.17.0 keywords: - machine learning - big data diff --git a/infra/charts/feast-python-server/README.md b/infra/charts/feast-python-server/README.md index ff7246848f..b7db844472 100644 --- a/infra/charts/feast-python-server/README.md +++ b/infra/charts/feast-python-server/README.md @@ -1,6 +1,6 @@ # feast-python-server -![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) +![Version: 0.17.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) Feast Feature Server in Python diff --git a/infra/charts/feast/Chart.yaml b/infra/charts/feast/Chart.yaml index 4dd16aa906..88ff323847 100644 --- a/infra/charts/feast/Chart.yaml +++ b/infra/charts/feast/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 description: Feature store for machine learning name: feast -version: 0.101.0 +version: 0.17.0 keywords: - machine learning - big data diff --git a/infra/charts/feast/requirements.yaml b/infra/charts/feast/requirements.yaml index a1ccdde0f3..795c352d1d 100644 --- a/infra/charts/feast/requirements.yaml +++ b/infra/charts/feast/requirements.yaml @@ -1,12 +1,12 @@ dependencies: - name: feature-server alias: feature-server - version: 0.101.0 + version: 0.17.0 condition: feature-server.enabled repository: https://feast-helm-charts.storage.googleapis.com - name: transformation-service alias: transformation-service - version: 0.101.0 + version: 0.17.0 condition: transformation-service.enabled repository: https://feast-helm-charts.storage.googleapis.com - name: redis diff --git a/infra/scripts/helm/push-helm-charts.sh b/infra/scripts/helm/push-helm-charts.sh index 74961b196a..255a3f6932 100755 --- a/infra/scripts/helm/push-helm-charts.sh +++ b/infra/scripts/helm/push-helm-charts.sh @@ -14,9 +14,9 @@ helm plugin install https://github.com/hayorov/helm-gcs.git --version 0.2.2 || helm repo add feast-helm-chart-repo $bucket -mkdir -p feast -cp -R * feast/ || true - +cd infra/charts helm package feast +helm package feast-python-server -helm gcs push --public feast-${1}.tgz feast-helm-chart-repo --force \ No newline at end of file +helm gcs push --public feast-${1}.tgz feast-helm-chart-repo --force +helm gcs push --public feast-python-server${1}.tgz feast-helm-chart-repo --force \ No newline at end of file diff --git a/infra/scripts/helm/validate-helm-chart-versions.sh b/infra/scripts/helm/validate-helm-chart-versions.sh index 8d0b2941f5..6f426a0f55 100755 --- a/infra/scripts/helm/validate-helm-chart-versions.sh +++ b/infra/scripts/helm/validate-helm-chart-versions.sh @@ -3,7 +3,7 @@ set -e # Amount of file locations that need to be bumped in unison when versions increment -UNIQUE_VERSIONS_COUNT=4 +UNIQUE_VERSIONS_COUNT=9 if [ $# -ne 1 ]; then echo "Please provide a single semver version (without a \"v\" prefix) to test the repository against, e.g 0.99.0"