Skip to content

Commit

Permalink
ecs: ship latest 1.x for ES 7+, keep ES6 locked to 1.10
Browse files Browse the repository at this point in the history
  • Loading branch information
yaauie committed Jan 11, 2022
1 parent 38df21e commit 50211e4
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
require "logstash/devutils/rake"

task :'vendor-ecs-schemata' do
# WARNING: v1.11 breaks 6.x (see: https://github.com/elastic/ecs/issues/1649)
download_ecs_schemata(:v1, elasticsearch_major: 6, ecs_release_tag: 'v1.10.0')
download_ecs_schemata(:v1, elasticsearch_major: 7, ecs_release_tag: 'v1.10.0')
download_ecs_schemata(:v1, elasticsearch_major: 8, ecs_release_tag: 'v1.10.0', generated_for: 7)
download_ecs_schemata(:v1, elasticsearch_major: 6, ecs_release_tag: 'v1.10.0') # WARNING: v1.11 breaks 6.x (see: https://github.com/elastic/ecs/issues/1649)
download_ecs_schemata(:v1, elasticsearch_major: 7, ecs_release_tag: 'v1.12.1')
download_ecs_schemata(:v1, elasticsearch_major: 8, ecs_release_tag: 'v1.12.1', generated_for: 7)

# PRERELEASE: 8.0 branch
# when pinning to released tag, remove BETA warning.
Expand Down

0 comments on commit 50211e4

Please sign in to comment.