Skip to content
This repository was archived by the owner on Mar 31, 2020. It is now read-only.

Conversation

@shawnbot
Copy link
Contributor

@shawnbot shawnbot commented Mar 15, 2019

This is an attempted fix for #6 and a more certain fix for #9. There are two new options:

  • --retries / -r (or options.retries) is a number that defaults to 3, and determines the number of times that we'll re-try the initial deployment. There are tests that simulate failure a number of times, and they seem to work, so let's give this a shot?

  • --verify (or options.verify) is the inverse of the Now CLI's --no-verify flag. We default to false because verification can time out for sites that scale (as described in Run now with --no-verify #9), and there's no way to adjust the timeout period. Closes Run now with --no-verify #9.

    In other words: now --no-verify is the default, and passing --verify will run now.

This also includes a fix for #10, because why not?

@shawnbot shawnbot requested a review from emplums March 15, 2019 21:14
shawnbot added a commit to primer/react that referenced this pull request Mar 15, 2019
This is a test of the retry functionality in primer/deploy#12
@shawnbot shawnbot marked this pull request as ready for review March 15, 2019 22:04
@shawnbot shawnbot changed the base branch from master to release-3.0.0 March 15, 2019 22:27
@shawnbot shawnbot merged commit 8065522 into release-3.0.0 Mar 15, 2019
@shawnbot shawnbot deleted the retry branch March 15, 2019 22:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants