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

Improve Jib support on gcb #2548

Merged
merged 4 commits into from
Jul 31, 2019
Merged

Conversation

dgageot
Copy link
Contributor

@dgageot dgageot commented Jul 25, 2019

Fix #2546

@codecov
Copy link

codecov bot commented Jul 25, 2019

Codecov Report

Merging #2548 into master will increase coverage by 0.08%.
The diff coverage is 84.28%.

Impacted Files Coverage Δ
pkg/skaffold/jib/jib_gradle.go 100% <ø> (ø) ⬆️
pkg/skaffold/jib/jib_maven.go 100% <ø> (ø) ⬆️
pkg/skaffold/build/gcb/cloud_build.go 0% <0%> (ø) ⬆️
pkg/skaffold/build/gcb/spec.go 100% <100%> (ø)
pkg/skaffold/build/gcb/jib.go 100% <100%> (ø) ⬆️
pkg/skaffold/build/gcb/docker.go 86.66% <88.88%> (-2.23%) ⬇️
pkg/skaffold/build/gcb/types.go 17.85% <0%> (+17.85%) ⬆️

Copy link
Member

@briandealwis briandealwis left a comment

Choose a reason for hiding this comment

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

Jib changes LGTM. The build steps → description is a bit over my head at the moment.

pkg/skaffold/build/gcb/cloud_build.go Outdated Show resolved Hide resolved
@dgageot dgageot force-pushed the jib-on-gcb branch 4 times, most recently from 572065d to 61f6653 Compare July 29, 2019 08:35
pkg/skaffold/build/gcb/desc.go Outdated Show resolved Hide resolved
pkg/skaffold/build/gcb/desc.go Outdated Show resolved Hide resolved
Fix GoogleContainerTools#2546

Also took the opportunity to improve tests a bit.

Should give builds that are slightly faster since
they will by default use a builder image that's
already cached on GCB.

Signed-off-by: David Gageot <[email protected]>
Copy link
Member

@briandealwis briandealwis left a comment

Choose a reason for hiding this comment

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

LGTM!

},
}

builder := newBuilder(latest.GoogleCloudBuild{
MavenImage: "maven:3.6.0",
Copy link
Member

Choose a reason for hiding this comment

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

Do you think this should be 3.6.1?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is just a test. Could be foobar

@dgageot dgageot merged commit e80a637 into GoogleContainerTools:master Jul 31, 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.

Skaffold can't use the latest gcr.io/cloud-builders/mvn to with with Jib on GCB
4 participants