-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Generate annotated-skaffold.yaml #1659
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
Generate annotated-skaffold.yaml #1659
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1659 +/- ##
==========================================
+ Coverage 47.41% 47.46% +0.05%
==========================================
Files 122 122
Lines 5448 5454 +6
==========================================
+ Hits 2583 2589 +6
Misses 2604 2604
Partials 261 261
Continue to review full report at Codecov.
|
ImageName string `yaml:"image,omitempty" yamltags:"required"` | ||
|
||
// Workspace is the directory where the artifact's sources are to be found. | ||
// Defaults to `.`. | ||
Workspace string `yaml:"context,omitempty"` | ||
|
||
// Sync lists local files that can be synced to remote pods (alpha) instead | ||
// Sync (alpha) lists local files that can be synced to remote pods instead | ||
// of triggering an image build when modified. | ||
// This is a mapping of local files to sync to remote folders. |
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.
I believe sync can now support **
too?
pkg/skaffold/schema/latest/config.go
Outdated
@@ -60,61 +63,69 @@ type BuildConfig struct { | |||
// If not specified, it defaults to `gitCommit: {}`. | |||
TagPolicy TagPolicy `yaml:"tagPolicy,omitempty"` | |||
|
|||
// ExecutionEnvironment is the environment in which the build | |||
// should run (ex. local or in-cluster, etc.). |
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.
// should run (ex. local or in-cluster, etc.). | |
// should run. Possible values: googleCloudBuild. |
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.
I only have nits but we can merge this for now.
I'm also curious to see how we're going to merge this with the site. Any plans there?
Signed-off-by: David Gageot <[email protected]>
1c17df9
to
b4c5485
Compare
This PR generates an html version of the annotated-skaffold.yaml that's always in sync with the Got structs. Next step is to use this in the website generation.
Signed-off-by: David Gageot [email protected]