Skip to content

Commit

Permalink
feat: cut langsmith 0.7 (#145)
Browse files Browse the repository at this point in the history
* feat: cut 0.7

* generate docs

* some more fixes

* some more fixes

* feat: update notes

* fix ci

* fix ci

* fix ci

* fix ci

* fix ci

* fix ci

* fix ci

* fix ci

* fix ci

* fix ci

* fix ci

* fix ci

* fix ci

* fix ci

* fix ci

* fix ci

* fix ci

* fix ci
  • Loading branch information
langchain-infra authored Aug 26, 2024
1 parent 041e5c9 commit 51a829e
Show file tree
Hide file tree
Showing 19 changed files with 576 additions and 284 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/helm_checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ on:
jobs:
lint-test:
runs-on: ubuntu-latest
strategy:
matrix:
chart-name: [ "langgraph-cloud", "langsmith" ]

steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -29,14 +33,13 @@ jobs:
uses: helm/[email protected]

- name: Run chart-testing (lint)
run: ct lint --target-branch ${{ github.event.repository.default_branch }} --all
run: ct lint --target-branch ${{ github.event.repository.default_branch }} --charts charts/${{ matrix.chart-name }}

- name: Create kind cluster
uses: helm/[email protected]

- name: Run chart-testing (install)
env:
LANGSMITH_LICENSE_KEY: ${{ secrets.LANGSMITH_LICENSE_KEY }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
LANGGRAPH_CLOUD_LICENSE_KEY: ${{ secrets.LANGGRAPH_CLOUD_LICENSE_KEY }}
run: ct install --target-branch ${{ github.event.repository.default_branch }} --all --excluded-charts open-gpts --helm-extra-set-args "--set=frontend.service.type=ClusterIP --set=config.langsmithLicenseKey=$LANGSMITH_LICENSE_KEY --set=config.langGraphCloudLicenseKey=$LANGGRAPH_CLOUD_LICENSE_KEY --set=config.openaiApiKey=$OPENAI_API_KEY --set=backend.service.type=ClusterIP --set=apiServer.service.type=ClusterIP"
run: ct install --target-branch ${{ github.event.repository.default_branch }} --charts charts/${{ matrix.chart-name }} --helm-extra-set-args "--set=frontend.service.type=ClusterIP --set=config.langsmithLicenseKey=$LANGSMITH_LICENSE_KEY --set=config.langGraphCloudLicenseKey=$LANGGRAPH_CLOUD_LICENSE_KEY --set=apiServer.service.type=ClusterIP"
30 changes: 11 additions & 19 deletions charts/langgraph-cloud/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# langgraph-cloud

![Version: 0.1.1](https://img.shields.io/badge/Version-0.1.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.1.0](https://img.shields.io/badge/AppVersion-0.1.0-informational?style=flat-square)
![Version: 0.1.2](https://img.shields.io/badge/Version-0.1.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.1.0](https://img.shields.io/badge/AppVersion-0.1.0-informational?style=flat-square)

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

Expand Down Expand Up @@ -195,7 +195,7 @@ the same format as the secret in the corresponding `secrets.yaml` file. Note: AP
| commonAnnotations | object | `{}` | Annotations that will be applied to all resources created by the chart |
| commonLabels | object | `{}` | Labels that will be applied to all resources created by the chart |
| fullnameOverride | string | `""` | String to fully override `"langgraph-cloud.fullname"` |
| images.apiServerImage.pullPolicy | string | `"IfNotPresent"` | |
| images.apiServerImage.pullPolicy | string | `"Always"` | |
| images.apiServerImage.repository | string | `"docker.io/langchain/langgraph-api"` | |
| images.apiServerImage.tag | string | `"3.11"` | |
| images.imagePullSecrets | list | `[]` | Secrets with credentials to pull images from a private registry. Specified as name: value. |
Expand Down Expand Up @@ -236,26 +236,15 @@ the same format as the secret in the corresponding `secrets.yaml` file. Note: AP
| apiServer.deployment.nodeSelector | object | `{}` | |
| apiServer.deployment.podSecurityContext | object | `{}` | |
| apiServer.deployment.replicaCount | int | `1` | |
| apiServer.deployment.resources | object | `{}` | |
| apiServer.deployment.resources.limits.cpu | string | `"2000m"` | |
| apiServer.deployment.resources.limits.memory | string | `"4Gi"` | |
| apiServer.deployment.resources.requests.cpu | string | `"1000m"` | |
| apiServer.deployment.resources.requests.memory | string | `"2Gi"` | |
| apiServer.deployment.securityContext | object | `{}` | |
| apiServer.deployment.sidecars | list | `[]` | |
| apiServer.deployment.tolerations | list | `[]` | |
| apiServer.deployment.volumeMounts | list | `[]` | |
| apiServer.deployment.volumes | list | `[]` | |
| apiServer.migrations.affinity | object | `{}` | |
| apiServer.migrations.annotations | object | `{}` | |
| apiServer.migrations.enabled | bool | `true` | |
| apiServer.migrations.extraEnv | list | `[]` | |
| apiServer.migrations.labels | object | `{}` | |
| apiServer.migrations.nodeSelector | object | `{}` | |
| apiServer.migrations.podSecurityContext | object | `{}` | |
| apiServer.migrations.replicaCount | int | `1` | |
| apiServer.migrations.resources | object | `{}` | |
| apiServer.migrations.securityContext | object | `{}` | |
| apiServer.migrations.sidecars | list | `[]` | |
| apiServer.migrations.tolerations | list | `[]` | |
| apiServer.migrations.volumeMounts | list | `[]` | |
| apiServer.migrations.volumes | list | `[]` | |
| apiServer.name | string | `"api-server"` | |
| apiServer.service.annotations | object | `{}` | |
| apiServer.service.httpPort | int | `80` | |
Expand Down Expand Up @@ -304,7 +293,10 @@ the same format as the secret in the corresponding `secrets.yaml` file. Note: AP
| postgres.statefulSet.persistence.size | string | `"8Gi"` | |
| postgres.statefulSet.persistence.storageClassName | string | `""` | |
| postgres.statefulSet.podSecurityContext | object | `{}` | |
| postgres.statefulSet.resources | object | `{}` | |
| postgres.statefulSet.resources.limits.cpu | string | `"4000m"` | |
| postgres.statefulSet.resources.limits.memory | string | `"16Gi"` | |
| postgres.statefulSet.resources.requests.cpu | string | `"2000m"` | |
| postgres.statefulSet.resources.requests.memory | string | `"8Gi"` | |
| postgres.statefulSet.securityContext | object | `{}` | |
| postgres.statefulSet.sidecars | list | `[]` | |
| postgres.statefulSet.tolerations | list | `[]` | |
Expand All @@ -318,6 +310,6 @@ the same format as the secret in the corresponding `secrets.yaml` file. Note: AP
| Ankush | <ankush@langchain.dev> | |

----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.13.1](https://github.com/norwoodj/helm-docs/releases/v1.13.1)
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/langgraph-cloud/README.md.gotmpl`
17 changes: 17 additions & 0 deletions charts/langgraph-cloud/ci/lightweight-config-values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Lightweight configuration. Only use this if you are running Langsmith in a development environment.
config:
langGraphCloudLicenseKey: "YOUR_LICENSE_KEY"

apiServer:
deployment:
resources:
requests:
cpu: 100m
memory: 500Mi

postgres:
statefulSet:
resources:
requests:
cpu: 500m
memory: 1000Mi
49 changes: 14 additions & 35 deletions charts/langgraph-cloud/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,34 +47,13 @@ apiServer:
annotations: {}
podSecurityContext: {}
securityContext: {}
resources: {}
# limits:
# cpu: 1000m
# memory: 1Gi
# requests:
# cpu: 200m
# memory: 500Mi
extraEnv: []
sidecars: []
nodeSelector: {}
tolerations: []
affinity: {}
volumes: []
volumeMounts: []
migrations:
enabled: true
replicaCount: 1
labels: {}
annotations: {}
podSecurityContext: {}
securityContext: {}
resources: {}
# limits:
# cpu: 1000m
# memory: 1Gi
# requests:
# cpu: 200m
# memory: 500Mi
resources:
limits:
cpu: 2000m
memory: 4Gi
requests:
cpu: 1000m
memory: 2Gi
extraEnv: []
sidecars: []
nodeSelector: {}
Expand Down Expand Up @@ -121,13 +100,13 @@ postgres:
annotations: {}
podSecurityContext: {}
securityContext: {}
resources: {}
# limits:
# cpu: 4000m
# memory: 16Gi
# requests:
# cpu: 1000m
# memory: 4Gi
resources:
limits:
cpu: 4000m
memory: 16Gi
requests:
cpu: 2000m
memory: 8Gi
command: []
extraContainerConfig: {}
extraEnv: []
Expand Down
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.6.24
appVersion: "0.6.62"
version: 0.7.0
appVersion: "0.7.7"
Loading

0 comments on commit 51a829e

Please sign in to comment.