Only bind password from secret to auth bootstrap if basic auth enable… #261
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: "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 | |
TRACE_TIER_TTL_DURATION_SEC_MAP: '{"longlived":34560000,"shortlived":2209600}' | |
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: Get logs | |
working-directory: charts/langsmith/docker-compose | |
run: docker compose logs | |
- name: sleep 90 seconds | |
run: sleep 90 | |
- name: Check backend health | |
run: curl localhost:1980/api/v1/info |