Commit Graph

458 Commits

Author SHA1 Message Date
Jason Tedor 599bf2d68b
Deprecate the pidfile setting ()
This commit deprecates the pidfile setting in favor of node.pidfile.
2019-08-23 21:31:35 -04:00
Daniel Mitterdorfer 42e0d63b36 Align generated release notes with doc standards ()
With this commit we change the script that generates the release notes
for Elasticsearch to align with the docs standards in the following
aspects:

* The release notes title changes to include the product name
* The link text to the breaking changes page is explicitly defined

Relates 
2019-02-22 07:41:16 +01:00
Adrien Grand ac07386eab
Ignore the `>test-mute` label when generating release notes. ()
Muted tests are irrelevant for release notes.
2019-02-04 17:48:08 +01:00
Adrien Grand 8309e0ce77
Minor fixes in the release notes script. ()
The `:beats` label is actually `:Beats` in Github.
`:Core/Build` is now `:Core/Infra/Build`.
2019-01-31 09:52:25 +01:00
Colin Goodheart-Smithe 502745f8e2
Adds backport label to list to ignore () 2018-10-30 12:46:39 +00:00
Tom Callahan 3428dc20a4
Improve release notes script ()
Improve release notes script

The current release notes script does not handle area labels that
are not two parts, such as ":ml".  As these area labels are rare,
I have simply hard-coded a title for these area labels.  In
addition, the script will not explicitly call out instances where
multiple area labels are present on an issue.
2018-07-09 15:32:10 -04:00
Adrien Grand a5540ba19c
Make release notes ignore the `>test-failure` label. ()
This label is uninteresting for release notes.
2018-06-19 15:43:31 +02:00
Clinton Gormley 97a42b014f Require HTTP::Tiny 0.070 for release notes script 2018-03-20 16:57:36 +01:00
Clinton Gormley 882df3156c Added coming annotation and breaking changes link to release notes script
Also fixed the "area" regex to only remove up to the first /
so that it doesn't remove too much in :Distributed/Snapshot/Restore

Finally, tidied
2018-02-17 09:45:40 +01:00
Clinton Gormley f54cb567b6 Fixed es_release_notes.pl script to work with the new github labels
It also now ignores docs, test, non-issue, refactoring, and build
2018-02-15 20:31:19 +01:00
Martijn van Groningen 0e5460324c
Removed static indices and repos and the scripts that create them.
Two tests were still using the static indices:
* IndexFolderUpgraderTests#testUpgradeRealIndex()
* InternalEngineTests#testUpgradeOldIndex()

I removed these tests too, because these tests functionally overlap
with the full-cluster-restart qa tests.

Relates to 
2017-08-10 09:52:29 +02:00
Clinton Gormley 4935bce02c Added a script to change the labels on github issues which match the search ()
For instance:

    ./dev-tools/github_relabel.pl --state=open --labels=v5.5.1 --remove=v5.5.1 --add=v5.5.2
2017-07-21 14:41:16 +02:00
Jack Conradson 1196dfb6bb Remove Deprecated Script Settings ()
Removes all fine-grained script settings replaced by scripts.types_allowed and scripts.contexts_allowed.
2017-05-18 13:32:46 -07:00
Ryan Ernst d5064429a9 Build: Make plugin list for smoke tester dynamic ()
This commit removes the hardcoded list of plugins used by the smoke
tester and instead loads this list the same way the build does: by
looking for directories under the `plugins` dir.

closes 
2017-03-21 11:56:48 -07:00
Daniel Mitterdorfer aece89d6a1 Make boolean conversion strict ()
This PR removes all leniency in the conversion of Strings to booleans: "true"
is converted to the boolean value `true`, "false" is converted to the boolean
value `false`. Everything else raises an error.
2017-01-19 07:59:18 +01:00
Michael McCandless 613a1a6a18 Add stored binary fields to static backwards compatibility indices tests ()
Add stored binary fields to static backwards compatibility indices tests
2016-12-09 05:32:40 -05:00
jaymode e1e17b3bfe
Fix get-bwc-version for 2.x releases 2016-11-22 14:39:59 -05:00
Nik Everett c79371fd5b Remove lang-python and lang-javascript ()
They were deprecated in 5.0. We are concentrating on making
Painless awesome rather than supporting every language possible.

Closes 
2016-11-21 22:13:25 -05:00
Nik Everett 3787ea27bf Validate alias names the same as index names
Applied (almost) the same rules we use to validate index names
to new alias names. The only rule not applies it "must be lowercase".
We have tests that don't follow that rule and I except there are lots
of examples of camelCase alias names in the wild. We can add that
validation but I'm not sure it is worth it.

Closes 

Adds an alias that starts with `#` to the BWC index and validates
that you can read from it and remove it. Starting with `#` isn't
allowed after 5.1.0/6.0.0 so we don't create the alias or check it
after those versions.
2016-11-08 08:23:12 -05:00
Nik Everett cf6d3f7ec1 Fix get-bwc-version for 5.0.0 ()
5.0.0 is at artifacts.elastic.co.
2016-11-01 16:27:46 -04:00
Jason Tedor 7751049c14 Add version for 5.0.0
This commit adds the version constant for 5.0.0.

Relates 
2016-11-01 14:09:00 -04:00
Alexander Reelsen ba49c07740 Testing: Fix smoke tester ()
Fixes two minor issues

* An import from an already removed file was used.
* The strict URL & parameter parsing hit one of the API calls
2016-10-19 15:27:42 +02:00
Ryan Ernst 31de1fa914 Remove old release scripts ()
These scripts are no longer used now that we have the unified release
process.
2016-10-18 14:57:02 -07:00
Alexander Reelsen 56cc87b7cc Smoke tester: Adjust to latest changes ()
* Removed the check for the correct hash in the `/` response, otherwise two hashes would be needed
* Adapted to new URLs
* Added two missing plugins
* Downloaded gpg key only once
2016-09-23 11:28:46 +02:00
David Pilato dfd1eebdd0 Remove mapper attachments plugin
We now have in 5.0.0 `ingest-attachment` plugin.
We can remove `mapper-attachments` plugin for 6.0.

Closes .
2016-09-19 09:01:16 +02:00
Ali Beyad 4431720c3d File-based discovery plugin ()
This commit introduces a new plugin for file-based unicast hosts
discovery. This allows specifying the unicast hosts participating
in discovery through a `unicast_hosts.txt` file located in the
`config/discovery-file` directory. The plugin will use the hosts 
specified in this file as the set of hosts to ping during discovery.

The format of the `unicast_hosts.txt` file is to have one host/port
entry per line. The hosts file is read and parsed every time
discovery makes ping requests, thus a new version of the file that
is published to the config directory will automatically be picked
up.

Closes 
2016-09-13 20:52:39 -04:00
Simon Willnauer a96f3d46b7 Add field with dot in name to 2.4+ static bwc indexes ()
This change adds a `field.with.dots` to all 2.4 bwc indicse and above.
It also adds verification code to OldIndexBackwardsCompatibilityIT to
ensure we upgrade the indices cleanly and the field is present.

Closes 
2016-09-07 17:21:28 +02:00
Simon Willnauer 8502d2761f Ensure all static BWC indices have some translog entries ()
Due to the way the nodes where shut down etc. we always flushed
away the translog. This means we never tested upgrades of transaction
logs from older version. This change regenerates all valid bwc indices
and repositories with transaction logs and adds correspondent changes
to the OldIndexBackwardsCompatibilityIT.java
2016-09-07 16:53:24 +02:00
Britta Weber 5b38282fcb fix bwc index tool for versions before 5.0 ()
* fix bwc index tool for versions before 5.0
2016-08-03 15:37:38 +02:00
Clinton Gormley f92b3c965e Rename "breaking java" tag to "breaking-java" 2016-07-29 14:43:31 +02:00
Clinton Gormley e1a347bed5 Update release notes script to add the "breaking java" label 2016-07-29 14:43:31 +02:00
Simon Willnauer 59cda81b40 Fix create_bwc_index for 5.x ()
`create_bwc_index.py` has some cruft in it that only works on 2.x or
even before. This commit make the tool functional, yet there might still
be some bwc relevant things missing here.

Closes 
2016-07-18 12:23:01 +02:00
David Pilato 527a9c7f48 Deprecate discovery-azure and rename it to discovery-azure-classic
As discussed at https://github.com/elastic/elasticsearch-cloud-azure/issues/91#issuecomment-229113595, we know that the current `discovery-azure` plugin only works with Azure Classic VMs / Services (which is somehow Legacy now).

The proposal here is to rename `discovery-azure` to `discovery-azure-classic` in case some users are using it.
And deprecate it for 5.0.

Closes .
2016-06-30 14:42:40 +02:00
Ryan Ernst 63549ec6f8 Update usage of es.staging.plugins sysprop to pass build hash 2016-05-25 14:44:56 -07:00
Jason Tedor e7243ed83d Fix smoke test RC plugin installation
This commit fixes the smoke test RC plugin installation command to set
the es.plugins.staging system properly correctly.
2016-05-24 19:48:53 -04:00
Jason Tedor 7b98d5e0cb Fix plugin installation command
This commit fixes the plugin installation command produced by the
release candidate driver.
2016-05-24 19:46:08 -04:00
Tanguy Leroux 1f011f9dea Remove Delete-By-Query plugin
closes 
2016-05-24 13:28:20 +02:00
Jason Tedor f63d1255d1 Cleanup settings and system properties entanglement
This commit cleans up some additional places where system properties
were being used to pass settings to Elasticsearch.

Relates 
2016-05-23 14:47:22 -04:00
Jason Tedor c257e2c51f Remove settings and system properties entanglement
Today when parsing settings during bootstrap, we add a system property
for every Elasticsearch setting. Additionally, settings can be set via
system properties. This commit simplifies this situation.
 - settings are no longer propogated to system properties
 - system properties can not be used to set settings
 - the "es." prefix on settings is no longer required (nor permitted)
 - test logging has a dedicated system property (tests.logger.level)

Relates 
2016-05-19 14:08:08 -04:00
Tanguy Leroux 35d3bdab84 Add Google Cloud Storage repository plugin
Closes 
2016-05-19 13:26:23 +02:00
Jason Tedor 7d1fd17172 Remove plugin script parsing of system properties
The plugin script parses command-line options looking for Java system
properties and extracts these arguments to pass to the java command when
starting the JVM. Since elasticsearch-plugin allows arbitrary user
arguments to the JVM via ES_JAVA_OPTS, this parsing is unnecessary. This
commit removes this unnecessary 

Relates 
2016-05-09 13:06:18 -04:00
Alexander Reelsen 51497a5ea9 Smoke tester: Fix new x-pack configuration ()
In case of x-pack the superuser role is required.
Also the code for extracting the host was simplified
Lastly the keyserver was replaced as the current one is being
unresponsive.
2016-04-28 14:34:31 +02:00
Ryan Ernst a6ba235964 Remove ununsed dev tools files 2016-04-22 10:34:11 -07:00
Martijn van Groningen c5ad2e2865 Changed indexed scripts to be stored in the cluster state instead of the `.scripts` index.
Also added max script size soft limit for stored scripts.

Closes 
2016-04-22 13:42:55 +02:00
Clinton Gormley fbf5976663 Make es_release_notes choose the same :Label every time when multiple specified 2016-04-06 13:52:45 +02:00
Alexander Reelsen c5bbb023fa Smoke tester: Use portsfile to find out host/port
Instead of hardcoding localhost:9200, the smoke tester
now uses the portsfile's first entry to find out, which
host/port combination to test HTTP against.

Closes 
2016-04-06 09:16:19 +02:00
Alexander Reelsen a1eb332dce Smoke Tester: Adapt to latest 5.0 changes
The smoke tester required several changes,
ranging from plugin names, to parameter handling
in order to pass.
2016-03-30 15:12:13 +02:00
Adrien Grand c50c5a52d5 Rework norms parameters for 5.0.
Changes:
 - no more option to configure eager/lazy loading of the norms (useless now
   that orms are disk-based)
 - only the `string`, `text` and `keyword` fields support the `norms` setting
 - the `norms` setting takes a boolean that decides whether norms should be
   stored in the index but old options are still supported to give users time
   to upgrade
 - setting a `boost` no longer implicitely enables norms (for new indices only,
   this is still needed for old indices)
2016-03-14 08:42:35 +01:00
Clinton Gormley 5e5bb04e2f In es_release_notes.pl, added non-issue and docs 2016-03-10 20:18:43 +01:00
Adrien Grand 2c3e4840f2 Store _all payloads on 1 byte instead of 4.
This changes the `_all` field to store per-field boosts using a single byte
similarly to norms.
2016-03-03 15:00:23 +01:00