From 7041ea643d82ba3e2780d9a63c7dd6eb0a3b0d6f Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Fri, 10 Mar 2023 12:54:00 +0100 Subject: [PATCH] disable playwright for now --- .github/workflows/docker-image.yml | 64 +++++++++++++++--------------- 1 file changed, 32 insertions(+), 32 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 732197ac02..7e77435826 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -109,38 +109,38 @@ jobs: ${{ steps.meta-ee-public.outputs.labels }} org.opencontainers.image.licenses=Windmill-Enterprise-License - - playwright: - runs-on: [self-hosted, new] - needs: [build] - services: - postgres: - image: postgres - env: - POSTGRES_DB: windmill - POSTGRES_USER: admin - POSTGRES_PASSWORD: changeme - ports: - - 5432:5432 - options: >- - --health-cmd pg_isready - --health-interval 10s - --health-timeout 5s - --health-retries 5 - steps: - - uses: actions/checkout@v3 - - name: "Docker" - run: echo "::set-output name=id::$(docker run --network=host --rm -d -p 8000:8000 --privileged -it -e DATABASE_URL=postgres://admin:changeme@localhost:5432/windmill -e BASE_INTERNAL_URL=http://localhost:8000 ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest)" - id: docker-container - - uses: actions/setup-node@v3 - with: - node-version: 16 - - name: "Playwright run" - timeout-minutes: 2 - run: cd frontend && npm ci @playwright/test && npx playwright install && export BASE_URL=http://localhost:8000 && npm run test - - name: "Clean up" - run: docker kill ${{ steps.docker-container.outputs.id }} - if: always() + # disabled until we make it 100% reliable and add more meaningful tests + # playwright: + # runs-on: [self-hosted, new] + # needs: [build] + # services: + # postgres: + # image: postgres + # env: + # POSTGRES_DB: windmill + # POSTGRES_USER: admin + # POSTGRES_PASSWORD: changeme + # ports: + # - 5432:5432 + # options: >- + # --health-cmd pg_isready + # --health-interval 10s + # --health-timeout 5s + # --health-retries 5 + # steps: + # - uses: actions/checkout@v3 + # - name: "Docker" + # run: echo "::set-output name=id::$(docker run --network=host --rm -d -p 8000:8000 --privileged -it -e DATABASE_URL=postgres://admin:changeme@localhost:5432/windmill -e BASE_INTERNAL_URL=http://localhost:8000 ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest)" + # id: docker-container + # - uses: actions/setup-node@v3 + # with: + # node-version: 16 + # - name: "Playwright run" + # timeout-minutes: 2 + # run: cd frontend && npm ci @playwright/test && npx playwright install && export BASE_URL=http://localhost:8000 && npm run test + # - name: "Clean up" + # run: docker kill ${{ steps.docker-container.outputs.id }} + # if: always() publish_privately_heavy: