Skip to content

Commit

Permalink
Added e2e tests GH action, with docker compose build
Browse files Browse the repository at this point in the history
  • Loading branch information
dividor committed Jun 29, 2024
1 parent 177f9ec commit a28a9f7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/e2e_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,11 @@ jobs:
env > .env
export DATA_DB_CONN_STRING="postgresql://${POSTGRES_DATA_USER}:${POSTGRES_DATA_PASSWORD}@${POSTGRES_DATA_HOST}:${POSTGRES_DATA_PORT}/${POSTGRES_DATA_DB}"
export POSTGRES_RECIPE_CONN_STRING="postgresql://${POSTGRES_RECIPE_USER}:${POSTGRES_RECIPE_PASSWORD}@${POSTGRES_RECIPE_HOST}:${POSTGRES_RECIPE_PORT}/${POSTGRES_RECIPE_DB}"
##docker buildx create --use --driver=docker-container
##docker buildx bake -f ./docker-compose.yml -f docker-compose-dev.yml --set *.cache-to="type=gha,mode=max" --set *.cache-from="type=gha" --load --set *.platform=linux/amd64 recipedb datadb server promptflow
docker buildx create --use --driver=docker-container
docker buildx bake -f ./docker-compose.yml -f docker-compose-dev.yml --set *.cache-to="type=gha,mode=max" --set *.cache-from="type=gha" --load --set *.platform=linux/amd64 recipedb datadb server promptflow
#docker compose -f docker-compose.yml -f docker-compose-dev.yml build recipedb datadb server promptflow
docker compose -f docker-compose.yml -f docker-compose-dev.yml build recipedb
#docker compose -f docker-compose.yml -f docker-compose-dev.yml build recipedb
Expand Down
6 changes: 3 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ services:
restart: always
ports:
- 5435:5432
#volumes:
# - ./db/recipedb:/docker-entrypoint-initdb.d
# - ./data/recipesdb:/var/lib/postgresql/data
volumes:
- ./db/recipedb:/docker-entrypoint-initdb.d
- ./data/recipesdb:/var/lib/postgresql/data
env_file:
- .env
# recipes-server:
Expand Down

0 comments on commit a28a9f7

Please sign in to comment.