From 1df4f27008aa2c3fb4b27e6fd825604a24e9f68e Mon Sep 17 00:00:00 2001 From: F-G Fernandez <26927750+frgfm@users.noreply.github.com> Date: Tue, 20 Feb 2024 21:38:33 +0100 Subject: [PATCH] ci(github): remove nvidia driver requirement for docker orchestration --- .github/workflows/builds.yml | 2 +- docker-compose.test.yml | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml index 616cef5..37d39e0 100644 --- a/.github/workflows/builds.yml +++ b/.github/workflows/builds.yml @@ -32,7 +32,7 @@ jobs: POSTGRES_USER: postgres POSTGRES_PASSWORD: pg_pwd OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} - run: docker-compose up -d --build + run: docker-compose -f docker-compose.test.yml up -d --build - name: Docker sanity check run: sleep 20 && nc -vz localhost 8050 - name: Debug diff --git a/docker-compose.test.yml b/docker-compose.test.yml index 4380fa8..b1350ab 100644 --- a/docker-compose.test.yml +++ b/docker-compose.test.yml @@ -49,13 +49,13 @@ services: interval: 10s timeout: 3s retries: 3 - deploy: - resources: - reservations: - devices: - - driver: nvidia - count: 1 - capabilities: [gpu] + # deploy: + # resources: + # reservations: + # devices: + # - driver: nvidia + # count: 1 + # capabilities: [gpu] volumes: ollama: