Skip to content

More tests#2128

Merged
dgageot merged 9 commits intoGoogleContainerTools:masterfrom
dgageot:more-tests
May 21, 2019
Merged

More tests#2128
dgageot merged 9 commits intoGoogleContainerTools:masterfrom
dgageot:more-tests

Conversation

@dgageot
Copy link
Copy Markdown
Contributor

@dgageot dgageot commented May 15, 2019

No description provided.

@dgageot dgageot force-pushed the more-tests branch 3 times, most recently from 4d4bdda to b190fbf Compare May 15, 2019 14:31
@codecov-io
Copy link
Copy Markdown

codecov-io commented May 15, 2019

Codecov Report

Merging #2128 into master will increase coverage by 0.5%.
The diff coverage is 25.39%.

Impacted file tree graph

@@           Coverage Diff            @@
##           master   #2128     +/-   ##
========================================
+ Coverage   56.79%   57.3%   +0.5%     
========================================
  Files         183     182      -1     
  Lines        7890    7869     -21     
========================================
+ Hits         4481    4509     +28     
+ Misses       2995    2948     -47     
+ Partials      414     412      -2
Impacted Files Coverage Δ
cmd/skaffold/app/cmd/deploy.go 68.75% <0%> (+16.36%) ⬆️
cmd/skaffold/app/cmd/debug.go 61.53% <0%> (ø) ⬆️
cmd/skaffold/app/cmd/diagnose.go 38.09% <0%> (+3.31%) ⬆️
cmd/skaffold/app/cmd/dev.go 24.44% <0%> (+1.52%) ⬆️
pkg/skaffold/runner/dev.go 56.52% <0%> (ø) ⬆️
cmd/skaffold/app/cmd/runner.go 47.36% <0%> (-8.89%) ⬇️
cmd/skaffold/app/cmd/delete.go 63.63% <0%> (+19.88%) ⬆️
cmd/skaffold/app/cmd/run.go 60% <0%> (+17.14%) ⬆️
pkg/skaffold/config/options.go 92.85% <100%> (+2.38%) ⬆️
pkg/skaffold/util/util.go 75.39% <100%> (+9.7%) ⬆️
... and 4 more

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 fb7c2a4...cc64fd2. Read the comment docs.

return append(s[:i], s[i+1:]...)
for i := len(s) - 1; i >= 0; i-- {
if s[i] == target {
s = append(s[:i], s[i+1:]...)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

😳 was this causing bugs anywhere?

Copy link
Copy Markdown
Contributor Author

@dgageot dgageot May 17, 2019

Choose a reason for hiding this comment

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

I don’t think so. I added tests and realized it was doing the job only partially

artifact := artifacts[i]

if !r.IsTargetImage(artifact) {
if !r.runCtx.Opts.IsTargetImage(artifact) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

this was broken before then?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

No. I just moved the function

@priyawadhwa
Copy link
Copy Markdown
Contributor

This needs a rebase :)

dgageot added 9 commits May 21, 2019 18:05
Signed-off-by: David Gageot <david@gageot.net>
Signed-off-by: David Gageot <david@gageot.net>
Signed-off-by: David Gageot <david@gageot.net>
Signed-off-by: David Gageot <david@gageot.net>
It’s now easier to understand what the pod spec
looks like.

Signed-off-by: David Gageot <david@gageot.net>
Signed-off-by: David Gageot <david@gageot.net>
Signed-off-by: David Gageot <david@gageot.net>
Signed-off-by: David Gageot <david@gageot.net>
Signed-off-by: David Gageot <david@gageot.net>
@dgageot
Copy link
Copy Markdown
Contributor Author

dgageot commented May 21, 2019

@nkubala @priyawadhwa It has been rebased

@dgageot dgageot merged commit 6b7a28e into GoogleContainerTools:master May 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants