Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cd: update chromadb instance image version #62

Merged
merged 1 commit into from
Dec 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/deploy-app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
id: create-pr
uses: peter-evans/create-pull-request@v7
with:
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.CHARLIE_XIAO_PAT }}
labels: app, ci/cd
title: "cd: Update Docker tag for app"
commit-message: "cd: Update Docker tag for app"
Expand All @@ -54,5 +54,5 @@ jobs:
- name: Enable auto-merge
run: gh pr merge --squash --auto "$PR_NUMBER"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.CHARLIE_XIAO_PAT }}
PR_NUMBER: ${{ steps.create-pr.outputs.pull-request-number }}
2 changes: 1 addition & 1 deletion deploy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ The deployment uses Terraform, as suggested in [ChromaDB docs](https://docs.tryc
./destroy-chromadb.sh # Destroy ChromaDB instance
```

Both commands are not automated and need to be run manually when necessary.
Both commands are not automated and need to be run manually when necessary. After a new deployment, one must update the `CHROMADB_HOST` environment variable in the "Create backend deployment" step in `app/deploy-k8s.yaml` and trigger the app deployment workflow.
2 changes: 1 addition & 1 deletion deploy/app/deploy-k8s.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@
- name: GOOGLE_APPLICATION_CREDENTIALS
value: /secrets/veritas-trial-service.json
- name: CHROMADB_HOST
value: 35.188.136.220
value: 35.226.13.117
- name: SERVER_ROOT_PATH
value: /api

Expand Down
2 changes: 1 addition & 1 deletion deploy/chromadb/chroma.tfvars
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
chroma_version = "0.5.20"
chroma_version = "0.5.23"
project_id="veritastrial"
region="us-central1"
zone="us-central1-a"
Expand Down
1 change: 0 additions & 1 deletion deploy/deploy-chromadb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,3 @@ terraform import \
veritastrial/chroma-allow-ssh-http || true

terraform apply -var-file chroma.tfvars
terraform output -raw chroma_instance_ip
Loading