Skip to content

Commit

Permalink
chore: bump 0.9 (#206)
Browse files Browse the repository at this point in the history
  • Loading branch information
langchain-infra authored Jan 22, 2025
1 parent 65cfe08 commit 20d8d49
Show file tree
Hide file tree
Showing 6 changed files with 76 additions and 31 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/test_docker_compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: "CI: Test Docker Compose"

on:
push:
branches: [ main ]
paths:
pull_request:
branches: [ main ]
paths:
- ".github/workflows/test_docker_compose.yml"
- "charts/langsmith/docker-compose/docker-compose.yaml"


concurrency:
group: "test-docker-compose"
cancel-in-progress: true

jobs:

docker-compose:
timeout-minutes: 10
runs-on: ubuntu-latest

env:
LANGSMITH_LICENSE_KEY: ${{ secrets.LANGSMITH_LICENSE_KEY }}
API_KEY_SALT: test

steps:
- name: Checkout
uses: actions/checkout@v1

- uses: KengoTODA/actions-setup-docker-compose@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Start containers
working-directory: charts/langsmith/docker-compose
run: docker compose up -d

- name: sleep 30 seconds
run: sleep 30

- name: Check backend health
run: curl localhost:1980/api/info

4 changes: 2 additions & 2 deletions charts/langsmith/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ maintainers:
email: [email protected]
description: Helm chart to deploy the langsmith application and all services it depends on.
type: application
version: 0.8.28
appVersion: "0.8.92"
version: 0.9.0
appVersion: "0.9.3"
16 changes: 8 additions & 8 deletions charts/langsmith/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# langsmith

![Version: 0.8.28](https://img.shields.io/badge/Version-0.8.28-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.8.92](https://img.shields.io/badge/AppVersion-0.8.92-informational?style=flat-square)
![Version: 0.9.0](https://img.shields.io/badge/Version-0.9.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.9.3](https://img.shields.io/badge/AppVersion-0.9.3-informational?style=flat-square)

Helm chart to deploy the langsmith application and all services it depends on.

Expand Down Expand Up @@ -152,23 +152,23 @@ For information on how to use this chart, up-to-date release notes, and other gu
| fullnameOverride | string | `""` | String to fully override `"langsmith.fullname"` |
| images.aceBackendImage.pullPolicy | string | `"IfNotPresent"` | |
| images.aceBackendImage.repository | string | `"docker.io/langchain/langsmith-ace-backend"` | |
| images.aceBackendImage.tag | string | `"0.8.92"` | |
| images.aceBackendImage.tag | string | `"0.9.3"` | |
| images.backendImage.pullPolicy | string | `"IfNotPresent"` | |
| images.backendImage.repository | string | `"docker.io/langchain/langsmith-backend"` | |
| images.backendImage.tag | string | `"0.8.92"` | |
| images.backendImage.tag | string | `"0.9.3"` | |
| images.clickhouseImage.pullPolicy | string | `"Always"` | |
| images.clickhouseImage.repository | string | `"docker.io/clickhouse/clickhouse-server"` | |
| images.clickhouseImage.tag | string | `"24.5"` | |
| images.clickhouseImage.tag | string | `"24.8"` | |
| images.frontendImage.pullPolicy | string | `"IfNotPresent"` | |
| images.frontendImage.repository | string | `"docker.io/langchain/langsmith-frontend"` | |
| images.frontendImage.tag | string | `"0.8.92"` | |
| images.frontendImage.tag | string | `"0.9.3"` | |
| images.imagePullSecrets | list | `[]` | Secrets with credentials to pull images from a private registry. Specified as name: value. |
| images.platformBackendImage.pullPolicy | string | `"IfNotPresent"` | |
| images.platformBackendImage.repository | string | `"docker.io/langchain/langsmith-go-backend"` | |
| images.platformBackendImage.tag | string | `"0.8.92"` | |
| images.platformBackendImage.tag | string | `"0.9.3"` | |
| images.playgroundImage.pullPolicy | string | `"IfNotPresent"` | |
| images.playgroundImage.repository | string | `"docker.io/langchain/langsmith-playground"` | |
| images.playgroundImage.tag | string | `"0.8.92"` | |
| images.playgroundImage.tag | string | `"0.9.3"` | |
| images.postgresImage.pullPolicy | string | `"IfNotPresent"` | |
| images.postgresImage.repository | string | `"docker.io/postgres"` | |
| images.postgresImage.tag | string | `"14.7"` | |
Expand Down Expand Up @@ -795,6 +795,6 @@ For information on how to use this chart, up-to-date release notes, and other gu
| Ankush | <[email protected]> | |

----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.14.2](https://github.com/norwoodj/helm-docs/releases/v1.14.2)
Autogenerated from chart metadata using [helm-docs v1.11.3](https://github.com/norwoodj/helm-docs/releases/v1.11.3)
## Docs Generated by [helm-docs](https://github.com/norwoodj/helm-docs)
`helm-docs -t ./charts/langsmith/README.md.gotmpl`
4 changes: 2 additions & 2 deletions charts/langsmith/docker-compose/.env.example
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Don't change this file. Instead, copy it to .env and change the values there. The default values will work out of the box as long as you provide your license key.
_LANGSMITH_IMAGE_VERSION=0.8.12 # Change to the desired Langsmith image version
_LANGSMITH_IMAGE_VERSION=0.9.3 # Change to the desired Langsmith image version
LANGSMITH_LICENSE_KEY=your-license-key # Change to your Langsmith license key
AUTH_TYPE=none # Set to oauth if you want to use OAuth2.0 with PKCE. Set to mixed for basic auth or OAuth2.0 with OAuth2.0 client secret
OAUTH_CLIENT_ID=your-client-id # Required if AUTH_TYPE=oauth or mixed with OAuth2.0 with OAuth2.0 client secret
Expand All @@ -17,7 +17,7 @@ CLICKHOUSE_USER=default # Change to your Clickhouse user if needed
CLICKHOUSE_DB=default # Change to your Clickhouse database if needed
CLICKHOUSE_PORT=8123 # Change to your Clickhouse port if needed
CLICKHOUSE_TLS=false # Change to true if you are using TLS to connect to Clickhouse. Otherwise, leave it as is
CLICKHOUSE_CLUSTER=none # Change to your Clickhouse cluster if using a replicated cluster. Otherwise, leave it as is
CLICKHOUSE_CLUSTER= # Change to your Clickhouse cluster if using a replicated cluster. Otherwise, leave it as is
CLICKHOUSE_PASSWORD=password # Change to your Clickhouse password if needed
CLICKHOUSE_NATIVE_PORT=9000 # Change to your Clickhouse native port if needed
ORG_CREATION_DISABLED=false # Set to true if you want to disable org creation
Expand Down
26 changes: 13 additions & 13 deletions charts/langsmith/docker-compose/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
services:
langchain-playground:
image: langchain/langsmith-playground:${_LANGSMITH_IMAGE_VERSION:-0.8.12}
image: langchain/langsmith-playground:${_LANGSMITH_IMAGE_VERSION:-0.9.3}
ports:
- 3001:3001
environment:
- PORT=3001
- LANGCHAIN_ENV=local_docker
- LOG_LEVEL=${LOG_LEVEL:-info}
langchain-frontend:
image: langchain/langsmith-frontend:${_LANGSMITH_IMAGE_VERSION:-0.8.12}
image: langchain/langsmith-frontend:${_LANGSMITH_IMAGE_VERSION:-0.9.3}
environment:
- VITE_BACKEND_AUTH_TYPE=${AUTH_TYPE:-none}
- VITE_BASIC_AUTH_ENABLED=${BASIC_AUTH_ENABLED:-false}
Expand All @@ -20,7 +20,7 @@ services:
- langchain-backend
- langchain-playground
langchain-ace-backend:
image: langchain/langsmith-ace-backend:${_LANGSMITH_IMAGE_VERSION:-0.8.12}
image: langchain/langsmith-ace-backend:${_LANGSMITH_IMAGE_VERSION:-0.9.3}
ports:
- 1987:1987
environment:
Expand All @@ -37,7 +37,7 @@ services:
- "-R"
- "src/python_worker.ts"
langchain-backend:
image: langchain/langsmith-backend:${_LANGSMITH_IMAGE_VERSION:-0.8.12}
image: langchain/langsmith-backend:${_LANGSMITH_IMAGE_VERSION:-0.9.3}
environment:
- PORT=1984
- LANGCHAIN_ENV=local_docker
Expand All @@ -60,7 +60,7 @@ services:
- CLICKHOUSE_DB=${CLICKHOUSE_DB:-default}
- CLICKHOUSE_PORT=${CLICKHOUSE_PORT:-8123}
- CLICKHOUSE_TLS=${CLICKHOUSE_TLS:-false}
- CLICKHOUSE_CLUSTER=${CLICKHOUSE_CLUSTER:-none}
- CLICKHOUSE_CLUSTER=${CLICKHOUSE_CLUSTER}
- FF_ORG_CREATION_DISABLED=${ORG_CREATION_DISABLED:-false}
- FF_TRACE_TIERS_ENABLED=${TTL_ENABLED:-true}
- FF_UPGRADE_TRACE_TIER_ENABLED=${TTL_ENABLED:-true}
Expand Down Expand Up @@ -88,7 +88,7 @@ services:
condition: service_completed_successfully
restart: always
langchain-platform-backend:
image: langchain/langsmith-go-backend:${_LANGSMITH_IMAGE_VERSION:-0.8.12}
image: langchain/langsmith-go-backend:${_LANGSMITH_IMAGE_VERSION:-0.9.3}
environment:
- PORT=1986
- LANGCHAIN_ENV=local_docker
Expand Down Expand Up @@ -120,7 +120,7 @@ services:
condition: service_completed_successfully
restart: always
langchain-queue:
image: langchain/langsmith-backend:${_LANGSMITH_IMAGE_VERSION:-0.8.12}
image: langchain/langsmith-backend:${_LANGSMITH_IMAGE_VERSION:-0.9.3}
environment:
- LANGCHAIN_ENV=local_docker
- GO_ENDPOINT=http://langchain-platform-backend:1986
Expand All @@ -140,7 +140,7 @@ services:
- CLICKHOUSE_DB=${CLICKHOUSE_DB:-default}
- CLICKHOUSE_PORT=${CLICKHOUSE_PORT:-8123}
- CLICKHOUSE_TLS=${CLICKHOUSE_TLS:-false}
- CLICKHOUSE_CLUSTER=${CLICKHOUSE_CLUSTER:-none}
- CLICKHOUSE_CLUSTER=${CLICKHOUSE_CLUSTER}
- FF_ORG_CREATION_DISABLED=${ORG_CREATION_DISABLED:-false}
- FF_TRACE_TIERS_ENABLED=${TTL_ENABLED:-true}
- FF_UPGRADE_TRACE_TIER_ENABLED=${TTL_ENABLED:-true}
Expand Down Expand Up @@ -202,7 +202,7 @@ services:
timeout: 2s
retries: 30
langchain-clickhouse:
image: clickhouse/clickhouse-server:24.5
image: clickhouse/clickhouse-server:24.8
user: "101:101"
restart: always
environment:
Expand All @@ -221,7 +221,7 @@ services:
timeout: 2s
retries: 30
clickhouse-setup:
image: langchain/langsmith-backend:${_LANGSMITH_IMAGE_VERSION:-0.8.12}
image: langchain/langsmith-backend:${_LANGSMITH_IMAGE_VERSION:-0.9.3}
depends_on:
langchain-clickhouse:
condition: service_healthy
Expand All @@ -234,14 +234,14 @@ services:
- CLICKHOUSE_PORT=${CLICKHOUSE_PORT:-8123}
- CLICKHOUSE_NATIVE_PORT=${CLICKHOUSE_NATIVE_PORT:-9000}
- CLICKHOUSE_TLS=${CLICKHOUSE_TLS:-false}
- CLICKHOUSE_CLUSTER=${CLICKHOUSE_CLUSTER:-none}
- CLICKHOUSE_CLUSTER=${CLICKHOUSE_CLUSTER}
command:
[
"bash",
"scripts/wait_for_clickhouse_and_migrate.sh"
]
postgres-setup:
image: langchain/langsmith-backend:${_LANGSMITH_IMAGE_VERSION:-0.8.12}
image: langchain/langsmith-backend:${_LANGSMITH_IMAGE_VERSION:-0.9.3}
depends_on:
langchain-db:
condition: service_healthy
Expand All @@ -265,7 +265,7 @@ services:
- CLICKHOUSE_PORT=${CLICKHOUSE_PORT:-8123}
- CLICKHOUSE_NATIVE_PORT=${CLICKHOUSE_NATIVE_PORT:-9000}
- CLICKHOUSE_TLS=${CLICKHOUSE_TLS:-false}
- CLICKHOUSE_CLUSTER=${CLICKHOUSE_CLUSTER:-none}
- CLICKHOUSE_CLUSTER=${CLICKHOUSE_CLUSTER}
restart: "on-failure:10"
command:
[
Expand Down
12 changes: 6 additions & 6 deletions charts/langsmith/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,23 +17,23 @@ images:
aceBackendImage:
repository: "docker.io/langchain/langsmith-ace-backend"
pullPolicy: IfNotPresent
tag: "0.8.92"
tag: "0.9.3"
backendImage:
repository: "docker.io/langchain/langsmith-backend"
pullPolicy: IfNotPresent
tag: "0.8.92"
tag: "0.9.3"
frontendImage:
repository: "docker.io/langchain/langsmith-frontend"
pullPolicy: IfNotPresent
tag: "0.8.92"
tag: "0.9.3"
platformBackendImage:
repository: "docker.io/langchain/langsmith-go-backend"
pullPolicy: IfNotPresent
tag: "0.8.92"
tag: "0.9.3"
playgroundImage:
repository: "docker.io/langchain/langsmith-playground"
pullPolicy: IfNotPresent
tag: "0.8.92"
tag: "0.9.3"
postgresImage:
repository: "docker.io/postgres"
pullPolicy: IfNotPresent
Expand All @@ -45,7 +45,7 @@ images:
clickhouseImage:
repository: "docker.io/clickhouse/clickhouse-server"
pullPolicy: Always
tag: "24.5"
tag: "24.8"

ingress:
enabled: false
Expand Down

0 comments on commit 20d8d49

Please sign in to comment.