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

Generate annotated-skaffold.yaml #1659

Merged

Conversation

dgageot
Copy link
Contributor

@dgageot dgageot commented Feb 15, 2019

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 david@gageot.net

@codecov-io
Copy link

codecov-io commented Feb 15, 2019

Codecov Report

Merging #1659 into master will increase coverage by 0.05%.
The diff coverage is 96%.

Impacted file tree graph

@@            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
Impacted Files Coverage Δ
pkg/skaffold/schema/profiles.go 93.33% <100%> (ø) ⬆️
schemas/main.go 87.64% <95.83%> (+0.45%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update acde29d...b4c5485. Read the comment docs.

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.
Copy link
Member

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?

@@ -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.).
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
// should run (ex. local or in-cluster, etc.).
// should run. Possible values: googleCloudBuild.

Copy link
Contributor

@balopat balopat left a 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 <david@gageot.net>
@dgageot dgageot merged commit 7232809 into GoogleContainerTools:master Feb 20, 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.

None yet

5 participants