Skip to content

Commit

Permalink
clean up logging for docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
ethangardner committed Jul 5, 2024
1 parent 70ae3e9 commit 26325c7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/post-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@ jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
#if: github.event.deployment_status.state == 'success'
steps:
- uses: actions/checkout@v4
- name: Build Docker to run tests
run: |
docker build --platform linux/amd64 --tag 'playwright' . -f ./e2e/Dockerfile --progress=plain --target test
docker build --platform linux/amd64 --tag 'playwright' . -f ./e2e/Dockerfile --target test
4 changes: 2 additions & 2 deletions e2e/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ EXPOSE 9090
EXPOSE 9191
RUN pnpm build --filter=@atj/spotlight --filter=@atj/design
WORKDIR ./e2e
RUN serve ../apps/spotlight/dist -p 9090 & sleep 5; pnpm playwright test;
RUN serve ../packages/design/storybook-static -p 9191 & sleep 5; pnpm --filter=end-to-end-tests test:storybook --url http://localhost:9191 --config-dir ../packages/design/.storybook/ --browsers firefox chromium
RUN serve ../apps/spotlight/dist -p 9090 -L & sleep 5; pnpm playwright test;
RUN serve ../packages/design/storybook-static -p 9191 -L & sleep 5; pnpm --filter=end-to-end-tests test:storybook --url http://localhost:9191 --config-dir ../packages/design/.storybook/ --browsers firefox chromium

FROM base as serve
ENV E2E_ENDPOINT=http://localhost:4321
Expand Down

0 comments on commit 26325c7

Please sign in to comment.