Skip to content

Commit

Permalink
List initial build directory files
Browse files Browse the repository at this point in the history
  • Loading branch information
jonkafton committed Feb 7, 2024
1 parent 587cadf commit 859e6c6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/e2e-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,19 @@ jobs:
run: yarn build

- name: List build files (debug)
run: ls -laR /src/staticfiles
run: ls -laR frontends/mit-open/build

- name: Build services
run: docker compose -f docker-compose-e2e-tests.yml build

- name: Start services
run: docker compose -f docker-compose-e2e-tests.yml up nginx web db --detach --wait

- name: Print the web service startup logs
run: docker compose -f docker-compose-e2e-tests.yml logs web

- name: List static files (debug)
run: docker compose -f docker-compose-e2e-tests.yml exec web ls /src/staticfiles -laR
run: docker compose -f docker-compose-e2e-tests.yml exec web ls /src/staticfiles -laR 2>&1 || true

- name: Apply test data
run: ./e2e_testing/scripts/apply-fixtures.sh
Expand Down
2 changes: 1 addition & 1 deletion docker-compose-e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ services:
web:
build:
context: .
dockerfile: Dockerfile
# dockerfile: Dockerfile-e2e
environment:
PORT: 8061
env_file: .env.ci
Expand Down

0 comments on commit 859e6c6

Please sign in to comment.