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

[now-client] [now-cli] Update version of deployment API #3188

Merged

Conversation

thasophearak
Copy link
Contributor

@thasophearak thasophearak commented Oct 23, 2019

This pull request ensures that new deployments will use the latest version of the deployments API.

More details: https://zeit.atlassian.net/browse/PRODUCT-28

@codecov-io
Copy link

Codecov Report

Merging #3188 into canary will increase coverage by 0.21%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           canary    #3188      +/-   ##
==========================================
+ Coverage   13.33%   13.54%   +0.21%     
==========================================
  Files         268      268              
  Lines       10312    10335      +23     
  Branches     1211     1212       +1     
==========================================
+ Hits         1375     1400      +25     
+ Misses       8877     8873       -4     
- Partials       60       62       +2
Impacted Files Coverage Δ
src/util/dev/router.ts 82.35% <0%> (-0.34%) ⬇️
src/util/dev/server.ts 64.8% <0%> (+0.32%) ⬆️
src/util/dev/validate.ts 87.87% <0%> (+27.87%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 94a2b01...64c096c. Read the comment docs.

@leo leo changed the title [now-client] Update version of deployment API [now-client] [now-cli] Update version of deployment API Oct 23, 2019
@rdev rdev added the automerge label Oct 24, 2019
@thasophearak thasophearak merged commit 18fa193 into canary Oct 25, 2019
@thasophearak thasophearak deleted the PRODUCT-28/update-now-client-deployment-api-version branch October 25, 2019 04:28
leo pushed a commit that referenced this pull request Oct 25, 2019
* Update version of deployment API

* Add `alias-assigned` event and handling

* Replace v9 api with v10

* Don't return on immediate ready

* Handle alias-assigned for v1 deployments

* Improve event ordering

* Detect upload deployment readiness by `alias-assigned`

* rebuild

* Fix upload readiness event type

* Check for aliases before running status checks

* Improve event flow and wait for `ready` in v1 deployments

* Remove console.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants