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

Support specific buildpacks for buildpack artifact #3584

Merged

Conversation

kissmikijr
Copy link
Contributor

@kissmikijr kissmikijr commented Jan 26, 2020

Relates to #3581

Description
Buildpack artifact now able to pass the buildpacks parameter to the pack.Build command. So now we can specify which builder and in which order should buildpacks use.

User facing changes

n/a

Before
n/a

After
n/a
Next PRs.
n/a
-->

Submitter Checklist

These are the criteria that every PR should meet, please check them off as you
review them:

  • Includes unit tests
  • Mentions any output changes.
  • Adds documentation as needed: user docs, YAML reference, CLI reference.
  • Adds integration tests if needed.

Reviewer Notes

  • The code flow looks good.
  • Unit test added.
  • User facing changes look good.

Release Notes

Examples of user facing changes:
- Skaffold config changes like
  e.g. "Add buildArgs to `Kustomize` deployer skaffold config."
- Bug fixes
  e.g. "Improve skaffold init behavior when tags are used in manifests"
- Any changes in skaffold behavior
  e.g. "Artifact caching is turned on by default."

@googlebot
Copy link

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

📝 Please visit https://cla.developers.google.com/ to sign.

Once you've signed (or fixed any issues), please reply here with @googlebot I signed it! and we'll verify it.


What to do if you already signed the CLA

Individual signers
Corporate signers

ℹ️ Googlers: Go here for more info.

@kissmikijr
Copy link
Contributor Author

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

📝 Please visit https://cla.developers.google.com/ to sign.

Once you've signed (or fixed any issues), please reply here with @googlebot I signed it! and we'll verify it.

What to do if you already signed the CLA

Individual signers
Corporate signers

ℹ️ Googlers: Go here for more info.

@googlebot I signed it!

@googlebot
Copy link

We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google.
In order to pass this check, please resolve this problem and then comment @googlebot I fixed it.. If the bot doesn't comment, it means it doesn't think anything has changed.

ℹ️ Googlers: Go here for more info.

@kissmikijr
Copy link
Contributor Author

I've never written any go code, and I didn't see test file for lifecycle.go, so I did not write unittests for this change. If it is needed any help would be appreciated :)

@dgageot dgageot self-assigned this Jan 26, 2020
@codecov
Copy link

codecov bot commented Jan 26, 2020

Codecov Report

Merging #3584 into master will decrease coverage by 0.07%.
The diff coverage is 78.94%.

Impacted Files Coverage Δ
pkg/skaffold/schema/latest/config.go 100% <ø> (ø) ⬆️
pkg/skaffold/build/local/local.go 60% <0%> (ø) ⬆️
pkg/skaffold/docker/image_util.go 0% <0%> (ø) ⬆️
pkg/skaffold/schema/v2alpha2/upgrade.go 85.71% <100%> (ø) ⬆️
pkg/skaffold/build/cache/lookup.go 100% <100%> (ø) ⬆️
pkg/skaffold/build/buildpacks/lifecycle.go 81.08% <100%> (+9.65%) ⬆️
pkg/skaffold/build/buildpacks/metadata.go 100% <100%> (ø)
pkg/skaffold/initializer/init.go 62.74% <100%> (ø) ⬆️
pkg/skaffold/build/cache/cache.go 56.81% <100%> (+1%) ⬆️
cmd/skaffold/app/cmd/init.go 100% <100%> (ø) ⬆️
... and 15 more

@kissmikijr
Copy link
Contributor Author

@googlebot I fixed it.

@googlebot
Copy link

CLAs look good, thanks!

ℹ️ Googlers: Go here for more info.

@dgageot dgageot added the kokoro:run runs the kokoro jobs on a PR label Jan 26, 2020
@kokoro-team kokoro-team removed the kokoro:run runs the kokoro jobs on a PR label Jan 26, 2020
@dgageot
Copy link
Contributor

dgageot commented Jan 26, 2020

@kissmikijr
Copy link
Contributor Author

kissmikijr commented Jan 26, 2020 via email

@kissmikijr
Copy link
Contributor Author

@pull-request-size pull-request-size bot added size/M and removed size/S labels Jan 26, 2020
@kissmikijr
Copy link
Contributor Author

I am not sure why did the Travis CI failed. I got that I should commit skaffold/deploy/Dockerfile from check-skaffold-builder.sh I tried to git add it but nothing happend. :/

@balopat
Copy link
Contributor

balopat commented Jan 27, 2020

I am not sure why did the Travis CI failed. I got that I should commit skaffold/deploy/Dockerfile from check-skaffold-builder.sh I tried to git add it but nothing happend. :/

I restarted the Travis build - it was a failing test in master that's fixed now.

@balopat balopat added the kokoro:run runs the kokoro jobs on a PR label Jan 27, 2020
@kokoro-team kokoro-team removed the kokoro:run runs the kokoro jobs on a PR label Jan 27, 2020
@dgageot dgageot added the kokoro:run runs the kokoro jobs on a PR label Jan 27, 2020
@kokoro-team kokoro-team removed the kokoro:run runs the kokoro jobs on a PR label Jan 27, 2020
@dgageot dgageot merged commit b494348 into GoogleContainerTools:master Jan 27, 2020
@kissmikijr kissmikijr deleted the support-specific-buildpacks branch February 3, 2020 20:31
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.

5 participants