Skip to content

Improve Jib support on gcb#2548

Merged
dgageot merged 4 commits intoGoogleContainerTools:masterfrom
dgageot:jib-on-gcb
Jul 31, 2019
Merged

Improve Jib support on gcb#2548
dgageot merged 4 commits intoGoogleContainerTools:masterfrom
dgageot:jib-on-gcb

Conversation

@dgageot
Copy link
Copy Markdown
Contributor

@dgageot dgageot commented Jul 25, 2019

Fix #2546

@codecov
Copy link
Copy Markdown

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
Copy Markdown
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.

@dgageot dgageot force-pushed the jib-on-gcb branch 4 times, most recently from 572065d to 61f6653 Compare July 29, 2019 08:35
dgageot added 4 commits July 30, 2019 19:34
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 <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>
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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