Skip to content

Commit 95be28c

Browse files
authored
ci: Automate UI release using an NPM automation token. Add feature-server helm chart to release (#3015)
* ci: Update feast-feature-server helm chart to be automatically released in each Feast version Signed-off-by: Danny Chiao <danny@tecton.ai> * update files to bump Signed-off-by: Danny Chiao <danny@tecton.ai> * update ui automation Signed-off-by: Danny Chiao <danny@tecton.ai> * update ui automation Signed-off-by: Danny Chiao <danny@tecton.ai>
1 parent 546ffae commit 95be28c

File tree

7 files changed

+34
-27
lines changed

7 files changed

+34
-27
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ jobs:
130130

131131
publish-python-sdk:
132132
runs-on: ubuntu-latest
133-
needs: [build_wheels]
133+
needs: [build_wheels, publish-web-ui-npm]
134134
steps:
135135
- uses: actions/download-artifact@v2
136136
with:
@@ -196,4 +196,5 @@ jobs:
196196
working-directory: ./ui
197197
run: npm publish
198198
env:
199-
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
199+
# This publish is working using an NPM automation token to bypass 2FA
200+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

infra/charts/feast-feature-server/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: feast-feature-server
33
description: Feast Feature Server in Go or Python
44
type: application
5-
version: 0.22.0
5+
version: 0.23.0
66
keywords:
77
- machine learning
88
- big data

infra/charts/feast-feature-server/README.md

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# feast-feature-server
22

3-
![Version: 0.22.0](https://img.shields.io/badge/Version-0.22.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)
3+
![Version: 0.23.0](https://img.shields.io/badge/Version-0.23.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)
44

55
Feast Feature Server in Go or Python
66

@@ -12,28 +12,28 @@ Feast Feature Server in Go or Python
1212

1313
## Values
1414

15-
| Key | Type | Default | Description |
16-
|-----|------|---------|-------------|
17-
| affinity | object | `{}` | |
18-
| fullnameOverride | string | `""` | |
19-
| image.pullPolicy | string | `"IfNotPresent"` | |
20-
| image.repository | string | `""` | |
21-
| image.tag | string | `""` | |
22-
| imagePullSecrets | list | `[]` | |
23-
| livenessProbe.initialDelaySeconds | int | `30` | |
24-
| livenessProbe.periodSeconds | int | `30` | |
25-
| nameOverride | string | `""` | |
26-
| nodeSelector | object | `{}` | |
27-
| podAnnotations | object | `{}` | |
28-
| podSecurityContext | object | `{}` | |
29-
| readinessProbe.initialDelaySeconds | int | `20` | |
30-
| readinessProbe.periodSeconds | int | `10` | |
31-
| replicaCount | int | `1` | |
32-
| resources | object | `{}` | |
33-
| securityContext | object | `{}` | |
34-
| service.port | int | `80` | |
35-
| service.type | string | `"ClusterIP"` | |
36-
| tolerations | list | `[]` | |
15+
| Key | Type | Default | Description |
16+
| ---------------------------------- | ------ | ---------------- | ----------- |
17+
| affinity | object | `{}` | |
18+
| fullnameOverride | string | `""` | |
19+
| image.pullPolicy | string | `"IfNotPresent"` | |
20+
| image.repository | string | `""` | |
21+
| image.tag | string | `""` | |
22+
| imagePullSecrets | list | `[]` | |
23+
| livenessProbe.initialDelaySeconds | int | `30` | |
24+
| livenessProbe.periodSeconds | int | `30` | |
25+
| nameOverride | string | `""` | |
26+
| nodeSelector | object | `{}` | |
27+
| podAnnotations | object | `{}` | |
28+
| podSecurityContext | object | `{}` | |
29+
| readinessProbe.initialDelaySeconds | int | `20` | |
30+
| readinessProbe.periodSeconds | int | `10` | |
31+
| replicaCount | int | `1` | |
32+
| resources | object | `{}` | |
33+
| securityContext | object | `{}` | |
34+
| service.port | int | `80` | |
35+
| service.type | string | `"ClusterIP"` | |
36+
| tolerations | list | `[]` | |
3737

3838
----------------------------------------------
3939
Autogenerated from chart metadata using [helm-docs v1.11.0](https://github.com/norwoodj/helm-docs/releases/v1.11.0)

infra/scripts/helm/push-helm-charts.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ helm repo add feast-helm-chart-repo $bucket
1717
cd infra/charts
1818
helm package feast
1919
helm package feast-python-server
20+
helm package feast-feature-server
2021

2122
helm gcs push --public feast-${1}.tgz feast-helm-chart-repo --force
2223
helm gcs push --public feast-python-server-${1}.tgz feast-helm-chart-repo --force
24+
helm gcs push --public feast-feature-server-${1}.tgz feast-helm-chart-repo --force
2325
rm -f ./*.tgz

infra/scripts/helm/validate-helm-chart-versions.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
set -e
44

55
# Amount of file locations that need to be bumped in unison when versions increment
6-
UNIQUE_VERSIONS_COUNT=18
6+
UNIQUE_VERSIONS_COUNT=20
77

88
if [ $# -ne 1 ]; then
99
echo "Please provide a single semver version (without a \"v\" prefix) to test the repository against, e.g 0.99.0"

infra/scripts/release/files_to_bump.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,7 @@ infra/charts/feast/charts/feature-server/values.yaml 8
99
infra/charts/feast/README.md 11 58 59
1010
infra/charts/feast-python-server/Chart.yaml 5
1111
infra/charts/feast-python-server/README.md 3
12+
infra/charts/feast-feature-server/Chart.yaml 5
13+
infra/charts/feast-feature-server/README.md 3
1214
java/pom.xml 41
15+
ui/package.json 3

ui/.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
//registry.npmjs.org/:_authToken=${NPM_TOKEN}

0 commit comments

Comments
 (0)