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

Set healthchecks based on "healthchecks" field #853

Merged
merged 1 commit into from
May 1, 2020
Merged

Conversation

pchico83
Copy link
Contributor

@pchico83 pchico83 commented May 1, 2020

Fixes #849

Signed-off-by: Pablo Chico de Guzman <pchico83@gmail.com>
@codecov
Copy link

codecov bot commented May 1, 2020

Codecov Report

Merging #853 into master will decrease coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #853      +/-   ##
==========================================
- Coverage   33.07%   33.05%   -0.02%     
==========================================
  Files          67       67              
  Lines        5225     5224       -1     
==========================================
- Hits         1728     1727       -1     
  Misses       3354     3354              
  Partials      143      143              
Impacted Files Coverage Δ
pkg/model/dev.go 63.37% <100.00%> (-0.10%) ⬇️

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 7ec77d3...9b2912a. Read the comment docs.

@@ -99,6 +99,7 @@ type Dev struct {
Environment []EnvVar `json:"environment,omitempty" yaml:"environment,omitempty"`
Secrets []Secret `json:"secrets,omitempty" yaml:"secrets,omitempty"`
Command []string `json:"command,omitempty" yaml:"command,omitempty"`
Healthchecks bool `json:"healthchecks,omitempty" yaml:"healthchecks,omitempty"`
Copy link
Member

Choose a reason for hiding this comment

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

would this make them on or off by default?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

it disables them by default

@pchico83 pchico83 merged commit bcf7793 into master May 1, 2020
@pchico83 pchico83 deleted the healthchecks branch May 1, 2020 17:25
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.

Disable healthchecks for "services" on "okteto up"
2 participants