Add VERSION_QUALIFIER support for use by release manager (#10117)

* Add VERSION_QUALIFIER support for use by release manager

* Make the gem build processes aware of the version qualifier

* Try debugging xpack ci test failure.

* Try to use the artifacts-api.elastic.co api for ES download.

* It builds/tests locally now.

* add some comments explaining the artifacts-api and the version string

* cahnges requested in review.

Fixes #9956
This commit is contained in:
Guy Boertje 2018-11-07 22:39:52 +00:00 committed by GitHub
parent fe7607abd4
commit 1f7a369993
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 50 additions and 19 deletions

View file

@ -13,6 +13,6 @@ unless defined?(LOGSTASH_CORE_PLUGIN_API)
end
unless defined?(LOGSTASH_CORE_VERSION)
LOGSTASH_CORE_VERSION = ALL_VERSIONS.fetch("logstash-core")
# PACKAGE_SUFFIX is declared in the artifact namespace from artifacts.rake
LOGSTASH_CORE_VERSION = defined?(PACKAGE_SUFFIX) ? "#{ALL_VERSIONS.fetch("logstash-core")}#{PACKAGE_SUFFIX}" : ALL_VERSIONS.fetch("logstash-core")
end

View file

@ -28,7 +28,7 @@ Gem::Specification.new do |gem|
gem.description = %q{Logstash plugin API}
gem.summary = %q{Define the plugin API that the plugin need to follow.}
gem.homepage = "http://www.elastic.co/guide/en/logstash/current/index.html"
gem.license = "Apache License (2.0)"
gem.license = "Apache-2.0"
gem.files = Dir.glob(["logstash-core-plugin-api.gemspec", "lib/**/*.rb", "spec/**/*.rb"])
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})