From 93cedb892adb652b032184679273c9d9f7057355 Mon Sep 17 00:00:00 2001 From: Pier-Hugues Pellerin Date: Wed, 31 Oct 2018 08:04:18 -0400 Subject: [PATCH] YAML is not a strict schema and we do not enforce strict fields (#8836) This PR make sure the definition style used by the packages.yml and the custom function packages.yml match. --- dev-tools/packaging/packages.yml | 5 +++-- x-pack/functionbeat/dev-tools/packaging/packages.yml | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/dev-tools/packaging/packages.yml b/dev-tools/packaging/packages.yml index b39a7c73489..7d70f31e522 100644 --- a/dev-tools/packaging/packages.yml +++ b/dev-tools/packaging/packages.yml @@ -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] diff --git a/x-pack/functionbeat/dev-tools/packaging/packages.yml b/x-pack/functionbeat/dev-tools/packaging/packages.yml index fac59dd6a76..2a844056262 100644 --- a/x-pack/functionbeat/dev-tools/packaging/packages.yml +++ b/x-pack/functionbeat/dev-tools/packaging/packages.yml @@ -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]