-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Add more comments to the Config structs #1630
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1630 +/- ##
======================================
Coverage 46.9% 46.9%
======================================
Files 119 119
Lines 5134 5134
======================================
Hits 2408 2408
Misses 2478 2478
Partials 248 248 Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #1630 +/- ##
======================================
Coverage 46.9% 46.9%
======================================
Files 119 119
Lines 5134 5134
======================================
Hits 2408 2408
Misses 2478 2478
Partials 248 248 Continue to review full report at Codecov.
|
pkg/skaffold/schema/latest/config.go
Outdated
@@ -44,17 +54,44 @@ func (c *SkaffoldPipeline) GetVersion() string { | |||
|
|||
// BuildConfig contains all the configuration for the build steps | |||
type BuildConfig struct { | |||
// Artifacts lists the images you're going to be building | |||
// you can include as many as you want here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing a comma or semicolon or new sentence here
pkg/skaffold/schema/latest/config.go
Outdated
GoogleCloudBuild *GoogleCloudBuild `yaml:"googleCloudBuild,omitempty" yamltags:"oneOf=build"` | ||
KanikoBuild *KanikoBuild `yaml:"kaniko,omitempty" yamltags:"oneOf=build"` | ||
|
||
// KanikoBuild describes how to do a on-cluster build using |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"an on-cluster..."
pkg/skaffold/schema/latest/config.go
Outdated
// GoogleCloudBuild describes how to do a remote build on | ||
// [Google Cloud Build](https://cloud.google.com/cloud-build/docs/). | ||
// Docker and Jib artifacts can be built on Cloud Build. The `projectId` needs | ||
// to be provided and the currently logged user should be given permissions to trigger |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
logged in ?
pkg/skaffold/schema/latest/config.go
Outdated
// Defaults to `localDir`. | ||
BuildContext *KanikoBuildContext `yaml:"buildContext,omitempty"` | ||
|
||
// Cache |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmm
Cache *KanikoCache `yaml:"cache,omitempty"` | ||
|
||
// AdditionalFlags | ||
AdditionalFlags []string `yaml:"flags,omitempty"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmm
pkg/skaffold/schema/latest/config.go
Outdated
Version string `yaml:"version,omitempty"` | ||
|
||
// SetValues a list of key-value pairs. | ||
// If present, Skaffold will sent `--set` flag to Helm CLI and append all pairs after the flag. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will send
pkg/skaffold/schema/latest/config.go
Outdated
// Defaults to `false`. | ||
RecreatePods bool `yaml:"recreatePods,omitempty"` | ||
|
||
// SkipBuildDependencies |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmm
} | ||
|
||
// JibMavenArtifact builds containers using the Jib plugin for Maven. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are different style than BazelArtifact and DockerArtifact
Signed-off-by: David Gageot <[email protected]>
703ed78
to
f02d70c
Compare
Thanks for the help @jonjohnsonjr! |
Signed-off-by: David Gageot [email protected]