Skip to content
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

puppeteer@next is not autoupdated #2925

Closed
aslushnikov opened this issue Jul 20, 2018 · 5 comments
Closed

puppeteer@next is not autoupdated #2925

aslushnikov opened this issue Jul 20, 2018 · 5 comments
Assignees
Labels

Comments

@aslushnikov
Copy link
Contributor

Recent eslint hack caused all NPM keys to be invalidated. This broke our puppeteer@next self-deployment through travis-ci.

@aslushnikov
Copy link
Contributor Author

Ok, this didn't work.

@aslushnikov
Copy link
Contributor Author

no luck!

@aslushnikov aslushnikov reopened this Jul 21, 2018
aslushnikov added a commit to aslushnikov/puppeteer that referenced this issue Jul 23, 2018
aslushnikov added a commit to aslushnikov/puppeteer that referenced this issue Jul 23, 2018
aslushnikov added a commit to aslushnikov/puppeteer that referenced this issue Jul 23, 2018
@aslushnikov
Copy link
Contributor Author

It works!

@ntzm
Copy link
Contributor

ntzm commented Sep 6, 2018

I think this is still a little broken, the latest commit d54c7ed isn't on next

@aslushnikov
Copy link
Contributor Author

@ntzm crazy. Indeed.

@aslushnikov aslushnikov reopened this Sep 6, 2018
aslushnikov added a commit to aslushnikov/puppeteer that referenced this issue Sep 6, 2018
When we merge commits to master, Travis kicks job to build a new commit
and to publish new version of puppeteer@next.

If two commits are landed in almost the same time, then travis starts
two parallel jobs to build each commit. This race condition results
in the incorrect puppeteer@next revision.

This patch teaches apply_next_version.js to verify if current HEAD
is matching upstream HEAD. If it doesn't, the predeploy hook fails
which (hopefully) aborts deployment.

Fixes puppeteer#2925.
aslushnikov added a commit that referenced this issue Sep 6, 2018
When we merge commits to master, Travis kicks job to build a new commit
and to publish new version of puppeteer@next.

If two commits are landed in almost the same time, then travis starts
two parallel jobs to build each commit. This race condition results
in the incorrect puppeteer@next revision.

This patch teaches apply_next_version.js to verify if current HEAD
is matching upstream HEAD. If it doesn't, the predeploy hook fails
which (hopefully) aborts deployment.

Fixes #2925.
aslushnikov added a commit to aslushnikov/puppeteer that referenced this issue Sep 6, 2018
It turns out that travis runs commands in sh rather then in bash.

Fixes puppeteer#2925.
aslushnikov added a commit that referenced this issue Sep 6, 2018
It turns out that travis runs commands in sh rather then in bash.

Fixes #2925.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants