Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

fix: fix cd pipeline (#863)

Max Deichmannfdf417e9612b
diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml
index 6a393eab7f..bbfea3def1 100644
--- a/.github/workflows/pipeline.yml
+++ b/.github/workflows/pipeline.yml
@@ -30,6 +30,36 @@ jobs:
- name: lint
run: npm run lint
+ test-docker-build:
+ runs-on: ubuntu-latest
+ env:
+ DATABASE_URL: postgresql://postgres:postgres@localhost:5432/postgres
+ NEXTAUTH_SECRET: "secret"
+ SALT: "salt"
+ NEXTAUTH_URL: "http://localhost:3030"
+ REGISTRY: ghcr.io
+ IMAGE_NAME: ${{ github.repository }}
+
+ steps:
+ - name: Setup node
+ uses: actions/setup-node@v3
+ with:
+ node-version: 20
+
+ - name: Checkout
+ uses: actions/checkout@v3
+
+ - name: Build Docker image
+ uses: docker/build-push-action@v4
+ with:
+ context: .
+ push: false
+ build-args: |
+ DATABASE_URL=${{ env.DATABASE_URL }}
+ NEXTAUTH_SECRET=${{ env.NEXTAUTH_SECRET }}
+ NEXTAUTH_URL=${{ env.NEXTAUTH_URL }}
+ SALT=${{ env.SALT }}
+
tests:
runs-on: ubuntu-latest
strategy:
@@ -101,7 +131,7 @@ jobs:
all-ci-passed:
# This allows us to have a branch protection rule for tests and deploys with matrix
runs-on: ubuntu-latest
- needs: [lint, tests, e2e-tests]
+ needs: [lint, tests, e2e-tests, test-docker-build]
if: always()
steps:
- name: Successful deploy
diff --git a/package-lock.json b/package-lock.json
index f21392f7ec..a7ea7a97e7 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1769,11 +1769,10 @@
"integrity": "sha512-OfX7E2oUDYxtBvsuS4e/jSn4Q9Qb6DzgeYtsAdkPZ47znpoNsMgZw0+tVijiv3uGNR6dgNlty6r9rzIzHjtd/A=="
},
"node_modules/@headlessui/react": {
- "version": "1.7.18",
- "resolved": "https://registry.npmjs.org/@headlessui/react/-/react-1.7.18.tgz",
- "integrity": "sha512-4i5DOrzwN4qSgNsL4Si61VMkUcWbcSKueUV7sFhpHzQcSShdlHENE5+QBntMSRvHt8NyoFO2AGG8si9lq+w4zQ==",
+ "version": "1.7.17",
+ "resolved": "https://registry.npmjs.org/@headlessui/react/-/react-1.7.17.tgz",
+ "integrity": "sha512-4am+tzvkqDSSgiwrsEpGWqgGo9dz8qU5M3znCkC4PgkpY4HcCZzEDEvozltGGGHIKl9jbXbZPSH5TWn4sWJdow==",
"dependencies": {
- "@tanstack/react-virtual": "^3.0.0-beta.60",
"client-only": "^0.0.1"
},
"engines": {
@@ -4630,9 +4629,9 @@
}
},
"node_modules/@sentry/profiling-node": {
- "version": "1.3.3",
- "resolved": "https://registry.npmjs.org/@sentry/profiling-node/-/profiling-node-1.3.3.tgz",
- "integrity": "sha512-GR/5MvR6rY/MvJNk/5UJs842eMDler3iyRsi/VapZGnuVm/25LRW1jUhjtiBFMpeSbDiQINGGtnEvQT36egQsw==",
+ "version": "1.3.2",
+ "resolved": "https://registry.npmjs.org/@sentry/profiling-node/-/profiling-node-1.3.2.tgz",
+ "integrity": "sha512-Dm2FmR0+BYrTm3YSmbCxjeklAsXZecOwWarZQdrCQniPYlxS9GPgWv1P+J78+CrHZ4IpoIvnlRppGPMrJwPXkw==",
"hasInstallScript": true,
"dependencies": {
"detect-libc": "^2.0.2",
@@ -5533,22 +5532,6 @@
"react-dom": ">=16"
}
},
- "node_modules/@tanstack/react-virtual": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/@tanstack/react-virtual/-/react-virtual-3.0.1.tgz",
- "integrity": "sha512-IFOFuRUTaiM/yibty9qQ9BfycQnYXIDHGP2+cU+0LrFFGNhVxCXSQnaY6wkX8uJVteFEBjUondX0Hmpp7TNcag==",
- "dependencies": {
- "@tanstack/virtual-core": "3.0.0"
- },
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/tannerlinsley"
- },
- "peerDependencies": {
- "react": "^16.8.0 || ^17.0.0 || ^18.0.0",
- "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
- }
- },
"node_modules/@tanstack/table-core": {
"version": "8.11.3",
"resolved": "https://registry.npmjs.org/@tanstack/table-core/-/table-core-8.11.3.tgz",
@@ -5561,15 +5544,6 @@
"url": "https://github.com/sponsors/tannerlinsley"
}
},
- "node_modules/@tanstack/virtual-core": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/@tanstack/virtual-core/-/virtual-core-3.0.0.tgz",
- "integrity": "sha512-SYXOBTjJb05rXa2vl55TTwO40A6wKu0R5i1qQwhJYNDIqaIGF7D0HsLw+pJAyi2OvntlEIVusx3xtbbgSUi6zg==",
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/tannerlinsley"
- }
- },
"node_modules/@testing-library/dom": {
"version": "9.3.3",
"resolved": "https://registry.npmjs.org/@testing-library/dom/-/dom-9.3.3.tgz",
@@ -6086,9 +6060,9 @@
"devOptional": true
},
"node_modules/@types/react": {
- "version": "18.2.47",
- "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.47.tgz",
- "integrity": "sha512-xquNkkOirwyCgoClNk85BjP+aqnIS+ckAJ8i37gAbDs14jfW/J23f2GItAf33oiUPQnqNMALiFeoM9Y5mbjpVQ==",
+ "version": "18.2.46",
+ "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.46.tgz",
+ "integrity": "sha512-nNCvVBcZlvX4NU1nRRNV/mFl1nNRuTuslAJglQsq+8ldXe5Xv0Wd2f7WTE3jOxhLH2BFfiZGC6GCp+kHQbgG+w==",
"devOptional": true,
"dependencies": {
"@types/prop-types": "*",
@@ -15539,9 +15513,9 @@
}
},
"node_modules/react-hook-form": {
- "version": "7.49.3",
- "resolved": "https://registry.npmjs.org/react-hook-form/-/react-hook-form-7.49.3.tgz",
- "integrity": "sha512-foD6r3juidAT1cOZzpmD/gOKt7fRsDhXXZ0y28+Al1CHgX+AY1qIN9VSIIItXRq1dN68QrRwl1ORFlwjBaAqeQ==",
+ "version": "7.49.2",
+ "resolved": "https://registry.npmjs.org/react-hook-form/-/react-hook-form-7.49.2.tgz",
+ "integrity": "sha512-TZcnSc17+LPPVpMRIDNVITY6w20deMdNi6iehTFLV1x8SqThXGwu93HjlUVU09pzFgZH7qZOvLMM7UYf2ShAHA==",
"engines": {
"node": ">=18",
"pnpm": "8"