-
Notifications
You must be signed in to change notification settings - Fork 9.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
misc: more releasing tweaks #9772
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,7 +60,7 @@ and that no new PRs should be merged until you are done. | |
```sh | ||
# Run the tests. | ||
bash ./lighthouse-core/scripts/release/test.sh | ||
# Change into the pristine folder. | ||
# Change into the newly-created pristine folder. | ||
cd ../lighthouse-pristine | ||
``` | ||
|
||
|
@@ -85,7 +85,7 @@ yarn --cwd ~/chromium/src/third_party/blink/renderer/devtools test 'http/tests/d | |
git diff | ||
|
||
# Verify that the Audits panel still works. Consider the new features that have been added. | ||
# If anything is wrong, stop releasing, investigate, and prioritize landing the PR. | ||
# If anything is wrong, stop releasing, investigate, land a fix and start over. | ||
|
||
# For bonus points, add some tests covering new features. Either a new test, or an extra | ||
# assertion in an existing test. | ||
|
@@ -105,7 +105,7 @@ Confirm Lightrider integration will work: | |
|
||
# Verify that Lightrider works properly, and is generating reports fully. Consider the new features that have been added. | ||
# Note: if the changes include proto changes make sure that the API has those new fields. | ||
# If anything is wrong, stop releasing, investigate, and prioritize landing the PR. | ||
# If anything is wrong, stop releasing, investigate, land a fix and start over. | ||
|
||
# For bonus points, add some tests covering new features. Either a new test, or an extra | ||
# assertion in an existing test. | ||
|
@@ -114,10 +114,6 @@ Confirm Lightrider integration will work: | |
Now that the integrations are confirmed to work, go back to `lighthouse` folder. | ||
|
||
```sh | ||
# Run the tests again. | ||
# Note: you can skip this if you didn't need to land any changes. | ||
bash ./lighthouse-core/scripts/release/test.sh | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this doesn't really make sense here (if you've just had to land a PR you should be starting over) |
||
|
||
# Prepare the commit, replace x.x.x with the desired version | ||
bash ./lighthouse-core/scripts/release/prepare-commit.sh x.x.x | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,9 +23,6 @@ yarn build-all | |
echo "Running the standard test suite..." | ||
yarn test | ||
|
||
echo "Running the smoke tests...." | ||
yarn smoke || yarn smoke || yarn smoke | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this is not really necessary.
|
||
|
||
echo "Testing the CLI..." | ||
yarn start "https://example.com" --view | ||
|
||
|
@@ -39,7 +36,7 @@ cd /tmp/lighthouse-local-test | |
|
||
npm init -y | ||
npm install "$LH_PRISTINE_ROOT/lighthouse-$VERSION.tgz" | ||
npm explore lighthouse -- npm run smoke | ||
npm explore lighthouse -- npm run smoke || npm explore lighthouse -- npm run smoke | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. and it's nice to run this twice just in case there's some flake (like I just experienced) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. should we make it three like we just removed above? :) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. wanna lift the bash-ism i used in #9766 ? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. FWIW connor that actually required significant cognitive overhead for me to verify it's doing what we want it to do. when it's only a couple times, I'd greatly prefer |
||
npm explore lighthouse -- npm run chrome # try the manual launcher | ||
npm explore lighthouse -- npm run fast -- http://example.com | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is confusing unless you realize it was just created for you