Skip to content

Commit

Permalink
CI: Add --max-connections-per-host for muffet (#3796)
Browse files Browse the repository at this point in the history
  • Loading branch information
gmuloc authored Mar 29, 2024
1 parent e8deaa3 commit 65dd9b8
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions .github/workflows/pull-request-management.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ jobs:
runs-on: ubuntu-latest
needs: [ file-changes ]
if: needs.file-changes.outputs.docs == 'true'
timeout-minutes: 10
timeout-minutes: 15
steps:
- uses: actions/checkout@v3
- name: 'Start docker-compose stack'
Expand All @@ -113,9 +113,21 @@ jobs:
bash -c 'while [[ "$(curl -s -o /dev/null -w ''%{http_code}'' 127.0.0.1:8000)" != "200" ]]; do sleep 5; done'
- name: Check links for 404
run: |
docker run --network container:webdoc_avd raviqqe/muffet:2.9.3 http://127.0.0.1:8000/ \
-e ".*fonts.googleapis.com.*" -e ".*fonts.gstatic.com.*" -e ".*tools.ietf.org.*" -e ".*edit.*" -e ".*docs.github.com.*" -e "twitter.com" -e "www.docker.com" -e "hub.docker.com" -e "tech-library.arista.com" \
-f --max-redirections=3 --timeout=30 --rate-limit=1 --buffer-size 8192
docker run --network container:webdoc_avd raviqqe/muffet:2.10.1 http://127.0.0.1:8000/ -f \
--buffer-size 8192 \
--exclude ".*fonts.googleapis.com.*" \
--exclude ".*fonts.gstatic.com.*" \
--exclude ".*tools.ietf.org.*" \
--exclude ".*edit.*" \
--exclude ".*docs.github.com.*" \
--exclude "twitter.com" \
--exclude "www.docker.com" \
--exclude "hub.docker.com" \
--exclude "tech-library.arista.com" \
--max-connections-per-host 30 \
--max-redirections 3 \
--rate-limit 1 \
--timeout 30
- name: 'Stop docker-compose stack'
run: |
docker-compose -f development/docker-compose.yml down
Expand Down

0 comments on commit 65dd9b8

Please sign in to comment.