Skip to content

Conversation

vbrown608
Copy link
Contributor

@vbrown608 vbrown608 commented Sep 29, 2020

Unfortunately, this is really waiting until the deploy is in the ready state, but we already have a public method called WaitUntilDeployReady that waits until the deploy is ready or prepared (ie ready to start uploading files).

I went with WaitUntilDeployLive because it mirrors the "Site is live" message that appears in the deploy logs. Open to other suggestions.

Closes #261
Part of https://github.com/netlify/pod-the-builder/issues/47
blep

@vbrown608 vbrown608 requested a review from a team as a code owner September 29, 2020 23:33
@netlify
Copy link

netlify bot commented Sep 29, 2020

Deploy preview for open-api ready!

Built with commit e2c70ae

https://deploy-preview-262--open-api.netlify.app

@vbrown608 vbrown608 added the type: feature code contributing to the implementation of a feature and/or user facing functionality label Sep 29, 2020
@vbrown608 vbrown608 force-pushed the 261-wait-until-deploy-live branch from 41d2435 to e2c70ae Compare September 29, 2020 23:36
@Benaiah
Copy link
Contributor

Benaiah commented Sep 30, 2020

Thanks for doing this PR! I agree that "live" is a good term to use in the name for this method, especially given the "Site is live" message. It's also much more specific than "ready", so it'll be clearer what it means when we use it elsewhere.

@vbrown608 vbrown608 merged commit 5c4e59c into master Sep 30, 2020
@vbrown608 vbrown608 deleted the 261-wait-until-deploy-live branch September 30, 2020 01:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature code contributing to the implementation of a feature and/or user facing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a WaitUntilDeployLive method to the Go client
2 participants