Merge pull request #2497 from lightpanda-io/ci-revert-cdp-logs

ci: remove cdp logs from end to end tests
This commit is contained in:
Pierre Tachoire
2026-05-20 08:30:12 +02:00
committed by GitHub

View File

@@ -63,25 +63,6 @@ jobs:
zig-out/bin/lightpanda
retention-days: 1
cdpproxy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
repository: 'lightpanda-io/cdpproxy'
fetch-depth: 0
- name: build proxy
run: go build
- name: upload artifact
uses: actions/upload-artifact@v7
with:
name: cdpproxy
path: cdpproxy
retention-days: 1
demo-runner:
strategy:
fail-fast: false
@@ -93,7 +74,6 @@ jobs:
name: demo-runner
needs:
- zig-build-release
- cdpproxy
runs-on: ubuntu-latest
timeout-minutes: 15
@@ -113,15 +93,6 @@ jobs:
- run: chmod a+x ./lightpanda
- name: download cdpproxy
uses: actions/download-artifact@v8
with:
name: cdpproxy
- run: chmod a+x ./cdpproxy
- run: ./cdpproxy > cdp.log &
- if: matrix.proxy == true
name: build and start proxy
run: |
@@ -145,19 +116,11 @@ jobs:
echo "value=$args" >> "$GITHUB_OUTPUT"
- run: |
./lightpanda serve --port 9223 ${{ steps.args.outputs.value }} &
./lightpanda serve --port 9222 ${{ steps.args.outputs.value }} &
- run: |
go run runner/main.go
- name: upload cdp log
uses: actions/upload-artifact@v7
if: always()
with:
name: cdp-log-demo-runner-${{ matrix.proxy }}-${{ matrix.wba }}-${{ matrix.robotstxt }}
path: cdp.log
retention-days: 1
proxy-auth:
strategy:
fail-fast: false
@@ -168,7 +131,6 @@ jobs:
name: proxy-auth
needs:
- zig-build-release
- cdpproxy
runs-on: ubuntu-latest
timeout-minutes: 15
@@ -188,15 +150,6 @@ jobs:
- run: chmod a+x ./lightpanda
- name: download cdpproxy
uses: actions/download-artifact@v8
with:
name: cdpproxy
- run: chmod a+x ./cdpproxy
- run: ./cdpproxy > cdp.log &
- name: build and start proxy
run: |
cd proxy
@@ -220,7 +173,7 @@ jobs:
- name: run end to end tests through proxy
run: |
export PROXY_USERNAME=username PROXY_PASSWORD=password
./lightpanda serve --port 9223 --http-proxy http://127.0.0.1:3000 ${{ steps.args.outputs.value }} &
./lightpanda serve --port 9222 --http-proxy http://127.0.0.1:3000 ${{ steps.args.outputs.value }} &
echo $! > LPD.pid
go run runner/main.go
URL=https://demo-browser.lightpanda.io/campfire-commerce/ node puppeteer/proxy_auth.js
@@ -230,20 +183,12 @@ jobs:
- name: run request interception through proxy and playwright
run: |
export PROXY_USERNAME=username PROXY_PASSWORD=password
./lightpanda serve --port 9223 ${{ steps.args.outputs.value }} &
./lightpanda serve --port 9222 ${{ steps.args.outputs.value }} &
echo $! > LPD.pid
BASE_URL=https://demo-browser.lightpanda.io/ node playwright/proxy_auth.js
kill `cat LPD.pid`
while kill -0 `cat LPD.pid` 2>/dev/null; do sleep 1; done
- name: upload cdp log
uses: actions/upload-artifact@v7
if: always()
with:
name: cdp-log-proxy-auth-${{ matrix.wba }}-${{ matrix.robotstxt }}
path: cdp.log
retention-days: 1
wba-test:
name: wba-test
needs: zig-build-release