Skip to content

Commit

Permalink
[ENH] Helm CD to hosted (#1840)
Browse files Browse the repository at this point in the history
## Description of changes

*Summarize the changes made by this PR.*
- Changes to OSS k8s will trigger hosted-chroma to update its k8s to
stay in sync.

## Test plan
*How are these changes tested?*

- [ ] Tests pass locally with `pytest` for python, `yarn test` for js,
`cargo test` for rust

## Documentation Changes
*Are all docstrings for user-facing APIs updated if required? Do we need
to make documentation changes in the [docs
repository](https://github.com/chroma-core/docs)?*
  • Loading branch information
beggers authored Mar 7, 2024
1 parent f7fff9a commit 5f1263b
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/release-helm-chart.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# TODO Once distributed chroma is operational, update this to update the
# OSS helm chart we'll host. For now, just kick off the job which updates
# hosted-chroma's version.

name: Release Helm Chart

on:
push:
branches:
- main
paths:
- 'k8s/**'
workflow_dispatch:

jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Trigger Hosted Chroma Coordinator Release
uses: actions/github-script@v6
with:
github-token: ${{ secrets.HOSTED_CHROMA_WORKFLOW_DISPATCH_TOKEN }}
script: |
const result = await github.rest.actions.createWorkflowDispatch({
owner: 'chroma-core',
repo: 'hosted-chroma',
workflow_id: 'copy-oss-helm.yaml',
ref: 'main'
})
console.log(result)

0 comments on commit 5f1263b

Please sign in to comment.