From 26325c72192c0bcfc45c5f0fcee80163d8c5d772 Mon Sep 17 00:00:00 2001 From: ethangardner Date: Fri, 5 Jul 2024 17:33:15 -0400 Subject: [PATCH] clean up logging for docker build --- .github/workflows/post-deploy.yml | 3 +-- e2e/Dockerfile | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/post-deploy.yml b/.github/workflows/post-deploy.yml index ff306920..b89a87e3 100644 --- a/.github/workflows/post-deploy.yml +++ b/.github/workflows/post-deploy.yml @@ -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 diff --git a/e2e/Dockerfile b/e2e/Dockerfile index a4509919..1fb95716 100644 --- a/e2e/Dockerfile +++ b/e2e/Dockerfile @@ -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