diff --git a/.github/workflows/test_docker_compose.yml b/.github/workflows/test_docker_compose.yml new file mode 100644 index 0000000..bb09966 --- /dev/null +++ b/.github/workflows/test_docker_compose.yml @@ -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 + diff --git a/charts/langsmith/Chart.yaml b/charts/langsmith/Chart.yaml index e5d0f70..e0e93ae 100644 --- a/charts/langsmith/Chart.yaml +++ b/charts/langsmith/Chart.yaml @@ -5,5 +5,5 @@ maintainers: email: ankush@langchain.dev 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" diff --git a/charts/langsmith/README.md b/charts/langsmith/README.md index fbc0333..ba376cd 100644 --- a/charts/langsmith/README.md +++ b/charts/langsmith/README.md @@ -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. @@ -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"` | | @@ -795,6 +795,6 @@ For information on how to use this chart, up-to-date release notes, and other gu | Ankush | | | ---------------------------------------------- -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` diff --git a/charts/langsmith/docker-compose/.env.example b/charts/langsmith/docker-compose/.env.example index 1eabfaf..665ce81 100644 --- a/charts/langsmith/docker-compose/.env.example +++ b/charts/langsmith/docker-compose/.env.example @@ -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 @@ -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 diff --git a/charts/langsmith/docker-compose/docker-compose.yaml b/charts/langsmith/docker-compose/docker-compose.yaml index df517d2..4fde357 100644 --- a/charts/langsmith/docker-compose/docker-compose.yaml +++ b/charts/langsmith/docker-compose/docker-compose.yaml @@ -1,6 +1,6 @@ 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: @@ -8,7 +8,7 @@ services: - 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} @@ -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: @@ -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 @@ -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} @@ -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 @@ -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 @@ -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} @@ -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: @@ -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 @@ -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 @@ -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: [ diff --git a/charts/langsmith/values.yaml b/charts/langsmith/values.yaml index 11c64bf..38ca7d5 100644 --- a/charts/langsmith/values.yaml +++ b/charts/langsmith/values.yaml @@ -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 @@ -45,7 +45,7 @@ images: clickhouseImage: repository: "docker.io/clickhouse/clickhouse-server" pullPolicy: Always - tag: "24.5" + tag: "24.8" ingress: enabled: false