Skip to content

Commit

Permalink
update application version when publishing helm chart (#153)
Browse files Browse the repository at this point in the history
* update application version when publishing helm chart

* fix readme

* Update Helm documentation

---------

Co-authored-by: CometActions <github-actions@comet.com>
  • Loading branch information
liyaka and CometActions authored Sep 2, 2024
1 parent d7c4826 commit de54ede
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish_helm_chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
working-directory: src
run: |
cd deployment/helm_chart
helm package --version ${{inputs.version}} opik/ -u -d ../../../dest
helm package --version ${{inputs.version}} --app-version ${{inputs.version}} opik/ -u -d ../../../dest
cd -
echo "Copy updated README"
cp deployment/helm_chart/opik/README.md ../dest/.
Expand Down
4 changes: 2 additions & 2 deletions deployment/helm_chart/opik/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ VERSION=0.1.0
helm upgrade --install opik -n opik --create-namespace opik/opik \
--set component.backend.image.tag=$VERSION --set component.frontend.image.tag=$VERSION \
--set component.backend.env.ANALYTICS_DB_MIGRATIONS_PASS=opik --set component.backend.env.ANALYTICS_DB_PASS=opik \
--set component.backend.env.STATE_DB_PASS=opik
--set component.backend.env.STATE_DB_PASS=opik
```

### Using helm chart from git repository
Expand All @@ -63,7 +63,7 @@ VERSION=0.1.0
helm upgrade --install opik -n opik --create-namespace -f values.yaml \
--set component.backend.image.tag=$VERSION --set component.frontend.image.tag=$VERSION \
--set component.backend.env.ANALYTICS_DB_MIGRATIONS_PASS=opik --set component.backend.env.ANALYTICS_DB_PASS=opik \
--set component.backend.env.STATE_DB_PASS=opik .
--set component.backend.env.STATE_DB_PASS=opik
```

## Open application
Expand Down
2 changes: 1 addition & 1 deletion deployment/helm_chart/opik/README.md.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ VERSION=0.1.0
helm upgrade --install opik -n opik --create-namespace -f values.yaml \
--set component.backend.image.tag=$VERSION --set component.frontend.image.tag=$VERSION \
--set component.backend.env.ANALYTICS_DB_MIGRATIONS_PASS=opik --set component.backend.env.ANALYTICS_DB_PASS=opik \
--set component.backend.env.STATE_DB_PASS=opik .
--set component.backend.env.STATE_DB_PASS=opik
```

## Open application
Expand Down

0 comments on commit de54ede

Please sign in to comment.