From d87c800b6a4fbf55dbe33361250065907932332d Mon Sep 17 00:00:00 2001 From: Ismael Cruz Date: Thu, 5 Dec 2024 16:31:26 -0500 Subject: [PATCH] use command docker compose --- .github/workflows/e2e_tests.yml | 4 ++-- .github/workflows/get_memory_test.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/e2e_tests.yml b/.github/workflows/e2e_tests.yml index dc1a672c..4f805686 100644 --- a/.github/workflows/e2e_tests.yml +++ b/.github/workflows/e2e_tests.yml @@ -81,8 +81,8 @@ jobs: # TODO this should be enhanced to use a buildx bake to leverage layer caching for faster builds, or push to repo and simply have a pull for the run # TODO docker-compose files should be refactored to use scopes instead of different versions for each environment echo "Starting docker containers for dbs and server ..." - docker-compose pull - docker-compose up -d --build datadb recipedb server chat + docker compose pull + docker compose up -d --build datadb recipedb server chat # TODO: For some reason, maybe buildkit, in Github docker compose builds the image differently, and it doesn't work. Individual image build works. docker build --build-arg OPENAI_API_KEY=$ASSISTANTS_API_KEY \ diff --git a/.github/workflows/get_memory_test.yml b/.github/workflows/get_memory_test.yml index 25ae5e18..5f0b2856 100644 --- a/.github/workflows/get_memory_test.yml +++ b/.github/workflows/get_memory_test.yml @@ -77,8 +77,8 @@ jobs: ls data/datadb echo "Starting docker containers for dbs and server ..." - docker-compose pull - docker-compose up -d --build datadb recipedb server datadb + docker compose pull + docker compose up -d --build datadb recipedb server datadb sleep 10