From cb64ab14fa93bc9ed96e40e32977a67e3fa86620 Mon Sep 17 00:00:00 2001 From: Boris Arzentar Date: Sun, 23 Jun 2024 00:36:34 +0200 Subject: [PATCH 1/4] chore: add vanilla docker config --- .dockerignore | 16 ++++++++++++++++ Dockerfile | 1 - Dockerfile-vanilla | 30 +++++++++++++++++++++++++++++ docker-compose-vanilla.yml | 39 ++++++++++++++++++++++++++++++++++++++ docker-compose.yml | 4 +--- entrypoint-vanilla.sh | 18 ++++++++++++++++++ poetry.lock | 5 ++--- pyproject.toml | 6 ++---- 8 files changed, 108 insertions(+), 11 deletions(-) create mode 100644 .dockerignore create mode 100644 Dockerfile-vanilla create mode 100644 docker-compose-vanilla.yml create mode 100755 entrypoint-vanilla.sh diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 000000000..d2d26277f --- /dev/null +++ b/.dockerignore @@ -0,0 +1,16 @@ +bin +dist +docs +evals +tests +tools +assets +notebooks +cognee-frontend + +.dlt +.venv +.github + +.idea +.vscode diff --git a/Dockerfile b/Dockerfile index f8c3adfed..49ae2e45d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,7 +26,6 @@ RUN apt-get update -q && \ curl \ zip \ jq \ -# libgl1-mesa-glx \ netcat-traditional && \ pip install poetry && \ curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" && \ diff --git a/Dockerfile-vanilla b/Dockerfile-vanilla new file mode 100644 index 000000000..30a2019dc --- /dev/null +++ b/Dockerfile-vanilla @@ -0,0 +1,30 @@ +FROM python:3.11-slim + +# Set build argument +ARG DEBUG + +# Set environment variable based on the build argument +ENV DEBUG=${DEBUG} +ENV PIP_NO_CACHE_DIR=true +ENV PATH="${PATH}:/root/.poetry/bin" + +WORKDIR /app +COPY pyproject.toml poetry.lock /app/ + +RUN pip install poetry + +# Create virtualenv +RUN poetry config virtualenvs.create false + +# Install the dependencies +RUN poetry install --no-root --no-dev + +# Set the PYTHONPATH environment variable to include the /app directory +ENV PYTHONPATH=/app + +COPY cognee/ /app/cognee + +COPY entrypoint-vanilla.sh /app/entrypoint-vanilla.sh +RUN chmod +x /app/entrypoint-vanilla.sh + +ENTRYPOINT ["/app/entrypoint-vanilla.sh"] diff --git a/docker-compose-vanilla.yml b/docker-compose-vanilla.yml new file mode 100644 index 000000000..7a79e622b --- /dev/null +++ b/docker-compose-vanilla.yml @@ -0,0 +1,39 @@ +services: + cognee: + container_name: cognee + networks: + - cognee-network + build: + context: . + dockerfile: Dockerfile-vanilla + volumes: + - .:/app + - /app/cognee-frontend/ + environment: + - HOST=0.0.0.0 + - ENVIRONMENT=local + - PYTHONPATH=. + ports: + - 8000:8000 + - 5678:5678 # Debugging + deploy: + resources: + limits: + cpus: "4.0" + memory: 8GB + + frontend: + container_name: frontend + build: + context: ./cognee-frontend + dockerfile: Dockerfile + volumes: + - "./cognee-frontend:/app" + ports: + - "3000:3000" + networks: + - cognee-network + +networks: + cognee-network: + name: cognee-network diff --git a/docker-compose.yml b/docker-compose.yml index 4ba2227a8..d706d0316 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -26,14 +26,12 @@ services: - HOST=0.0.0.0 - ENVIRONMENT=local - PYTHONPATH=. - profiles: ["exclude-from-up"] ports: - 8000:8000 - 443:443 - 80:80 - 50051:50051 - - 5678:5678 -# - 5432:5432 + - 5678:5678 # Debugging depends_on: - postgres - neo4j diff --git a/entrypoint-vanilla.sh b/entrypoint-vanilla.sh new file mode 100755 index 000000000..ed8b4780a --- /dev/null +++ b/entrypoint-vanilla.sh @@ -0,0 +1,18 @@ +#!/bin/bash + +echo "Debug mode: $DEBUG" +echo "Environment: $ENVIRONMENT" + +echo "Starting Gunicorn" + +if [ "$ENVIRONMENT" = "local" ]; then + if [ "$DEBUG" = true ]; then + echo "Waiting for the debugger to attach..." + + python -m debugpy --wait-for-client --listen 0.0.0.0:5678 -m gunicorn -w 3 -k uvicorn.workers.UvicornWorker -t 30000 --bind=0.0.0.0:8000 --log-level debug --reload cognee.api.client:app + else + gunicorn -w 3 -k uvicorn.workers.UvicornWorker -t 30000 --bind=0.0.0.0:8000 --log-level debug --reload cognee.api.client:app + fi +else + gunicorn -w 3 -k uvicorn.workers.UvicornWorker -t 30000 --bind=0.0.0.0:8000 --log-level error cognee.api.client:app +fi diff --git a/poetry.lock b/poetry.lock index 92bf8830f..dd4f35d25 100644 --- a/poetry.lock +++ b/poetry.lock @@ -8314,14 +8314,13 @@ test = ["big-O", "importlib-resources", "jaraco.functools", "jaraco.itertools", cli = [] duckdb = ["duckdb"] filesystem = [] -motherduck = ["duckdb", "pyarrow"] +motherduck = ["duckdb"] neo4j = ["neo4j"] notebook = ["overrides"] -parquet = ["pyarrow"] qdrant = ["qdrant-client"] weaviate = ["weaviate-client"] [metadata] lock-version = "2.0" python-versions = ">=3.9.0,<3.12" -content-hash = "0d47b955224bb4f7d52815e63d15b2230dcff86f91a4f79b5533c299f965018b" +content-hash = "3e894bd32ee1d47a344ad4325731c064271b687b1f6af3c820436dc27f9d06a1" diff --git a/pyproject.toml b/pyproject.toml index 0b47a792d..ce4f2088d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -30,7 +30,7 @@ sqlalchemy = "^2.0.21" instructor = "1.2.1" networkx = "^3.2.1" debugpy = "^1.8.0" -pyarrow = "^15.0.0" +pyarrow = "15.0.0" pylint = "^3.0.3" aiosqlite = "^0.20.0" pandas = "2.0.3" @@ -75,12 +75,10 @@ anthropic = "^0.26.1" langchain-text-splitters = "^0.2.1" - [tool.poetry.extras] -parquet = ["pyarrow"] duckdb = ["duckdb"] filesystem = ["s3fs", "botocore"] -motherduck = ["duckdb", "pyarrow"] +motherduck = ["duckdb"] cli = ["pipdeptree", "cron-descriptor"] weaviate = ["weaviate-client"] qdrant = ["qdrant-client"] From e23faccb6a479faf7c52899bad3a177861791db3 Mon Sep 17 00:00:00 2001 From: Boris Arzentar Date: Sun, 23 Jun 2024 13:24:58 +0200 Subject: [PATCH 2/4] fix: run frontend in a container --- Dockerfile | 37 ++++------------ Dockerfile-old | 49 +++++++++++++++++++++ Dockerfile-vanilla | 30 ------------- cognee-frontend/.dockerignore | 2 + cognee-frontend/Dockerfile | 16 +++---- docker-compose-vanilla.yml | 14 +++--- docker-compose.yml | 80 ++++++++++++++--------------------- entrypoint-old.sh | 35 +++++++++++++++ entrypoint-vanilla.sh | 18 -------- entrypoint.sh | 35 ++++----------- 10 files changed, 151 insertions(+), 165 deletions(-) create mode 100644 Dockerfile-old delete mode 100644 Dockerfile-vanilla create mode 100644 cognee-frontend/.dockerignore create mode 100755 entrypoint-old.sh delete mode 100755 entrypoint-vanilla.sh diff --git a/Dockerfile b/Dockerfile index 49ae2e45d..148df0dfe 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,50 +1,29 @@ -FROM python:3.11 +FROM python:3.11-slim # Set build argument ARG DEBUG -ARG API_ENABLED # Set environment variable based on the build argument ENV DEBUG=${DEBUG} -ENV API_ENABLED=${API_ENABLED} ENV PIP_NO_CACHE_DIR=true ENV PATH="${PATH}:/root/.poetry/bin" -RUN pip install poetry - WORKDIR /app COPY pyproject.toml poetry.lock /app/ +RUN pip install poetry + +# Create virtualenv +RUN poetry config virtualenvs.create false + # Install the dependencies -RUN poetry config virtualenvs.create false && \ - poetry install --no-root --no-dev - -RUN apt-get update -q && \ - apt-get install -y -q \ - gcc \ - python3-dev \ - curl \ - zip \ - jq \ - netcat-traditional && \ - pip install poetry && \ - curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" && \ - unzip -qq awscliv2.zip && \ - ./aws/install && \ - apt-get clean && \ - rm -rf \ - awscliv2.zip \ - /var/lib/apt/lists/* \ - /tmp/* \ - /var/tmp/* - -WORKDIR /app +RUN poetry install --no-root --no-dev + # Set the PYTHONPATH environment variable to include the /app directory ENV PYTHONPATH=/app COPY cognee/ /app/cognee - COPY entrypoint.sh /app/entrypoint.sh RUN chmod +x /app/entrypoint.sh diff --git a/Dockerfile-old b/Dockerfile-old new file mode 100644 index 000000000..5913ac543 --- /dev/null +++ b/Dockerfile-old @@ -0,0 +1,49 @@ +FROM python:3.11 + +# Set build argument +ARG DEBUG + +# Set environment variable based on the build argument +ENV DEBUG=${DEBUG} +ENV PIP_NO_CACHE_DIR=true +ENV PATH="${PATH}:/root/.poetry/bin" + +RUN pip install poetry + +WORKDIR /app +COPY pyproject.toml poetry.lock /app/ + +# Install the dependencies +RUN poetry config virtualenvs.create false && \ + poetry install --no-root --no-dev + +RUN apt-get update -q && \ + apt-get install -y -q \ + gcc \ + python3-dev \ + curl \ + zip \ + jq \ + netcat-traditional && \ + pip install poetry && \ + curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" && \ + unzip -qq awscliv2.zip && \ + ./aws/install && \ + apt-get clean && \ + rm -rf \ + awscliv2.zip \ + /var/lib/apt/lists/* \ + /tmp/* \ + /var/tmp/* + +WORKDIR /app +# Set the PYTHONPATH environment variable to include the /app directory +ENV PYTHONPATH=/app + +COPY cognee/ /app/cognee + + +COPY entrypoint.sh /app/entrypoint.sh +RUN chmod +x /app/entrypoint.sh + +ENTRYPOINT ["/app/entrypoint.sh"] diff --git a/Dockerfile-vanilla b/Dockerfile-vanilla deleted file mode 100644 index 30a2019dc..000000000 --- a/Dockerfile-vanilla +++ /dev/null @@ -1,30 +0,0 @@ -FROM python:3.11-slim - -# Set build argument -ARG DEBUG - -# Set environment variable based on the build argument -ENV DEBUG=${DEBUG} -ENV PIP_NO_CACHE_DIR=true -ENV PATH="${PATH}:/root/.poetry/bin" - -WORKDIR /app -COPY pyproject.toml poetry.lock /app/ - -RUN pip install poetry - -# Create virtualenv -RUN poetry config virtualenvs.create false - -# Install the dependencies -RUN poetry install --no-root --no-dev - -# Set the PYTHONPATH environment variable to include the /app directory -ENV PYTHONPATH=/app - -COPY cognee/ /app/cognee - -COPY entrypoint-vanilla.sh /app/entrypoint-vanilla.sh -RUN chmod +x /app/entrypoint-vanilla.sh - -ENTRYPOINT ["/app/entrypoint-vanilla.sh"] diff --git a/cognee-frontend/.dockerignore b/cognee-frontend/.dockerignore new file mode 100644 index 000000000..f74c78183 --- /dev/null +++ b/cognee-frontend/.dockerignore @@ -0,0 +1,2 @@ +.next +node_modules diff --git a/cognee-frontend/Dockerfile b/cognee-frontend/Dockerfile index 0a3775dc8..26f479f88 100644 --- a/cognee-frontend/Dockerfile +++ b/cognee-frontend/Dockerfile @@ -1,20 +1,20 @@ # Use an official Node.js runtime as a parent image -FROM node:18.17.0 +FROM node:18-alpine # Set the working directory to /app WORKDIR /app # Copy package.json and package-lock.json to the working directory -COPY package*.json ./ +COPY package.json package-lock.json ./ # Install any needed packages specified in package.json -RUN npm install +RUN npm ci # Copy the rest of the application code to the working directory -COPY . . - -# Make port 3000 available to the world outside this container -EXPOSE 3000 +COPY src ./src +COPY public ./public +COPY next.config.mjs . +COPY tsconfig.json . # Build the app and run it -CMD ["sh", "-c", "npm run dev"] +CMD npm run dev diff --git a/docker-compose-vanilla.yml b/docker-compose-vanilla.yml index 7a79e622b..07bae272d 100644 --- a/docker-compose-vanilla.yml +++ b/docker-compose-vanilla.yml @@ -5,21 +5,21 @@ services: - cognee-network build: context: . - dockerfile: Dockerfile-vanilla + dockerfile: Dockerfile volumes: - .:/app - - /app/cognee-frontend/ + - /app/cognee-frontend/ # Ignore frontend code environment: - HOST=0.0.0.0 - ENVIRONMENT=local - PYTHONPATH=. ports: - 8000:8000 - - 5678:5678 # Debugging + # - 5678:5678 # Debugging deploy: resources: limits: - cpus: "4.0" + cpus: 4.0 memory: 8GB frontend: @@ -28,9 +28,11 @@ services: context: ./cognee-frontend dockerfile: Dockerfile volumes: - - "./cognee-frontend:/app" + - ./cognee-frontend/src:/app/src + - ./cognee-frontend/public:/app/public ports: - - "3000:3000" + - 3000:3000 + # - 9229:9229 # Debugging networks: - cognee-network diff --git a/docker-compose.yml b/docker-compose.yml index d706d0316..a23630091 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,45 +1,25 @@ -version: "3.9" - services: - neo4j: - image: neo4j:latest - container_name: neo4j - ports: - - "7474:7474" - - "7687:7687" - environment: - - NEO4J_AUTH=neo4j/pleaseletmein - - NEO4J_PLUGINS=["apoc"] - networks: - - cognee_backend - cognee: container_name: cognee networks: - - cognee_backend + - cognee-network build: - context: ./ + context: . + dockerfile: Dockerfile volumes: - - "./:/app" - - ./.data:/app/.data + - .:/app + - /app/cognee-frontend/ # Ignore frontend code environment: - HOST=0.0.0.0 - ENVIRONMENT=local - PYTHONPATH=. ports: - 8000:8000 - - 443:443 - - 80:80 - - 50051:50051 - - 5678:5678 # Debugging - depends_on: - - postgres - - neo4j - - frontend + # - 5678:5678 # Debugging deploy: resources: limits: - cpus: "4.0" + cpus: 4.0 memory: 8GB frontend: @@ -48,36 +28,40 @@ services: context: ./cognee-frontend dockerfile: Dockerfile volumes: - - "./cognee-frontend:/app" + - ./cognee-frontend/src:/app/src + - ./cognee-frontend/public:/app/public ports: - - "3000:3000" + - 3000:3000 + # - 9229:9229 # Debugging networks: - - cognee_backend + - cognee-network - postgres: - image: postgres - container_name: postgres - environment: - - POSTGRES_HOST_AUTH_METHOD=trust - - POSTGRES_USER=bla - - POSTGRES_PASSWORD=bla - - POSTGRES_DB=bubu - - networks: - - cognee_backend - ports: - - "5432:5432" + neo4j: + image: neo4j:latest + container_name: neo4j + profiles: + - neo4j + ports: + - 7474:7474 + - 7687:7687 + environment: + - NEO4J_AUTH=neo4j/pleaseletmein + - NEO4J_PLUGINS=["apoc"] + networks: + - cognee-network falkordb: image: falkordb/falkordb:edge container_name: falkordb + profiles: + - falkordb ports: - - "6379:6379" - - "3001:3000" + - 6379:6379 + - 3001:3000 networks: - - cognee_backend + - cognee-network networks: - cognee_backend: - name: cognee_backend + cognee-network: + name: cognee-network diff --git a/entrypoint-old.sh b/entrypoint-old.sh new file mode 100755 index 000000000..8d8053759 --- /dev/null +++ b/entrypoint-old.sh @@ -0,0 +1,35 @@ +#!/bin/bash +# export ENVIRONMENT + +echo "Debug mode: $DEBUG" +echo "Environment: $ENVIRONMENT" + +if [ "$ENVIRONMENT" != "local" ]; then + echo "Running fetch_secret.py" + + PYTHONPATH=. python cognee/fetch_secret.py + + if [ $? -ne 0 ]; then + echo "Error: fetch_secret.py failed" + exit 1 + fi +else + echo '"local" environment is active, skipping fetch_secret.py' +fi + +echo "Creating database..." +# +#PYTHONPATH=. python cognee/setup_database.py +#if [ $? -ne 0 ]; then +# echo "Error: setup_database.py failed" +# exit 1 +#fi + +echo "Starting Gunicorn" + +if [ "$DEBUG" = true ]; then + echo "Waiting for the debugger to attach..." + python -m debugpy --wait-for-client --listen 0.0.0.0:5678 -m gunicorn -w 3 -k uvicorn.workers.UvicornWorker -t 30000 --bind=0.0.0.0:8000 --bind=0.0.0.0:443 --log-level debug cognee.api.client:app +else + gunicorn -w 3 -k uvicorn.workers.UvicornWorker -t 30000 --bind=0.0.0.0:8000 --bind=0.0.0.0:443 --log-level debug cognee.api.client:app +fi diff --git a/entrypoint-vanilla.sh b/entrypoint-vanilla.sh deleted file mode 100755 index ed8b4780a..000000000 --- a/entrypoint-vanilla.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash - -echo "Debug mode: $DEBUG" -echo "Environment: $ENVIRONMENT" - -echo "Starting Gunicorn" - -if [ "$ENVIRONMENT" = "local" ]; then - if [ "$DEBUG" = true ]; then - echo "Waiting for the debugger to attach..." - - python -m debugpy --wait-for-client --listen 0.0.0.0:5678 -m gunicorn -w 3 -k uvicorn.workers.UvicornWorker -t 30000 --bind=0.0.0.0:8000 --log-level debug --reload cognee.api.client:app - else - gunicorn -w 3 -k uvicorn.workers.UvicornWorker -t 30000 --bind=0.0.0.0:8000 --log-level debug --reload cognee.api.client:app - fi -else - gunicorn -w 3 -k uvicorn.workers.UvicornWorker -t 30000 --bind=0.0.0.0:8000 --log-level error cognee.api.client:app -fi diff --git a/entrypoint.sh b/entrypoint.sh index 8d8053759..ed8b4780a 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,35 +1,18 @@ #!/bin/bash -# export ENVIRONMENT echo "Debug mode: $DEBUG" echo "Environment: $ENVIRONMENT" -if [ "$ENVIRONMENT" != "local" ]; then - echo "Running fetch_secret.py" - - PYTHONPATH=. python cognee/fetch_secret.py - - if [ $? -ne 0 ]; then - echo "Error: fetch_secret.py failed" - exit 1 - fi -else - echo '"local" environment is active, skipping fetch_secret.py' -fi - -echo "Creating database..." -# -#PYTHONPATH=. python cognee/setup_database.py -#if [ $? -ne 0 ]; then -# echo "Error: setup_database.py failed" -# exit 1 -#fi - echo "Starting Gunicorn" -if [ "$DEBUG" = true ]; then - echo "Waiting for the debugger to attach..." - python -m debugpy --wait-for-client --listen 0.0.0.0:5678 -m gunicorn -w 3 -k uvicorn.workers.UvicornWorker -t 30000 --bind=0.0.0.0:8000 --bind=0.0.0.0:443 --log-level debug cognee.api.client:app +if [ "$ENVIRONMENT" = "local" ]; then + if [ "$DEBUG" = true ]; then + echo "Waiting for the debugger to attach..." + + python -m debugpy --wait-for-client --listen 0.0.0.0:5678 -m gunicorn -w 3 -k uvicorn.workers.UvicornWorker -t 30000 --bind=0.0.0.0:8000 --log-level debug --reload cognee.api.client:app + else + gunicorn -w 3 -k uvicorn.workers.UvicornWorker -t 30000 --bind=0.0.0.0:8000 --log-level debug --reload cognee.api.client:app + fi else - gunicorn -w 3 -k uvicorn.workers.UvicornWorker -t 30000 --bind=0.0.0.0:8000 --bind=0.0.0.0:443 --log-level debug cognee.api.client:app + gunicorn -w 3 -k uvicorn.workers.UvicornWorker -t 30000 --bind=0.0.0.0:8000 --log-level error cognee.api.client:app fi From 9ee2da2ccd89e215621bcfc134126c1340c837d3 Mon Sep 17 00:00:00 2001 From: Vasilije <8619304+Vasilije1990@users.noreply.github.com> Date: Sun, 23 Jun 2024 14:01:45 +0200 Subject: [PATCH 3/4] Create docker_compose.yml Add docker compose test --- .github/workflows/docker_compose.yml | 44 ++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 .github/workflows/docker_compose.yml diff --git a/.github/workflows/docker_compose.yml b/.github/workflows/docker_compose.yml new file mode 100644 index 000000000..9634474bb --- /dev/null +++ b/.github/workflows/docker_compose.yml @@ -0,0 +1,44 @@ +name: Docker Compose Test + +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + docker-compose-test: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v2 + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v1 + + - name: Build Docker images + run: | + docker-compose -f docker-compose.yml build + + - name: Run Docker Compose + run: | + docker-compose -f docker-compose.yml up -d + + - name: Wait for services to be ready + run: | + # Add any necessary health checks or wait commands + sleep 30 + + # - name: Run tests + # run: | + # docker-compose -f docker-compose.yml run --rm + # # Replace with the name of the service running the tests + # # Replace with the actual command to run your tests + + - name: Shut down Docker Compose + if: always() + run: | + docker-compose -f docker-compose.yml down From dc97819a52c2f8909c8b0b264394832e3d91e614 Mon Sep 17 00:00:00 2001 From: Boris Arzentar Date: Sun, 23 Jun 2024 20:21:22 +0200 Subject: [PATCH 4/4] fix: align tests naming --- .github/workflows/cd.yaml | 2 +- .github/workflows/cd_prd.yaml | 2 +- .github/workflows/ci.yaml | 2 +- .github/workflows/docker_compose.yml | 2 +- .github/workflows/test_neo4j.yml | 4 ++-- cognee/tests/test_qdrant.py | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml index eafc6c887..1a8134e68 100644 --- a/.github/workflows/cd.yaml +++ b/.github/workflows/cd.yaml @@ -1,4 +1,4 @@ -name: publish dev | Docker image +name: publish dev | Docker image on: push: diff --git a/.github/workflows/cd_prd.yaml b/.github/workflows/cd_prd.yaml index e546cef68..00962ab92 100644 --- a/.github/workflows/cd_prd.yaml +++ b/.github/workflows/cd_prd.yaml @@ -1,4 +1,4 @@ -name: publish prd | Docker image +name: publish prd | Docker image on: push: diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index f552112c4..7b2f5f75e 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,4 +1,4 @@ -name: build test | Docker image +name: build test | Docker image on: pull_request diff --git a/.github/workflows/docker_compose.yml b/.github/workflows/docker_compose.yml index 9634474bb..bba26cd74 100644 --- a/.github/workflows/docker_compose.yml +++ b/.github/workflows/docker_compose.yml @@ -1,4 +1,4 @@ -name: Docker Compose Test +name: test | docker compose on: push: diff --git a/.github/workflows/test_neo4j.yml b/.github/workflows/test_neo4j.yml index a80ac8e1b..fa6e30e27 100644 --- a/.github/workflows/test_neo4j.yml +++ b/.github/workflows/test_neo4j.yml @@ -1,4 +1,4 @@ -name: test neo4j +name: test | neo4j on: pull_request: @@ -18,7 +18,7 @@ jobs: name: docs changes uses: ./.github/workflows/get_docs_changes.yml - run_common: + run_neo4j_integration_test: name: test needs: get_docs_changes if: needs.get_docs_changes.outputs.changes_outside_docs == 'true' diff --git a/cognee/tests/test_qdrant.py b/cognee/tests/test_qdrant.py index 091a4f331..4085fe5f4 100644 --- a/cognee/tests/test_qdrant.py +++ b/cognee/tests/test_qdrant.py @@ -73,4 +73,4 @@ async def main(): if __name__ == "__main__": import asyncio - asyncio.run(main()) \ No newline at end of file + asyncio.run(main())