Skip to content

Commit

Permalink
YAML is not a strict schema and we do not enforce strict fields (elas…
Browse files Browse the repository at this point in the history
…tic#8836)

This PR make sure the definition style used by the packages.yml and the custom
function packages.yml match.
  • Loading branch information
ph authored Oct 31, 2018
1 parent 4f55a75 commit 93cedb8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions dev-tools/packaging/packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -349,8 +349,9 @@ specs:
spec:
<<: *windows_binary_spec
<<: *elastic_license_for_binaries
'{{.BeatName}}{{.BinaryExt}}':
source: ../x-pack/{{.BeatName}}/build/golang-crossbuild/{{.BeatName}}-{{.GOOS}}-{{.Platform.Arch}}{{.BinaryExt}}
files:
'{{.BeatName}}{{.BinaryExt}}':
source: ../x-pack/{{.BeatName}}/build/golang-crossbuild/{{.BeatName}}-{{.GOOS}}-{{.Platform.Arch}}{{.BinaryExt}}

- os: darwin
types: [tgz]
Expand Down
5 changes: 3 additions & 2 deletions x-pack/functionbeat/dev-tools/packaging/packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,9 @@ specs:
<<: *binary_spec
<<: *functionbeat_binaries
<<: *elastic_license_for_binaries
'{{.BeatName}}{{.BinaryExt}}':
source: build/golang-crossbuild/{{.BeatName}}-{{.GOOS}}-{{.Platform.Arch}}{{.BinaryExt}}
files:
'{{.BeatName}}{{.BinaryExt}}':
source: build/golang-crossbuild/{{.BeatName}}-{{.GOOS}}-{{.Platform.Arch}}{{.BinaryExt}}

- os: darwin
types: [tgz]
Expand Down

0 comments on commit 93cedb8

Please sign in to comment.