Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
- run: yarn diff:sample-json
- run: yarn diff:flow-sample-json
- run: yarn lint
- run: yarn test-lantern

- run: yarn test-legacy-javascript
env:
# https://github.com/nodejs/node/issues/51555#issuecomment-1974877052
Expand Down
2 changes: 1 addition & 1 deletion core/scripts/lantern/collect/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ DEBUG=1 WPT_KEY=... node --max-old-space-size=4096 collect.js

Output will be in `dist/collect-lantern-traces`, and zipped at `dist/collect-lantern-traces.zip`.

Update the zip on Google Drive and `download-traces.sh`.
Update the zip on at http://go/lhsth and any references in `download-traces.sh`.


## Run in GCP
Expand Down
14 changes: 10 additions & 4 deletions core/scripts/lantern/download-traces.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,17 @@ if [[ -f lantern-data/site-index-plus-golden-expectations.json ]] && ! [[ "$FORC
exit 0
fi


rm -rf lantern-data/
mkdir -p lantern-data/ && cd lantern-data

curl -o golden-lantern-traces.zip -L https://storage.googleapis.com/lh-lantern-data/golden-lantern-traces-$VERSION.zip

unzip -q golden-lantern-traces.zip
rm golden-lantern-traces.zip
echo $VERSION > version

echo "Manual steps due to data download restrictions:"
echo "open http://go/lhsth "
echo "cd $LH_ROOT_PATH"
echo "download golden-lantern-traces-$VERSION.zip to $LH_ROOT_PATH"
echo "rename to golden-lantern-traces.zip"
echo "unzip it."
echo "then delete the zip".

Loading