Skip to content

Commit

Permalink
Compose file for all commands
Browse files Browse the repository at this point in the history
  • Loading branch information
jonkafton committed Feb 5, 2024
1 parent 8d94396 commit 0007d89
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .env.ci
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ CELERY_BROKER_URL=redis://redis:6379/4
CELERY_RESULT_BACKEND=redis://redis:6379/4
TIKA_CLIENT_ONLY=True
MITOPEN_BASE_URL=http://localhost:8063/
MITOPEN_HOSTNAME=localhost:8063
MAILGUN_KEY=fake_mailgun_key
MAILGUN_SENDER_DOMAIN=other.fake.site
OPENSEARCH_INDEX=testindex
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/e2e-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ jobs:
run: yarn install --immutable

- name: Build frontend
run: yarn run build
run: yarn build

- name: Run services and E2E tests
run: |
docker compose -f docker-compose-e2e-tests.yml up nginx web db --detach --wait
docker compose cp e2e_testing/fixtures/002_carousel.sql db:/002_carousel.sql
docker compose exec -u postgres db psql postgres postgres -f /002_carousel.sql
docker compose -f docker-compose-e2e-tests.yml cp e2e_testing/fixtures/002_carousel.sql db:/002_carousel.sql
docker compose -f docker-compose-e2e-tests.yml exec -u postgres db psql postgres postgres -f /002_carousel.sql
docker compose -f docker-compose-e2e-tests.yml run e2e-tests
docker compose down
docker compose -f docker-compose-e2e-tests.yml down

0 comments on commit 0007d89

Please sign in to comment.