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

Increase deploy timeouts and make them configurable #170

Merged
merged 1 commit into from
Mar 31, 2017

Conversation

aguerra
Copy link
Contributor

@aguerra aguerra commented Mar 30, 2017

Also upgrade to the latest envconfig.


This change is Reviewable

}

var deploymentConfig DeploymentConfig

func init() {
err := envconfig.Process("teresadeploy", &deploymentConfig)
err := envconfig.Process("teresa_deploy", &deploymentConfig)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why?
Is it because the upgrade of envconfig dependency ?

Copy link
Contributor Author

@aguerra aguerra Mar 30, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, I prefer this style for env vars: TERESA_* .

Copy link
Contributor

@drgarcia1986 drgarcia1986 Mar 30, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hum 🤔 but, this change will broke the env TERESADEPLOY_REVISION_HISTORY_LIMIT and is out of pattern of others env configs (like TERESAFILESTORAGE or TERESADB).

What do you think about?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would changed it right now as it is undocumented, but to be on the safer side we can change the env vars style for 0.3.0 and document the change. Agree?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's "documented" on README...

But :shipit:

@drgarcia1986
Copy link
Contributor

Related #139 #151

Also upgrade to the latest envconfig.
@aguerra aguerra force-pushed the ag-increase-deploy-timeouts branch from f381090 to bbfc86e Compare March 30, 2017 17:28
Copy link
Contributor

@drgarcia1986 drgarcia1986 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👏 👏 👏 👏
🔁

@drgarcia1986 drgarcia1986 merged commit c71381f into master Mar 31, 2017
@drgarcia1986 drgarcia1986 deleted the ag-increase-deploy-timeouts branch March 31, 2017 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants