Skip to content

Fix bugs in custom builder#2130

Merged
priyawadhwa merged 1 commit intoGoogleContainerTools:masterfrom
priyawadhwa:custombug
May 15, 2019
Merged

Fix bugs in custom builder#2130
priyawadhwa merged 1 commit intoGoogleContainerTools:masterfrom
priyawadhwa:custombug

Conversation

@priyawadhwa
Copy link
Copy Markdown
Contributor

@priyawadhwa priyawadhwa commented May 15, 2019

This PR fixes the following bugs in the custom builder:

  1. The build command should be run in the artifact context (fixes Custom artifact build command should run in the artifact context #2125)
  2. The build command should be split into executable+arguments so that
    flags can be passed in

This PR also adds a unit test for each of these bugs.

This PR fixes the following bugs in the custom builder:

  1. The build command should be run in the artifact context (GoogleContainerTools#2125)
  2. The build command should be split into executable+arguments so that
  flags can be passed in

This PR also adds a unit test for each of these bugs.
@codecov-io
Copy link
Copy Markdown

Codecov Report

Merging #2130 into master will increase coverage by 0.06%.
The diff coverage is 46.15%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2130      +/-   ##
==========================================
+ Coverage   56.28%   56.35%   +0.06%     
==========================================
  Files         180      180              
  Lines        7796     7806      +10     
==========================================
+ Hits         4388     4399      +11     
+ Misses       2991     2988       -3     
- Partials      417      419       +2
Impacted Files Coverage Δ
pkg/skaffold/build/custom/custom.go 66.66% <46.15%> (+14.94%) ⬆️

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 aa059bd...cf78003. Read the comment docs.

Copy link
Copy Markdown
Contributor

@nkubala nkubala left a comment

Choose a reason for hiding this comment

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

💯 +1 for good tests!

@priyawadhwa priyawadhwa merged commit 15799f9 into GoogleContainerTools:master May 15, 2019
@priyawadhwa priyawadhwa deleted the custombug branch May 15, 2019 22:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Custom artifact build command should run in the artifact context

4 participants