Enable S3 KMS Encryption + Bump helm 0.11.24 #1441
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint and Test Charts | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
lint-test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
chart-name: [ "langgraph-cloud", "langsmith" ] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Set up Helm | |
uses: azure/setup-helm@v3 | |
with: | |
version: v3.12.1 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.9' | |
check-latest: true | |
- name: Set up chart-testing | |
uses: helm/chart-testing-action@v2.6.0 | |
- name: Add Helm Repositories | |
run: | | |
helm repo add langchain https://langchain-ai.github.io/helm/ | |
helm repo update | |
- name: Run chart-testing (lint) | |
run: ct lint --target-branch ${{ github.event.repository.default_branch }} --charts charts/${{ matrix.chart-name }} | |
- name: Install Helm Unittest | |
run: helm plugin install https://github.com/helm-unittest/helm-unittest.git --version 0.7.0 | |
- name: Run chart unittest | |
run: helm unittest charts/${{ matrix.chart-name }} | |
- name: Create kind cluster | |
uses: helm/kind-action@v1.7.0 | |
- name: Pre-pull and load external images into kind | |
run: | | |
docker pull docker.io/redis:7 | |
kind load docker-image docker.io/redis:7 --name chart-testing | |
docker pull docker.io/postgres:14.7 | |
kind load docker-image docker.io/postgres:14.7 --name chart-testing | |
docker pull docker.io/clickhouse/clickhouse-server:25.4 | |
kind load docker-image docker.io/clickhouse/clickhouse-server:25.4 --name chart-testing | |
- name: Run chart-testing (install) | |
env: | |
LANGSMITH_LICENSE_KEY: ${{ secrets.LANGSMITH_LICENSE_KEY }} | |
LANGGRAPH_CLOUD_LICENSE_KEY: ${{ secrets.LANGGRAPH_CLOUD_LICENSE_KEY }} | |
run: ct install --target-branch ${{ github.event.repository.default_branch }} --charts charts/${{ matrix.chart-name }} --helm-extra-set-args "--timeout=15m --set=frontend.service.type=ClusterIP --set=config.langsmithLicenseKey=$LANGSMITH_LICENSE_KEY --set=config.langGraphCloudLicenseKey=$LANGGRAPH_CLOUD_LICENSE_KEY --set=apiServer.service.type=ClusterIP --set=studio.service.type=ClusterIP --set=redis.statefulSet.resources.requests.cpu=50m --set=redis.statefulSet.resources.requests.memory=64Mi --set=postgres.statefulSet.resources.requests.cpu=100m --set=postgres.statefulSet.resources.requests.memory=256Mi --set=clickhouse.statefulSet.resources.requests.cpu=200m --set=clickhouse.statefulSet.resources.requests.memory=512Mi" |