reduce linkinator concurrency from 300 to 100 (#28176)
* reduce linkinator concurrency from 300 to 100 * reduce it and use self-hosted * try again * actually do concurrency of 10 * move the override to the Action workflow * typo * avoid memory bloat * rename * back to 100 * set LINKINATOR_CONCURRENCY on the right thing * remove some debugging
This commit is contained in:
12
.github/workflows/check-all-english-links.yml
vendored
12
.github/workflows/check-all-english-links.yml
vendored
@@ -58,9 +58,6 @@ jobs:
|
||||
REQUEST_TIMEOUT: 20000
|
||||
# Don't care about CDN caching image URLs
|
||||
DISABLE_REWRITE_ASSET_URLS: true
|
||||
# The default is 300 which works OK on a fast macbook pro
|
||||
# but so well in Actions.
|
||||
LINKINATOR_CONCURRENCY: 100
|
||||
run: |
|
||||
node server.mjs > /tmp/stdout.log 2> /tmp/stderr.log &
|
||||
sleep 5
|
||||
@@ -75,6 +72,10 @@ jobs:
|
||||
cat /tmp/stderr.log
|
||||
|
||||
- name: Run script
|
||||
env:
|
||||
# The default is 300 which works OK on a fast macbook pro
|
||||
# but not so well in Actions.
|
||||
LINKINATOR_CONCURRENCY: 100
|
||||
run: |
|
||||
script/check-english-links.js > broken_links.md
|
||||
|
||||
@@ -86,11 +87,6 @@ jobs:
|
||||
#
|
||||
# https://docs.github.com/actions/reference/context-and-expression-syntax-for-github-actions#job-status-check-functions
|
||||
|
||||
- if: ${{ failure() }}
|
||||
name: Debug broken_links.md
|
||||
run: |
|
||||
ls -lh broken_links.md
|
||||
wc -l broken_links.md
|
||||
- uses: actions/upload-artifact@6673cd052c4cd6fcf4b4e6e60ea986c889389535
|
||||
if: ${{ failure() }}
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user