-
Notifications
You must be signed in to change notification settings - Fork 79
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
Conversation
k8s/deployments.go
Outdated
} | ||
|
||
var deploymentConfig DeploymentConfig | ||
|
||
func init() { | ||
err := envconfig.Process("teresadeploy", &deploymentConfig) | ||
err := envconfig.Process("teresa_deploy", &deploymentConfig) |
There was a problem hiding this comment.
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 ?
There was a problem hiding this comment.
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_*
.
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
Also upgrade to the latest envconfig.
f381090
to
bbfc86e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👏 👏 👏 👏
🔁
Also upgrade to the latest envconfig.
This change is