-
Notifications
You must be signed in to change notification settings - Fork 133
Check and generate multiple readme files in one package #282
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
Merged
kaiyan-sheng
merged 23 commits into
elastic:master
from
kaiyan-sheng:additional_readmes
Mar 23, 2021
Merged
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
12a17ea
Check and generate multiple README.md files in one package
kaiyan-sheng a3886c0
Merge branch 'master' into additional_readmes
ycombinator ae666b8
move ReadDir into IsReadmeUpToDate and UpdateReadme
kaiyan-sheng 0981abe
Merge branch 'master' of github.com:elastic/elastic-package into addi…
kaiyan-sheng d57e8ba
Merge branch 'additional_readmes' of github.com:kaiyan-sheng/elastic-…
kaiyan-sheng 7ef4eb5
Merge branch 'master' into additional_readmes
ycombinator 3e762da
Merge branch 'master' into additional_readmes
kaiyan-sheng 303bb12
Create AreReadmesUpToDate and UpdateReadmes functions
kaiyan-sheng 17afb55
print elastic-package build output in alphabetical order
kaiyan-sheng 4f603f8
list all file names that need to be updated
kaiyan-sheng 5898df2
make _dev/build/docs not required
kaiyan-sheng 6cf1ce4
Merge branch 'master' into additional_readmes
mtojek e5983ce
check os.IsNotExist and use fileName instead
kaiyan-sheng 380019c
Merge branch 'additional_readmes' of github.com:kaiyan-sheng/elastic-…
kaiyan-sheng 41c2ff2
fix error message
kaiyan-sheng 9d9039c
Merge branch 'master' into additional_readmes
mtojek 9a85bb5
use cmd.Printf for error messages
kaiyan-sheng da89e55
Merge branch 'additional_readmes' of github.com:kaiyan-sheng/elastic-…
kaiyan-sheng cb3e976
fix error messages
kaiyan-sheng 9ff5e57
add ignore_missing
kaiyan-sheng 1673749
rerun elastic-package test pipeline for aws
kaiyan-sheng d24311c
test with adding package level vars
kaiyan-sheng 17506c5
check input is nil before merging vars
kaiyan-sheng File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -488,6 +488,8 @@ func createPackageDatastream( | |
| pkgVars := kibana.Vars{} | ||
| input := pkg.PolicyTemplates[0].FindInputByType(streamInput) | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is something we'll have to look to support multiple policy templates. |
||
| if input != nil { | ||
| // copy package-level vars into each input | ||
| input.Vars = append(input.Vars, pkg.Vars...) | ||
| for _, pkgVar := range input.Vars { | ||
| val := pkgVar.Default | ||
|
|
||
|
|
||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.