Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge from author #5

Merged
merged 483 commits into from
Oct 9, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
483 commits
Select commit Hold shift + click to select a range
bd5573d
Re-enable BWC tests (#47101)
jkakavas Sep 25, 2019
053e95b
Assert no exceptions during state application (#47090)
DaveCTurner Sep 25, 2019
cbe8b36
Disable the use of artifactory in CI (#47100)
alpar-t Sep 25, 2019
9cf9d4e
Simplify SnapshotResiliencyTests (#46961)
original-brownbear Sep 25, 2019
af57562
Mute monitoring/bulk/20_privileges
ywelsch Sep 25, 2019
b52d1da
Mute ClusterShardLimitIT.testIndexCreationOverLimitFromTemplate
ywelsch Sep 25, 2019
65374c9
Tidy up Store#trimUnsafeCommits (#47062)
dnhatn Sep 25, 2019
de88249
Mute second test in monitoring/bulk/10_basic
ywelsch Sep 25, 2019
9df6cbe
Remove isRecovering method from Engine (#47039)
dnhatn Sep 25, 2019
fd0946b
[DOCS] Remove support for `// CONSOLE` magic comment (#46936)
jrodewig Sep 25, 2019
69422b9
[DOCS] Reformat suggesters page. (#47010)
szabosteve Sep 25, 2019
1482fc0
Remove the use of ClusterFormationTasks form RestTestTask (#47022)
alpar-t Sep 25, 2019
36502b2
[DOCS] Reformats ranking evaluation API (#46974)
szabosteve Sep 25, 2019
2c7fd82
Allow ingest processors to execute in a non blocking manner. (#46241)
martijnvg Sep 25, 2019
c363d27
ILM: parse origination date from index name (#46755)
andreidan Sep 25, 2019
db78d30
Warn on slow metadata persistence (#47005)
DaveCTurner Sep 25, 2019
f565b1d
Remove temporary _cat/indices debug (#47116)
droberts195 Sep 25, 2019
48471b2
[DOCS] Reformat clone index API docs (#46762)
jrodewig Sep 25, 2019
6328558
Extract proxy connection logic to specialized class (#46898)
Tim-Brooks Sep 25, 2019
b42923f
Add support for POST requests to SLM Execute API (#47061)
gwbrown Sep 25, 2019
76de93c
SQL: Add support for shape type (#46464)
imotov Sep 25, 2019
a67180d
Track enabled test task candidate class files as task input (#47054)
mark-vieira Sep 25, 2019
6c64566
[DOCS] Fix links to transform pages (#47134)
lcawl Sep 25, 2019
85f1272
[ML][Inference] adding tree model (#47044)
benwtrent Sep 25, 2019
4527824
Wait for snapshot completion in SLM snapshot invocation (#47051)
dakrone Sep 25, 2019
7ceff60
Increase ensureGreen timeout for testReplicaCorruption (#47136)
dnhatn Sep 25, 2019
b1a03a1
Remove unused private methods and fields (#47115)
tlrx Sep 26, 2019
38b847a
Enhance docs for create api keys created when role descriptor not spe…
bizybot Sep 26, 2019
cdd2d58
Use 'should' clause instead of 'filter' when querying native privileg…
bizybot Sep 26, 2019
90ae28d
Format Java source files automatically (#46745)
pugnascotia Sep 26, 2019
5c23d29
[ML] Ensure data frame analytics task is only marked completed once (…
dimitris-athanasiou Sep 26, 2019
1304274
[TEST] Work around _cat/indices bug with security enabled (#47160)
droberts195 Sep 26, 2019
2231104
[DOCS] Reformat get pipeline API (#47131)
jrodewig Sep 26, 2019
dbdf212
[DOCS] Correct link to `index.store.preload` setting (#47145)
jrodewig Sep 26, 2019
aeeba16
[ML] Reinstate ML daily maintenance actions (#47103)
droberts195 Sep 26, 2019
f4c2964
SQL: Check case where the pivot limit is reached (#47121)
costin Sep 26, 2019
0f2234e
Change Painless function node to use a block instead of raw statement…
jdconrad Sep 26, 2019
f25e58a
[DOCS] Add 'remote clusters' requirement link to CCR docs (#47185)
ppf2 Sep 26, 2019
7daa1be
Replace SearchContextException with SearchException (#46965)
jimczi Sep 26, 2019
e66eeca
Work around error building deb on Windows (#47011)
alpar-t Sep 27, 2019
41d82f6
Allow evaluation to consist of multiple steps. (#46653)
przemekwitek Sep 27, 2019
c5b9cda
Injected response errors in Azure repository tests should have a body…
tlrx Sep 27, 2019
e9f63e0
Exclude the demo folder form the JDK (#47161)
alpar-t Sep 27, 2019
d0faf35
[DOCS] Reformats Profile API (#47168)
szabosteve Sep 27, 2019
7cf509a
Fix OriginationDate parsing tests. (#47170)
andreidan Sep 27, 2019
77fa6cf
Mute Snapshot/Restore with repository-azure (#47204)
henningandersen Sep 27, 2019
2b8c7c5
Remove write lock for Translog.getGeneration (#47036)
ywelsch Sep 27, 2019
ff99bc1
Remove per-type indexing stats (#47203)
romseygeek Sep 27, 2019
9ac223c
SQL: Add alias DATETRUNC to DATE_TRUNC function (#47173)
matriv Sep 27, 2019
237b238
Remove `type` query (#47207)
romseygeek Sep 27, 2019
b50164f
Support optional parsers in any order with DateMathParser and roundup…
pgomulka Sep 27, 2019
0b07bef
[DOCS] Correct typo in ICU Analysis plugin description (#47175)
jrodewig Sep 27, 2019
fbeb5a3
Relax maxSeqNoOfUpdates assertion in FollowingEngine (#47188)
dnhatn Sep 27, 2019
45f8c97
[DOCS] Reformat flush API docs (#46875)
jrodewig Sep 27, 2019
4568d30
[DOCS] Document missing query parms for cat recovery API (#47181)
jrodewig Sep 27, 2019
50c2da9
Add ClassWriter to Painless writing pass (#47140)
jdconrad Sep 27, 2019
f487495
Mute azure third party tests (#47205)
henningandersen Sep 27, 2019
7b20142
Fix bind failure logging for mock transport (#47150)
Tim-Brooks Sep 27, 2019
0599b71
[DOCS] Adds production monitoring page (#47184)
lcawl Sep 27, 2019
91992a8
[DOCS] Moves Watcher content into Elasticsearch book (#47147)
lcawl Sep 27, 2019
02ec11e
[DOCS] Skip code snippet testing in monitoring example
lcawl Sep 28, 2019
caaf02f
Re-fetch shard info of primary when new node joins (#47035)
dnhatn Sep 28, 2019
95aedaa
Remove dead leniency in allow rebalance setting use (#47259)
jasontedor Sep 28, 2019
8bf9d49
Use fallback settings in throttling decider (#47261)
jasontedor Sep 28, 2019
119daf7
Add workaround for building docker on debian 8 (#47106)
alpar-t Sep 30, 2019
da6e0c6
Replace heavy weight build-tools integ tests with a simple unit test.…
alpar-t Sep 30, 2019
47bf259
Remove types from percolate query API (#46985)
romseygeek Sep 30, 2019
ce6b01f
Wait for elasticsearch exit in packaging tests (#47242)
rjernst Sep 30, 2019
36258f4
Fix archive tests to not create elasticsearch home (#47239)
rjernst Sep 30, 2019
9592b59
Remove "force" version type (#47228)
ywelsch Sep 30, 2019
109b38f
Remove use of get raw in token/API key settings (#47260)
jasontedor Sep 30, 2019
3a36909
Remove use of Setting#getRaw in deprecation tests (#47262)
jasontedor Sep 30, 2019
38f0221
Omit writing index metadata for non-replicated closed indices on data…
ywelsch Sep 30, 2019
097ea36
SQL: Fix issue with duplicate columns in SELECT (#42122)
emasab Sep 30, 2019
d220d53
Fail allocation of new primaries in empty cluster (#43284)
Gaurav614 Sep 30, 2019
4ebb44f
[DOCS] Reformat delete pipeline API (#47172)
jrodewig Sep 30, 2019
4c90ec6
Differentiate base paths in repository integration tests (#47284)
tlrx Sep 30, 2019
c048c86
Allow optype CREATE for append-only indexing operations (#47169)
ywelsch Sep 30, 2019
1c705bc
Move Painless local methods to a dedicated FunctionTable (#46889)
jdconrad Sep 30, 2019
b450601
[DOCS] Note double backslashes (`\\`) are required to escape JSON cha…
ndrwnaguib Sep 30, 2019
eb45455
[DOCS] Correct snippet in query string syntax
jrodewig Sep 30, 2019
2fd0514
[DOCS] Add response body parms to search API docs (#47042)
jrodewig Sep 30, 2019
5405f2e
Speed up Snapshot Finalization (#47283)
original-brownbear Sep 30, 2019
cb800ab
Remove unused pluggable metadata upgraders (#47297)
DaveCTurner Sep 30, 2019
776d87b
Clarify rolling-upgrade docs (#47279)
DaveCTurner Sep 30, 2019
c83dd32
Remove orphan diagrams for MovingAverage agg (#47263)
DaveCTurner Sep 30, 2019
f6f2c9f
[ML][Inference] adding .ml-inference* index and storage (#47267)
benwtrent Sep 30, 2019
bc96370
Mute failing test in PermissionsIT
mark-vieira Sep 30, 2019
50e0c96
Extract remote "sniffing" to connection strategy (#47253)
Tim-Brooks Sep 30, 2019
59fbe1b
Ensure char array test uses different values (#47238)
rjernst Sep 30, 2019
e29669c
Make Setting#getRaw have private access (#47287)
jasontedor Sep 30, 2019
4942e81
Mute "Test All Indexes Lifecycle Explain" (#47317)
gwbrown Sep 30, 2019
683dc72
SQL: [TESTS] Improve error messages on failures (#47308)
matriv Sep 30, 2019
b57f2ff
Use VAULT_TOKEN environment variable if it exists (#45525)
mark-vieira Sep 30, 2019
e4fc942
Adjust randomization in cluster shard limit tests (#47254)
gwbrown Sep 30, 2019
a6c517a
[DOCS] Changes wording to move away from data frame terminology in th…
szabosteve Oct 1, 2019
591bba4
SQL: Add examples fo muting sql/csv integ tests (#47291)
matriv Oct 1, 2019
63c2b54
Fix SSLErrorMessageTests in Windows (#47315)
jkakavas Oct 1, 2019
56ba1b8
Fix CloseIndexIT.testRelocatedClosedIndexIssue (#47169)
ywelsch Oct 1, 2019
8585d58
Provide better error when updating geo_shape field mapper settings (#…
iverase Oct 1, 2019
b917b57
Fix Active Directory tests (#47266)
jkakavas Oct 1, 2019
32c848b
Testclusters fix bwc (#46740)
alpar-t Oct 1, 2019
6c6b4bf
Implement evaluation API for multiclass classification problem (#47126)
przemekwitek Oct 1, 2019
af930a7
Cancel recoveries even if all shards assigned (#46520)
howardhuanghua Oct 1, 2019
cc520ba
Fix trailing whitespace introduced in #46520
DaveCTurner Oct 1, 2019
5cdf867
Revert "Fix Active Directory tests (#47266)"
jkakavas Oct 1, 2019
6cfc2f4
Speed up and Reorder Snapshot Delete Operations (#47293)
original-brownbear Oct 1, 2019
519fd9b
Fix CharArraysTests.testConstantTimeEquals() (#47346)
tlrx Oct 1, 2019
dea96fb
Fix AD realm additional metadata (#47179)
albertzaharovits Oct 1, 2019
9993cf3
Use standard semantics for retried auto-id requests (#47311)
ywelsch Oct 1, 2019
ead743d
SQL: Implement DATE_PART function (#47206)
matriv Oct 1, 2019
e2395ad
[ML][Inference] Adding preprocessors to definition object (#47320)
benwtrent Oct 1, 2019
91ad604
Remove Dead BwC Code from Snapshots (#47340)
original-brownbear Oct 1, 2019
57a679f
Documentation notes for Range field histograms (#46890)
not-napoleon Oct 1, 2019
65ecd82
Adds version 7.4.1
colings86 Oct 1, 2019
9f5f9f1
[DOCS] Document cat tasks API (#47321)
jrodewig Oct 1, 2019
26fef85
[DOCS] Clarify `actions` parm def for tasks APIs
jrodewig Oct 1, 2019
f99096e
Fix MetaDataIndexStateServiceTests.testValidateShardLimit (#47352)
original-brownbear Oct 1, 2019
f47da1d
[ML] Restore analytics state if available (#47128)
dimitris-athanasiou Oct 1, 2019
af4e6ed
[ML][Inference] adding ensemble model objects (#47241)
benwtrent Oct 1, 2019
e2b9c1b
[DOCS] Reformat put pipeline API (#47171)
jrodewig Oct 1, 2019
6ef5300
[DOCS] Reformat simulate pipeline API (#47301)
jrodewig Oct 1, 2019
650c0c6
Keep nodes above watermark in testAutomaticReleaseOfIndexBlock (#47387)
DaveCTurner Oct 1, 2019
7583c07
[DOCS] Reorder index APIs alphabetically (#46981)
jrodewig Oct 1, 2019
2052549
Ensure test node count is always in upper bound (#47383)
gwbrown Oct 1, 2019
f94b3df
Remove empty buildSrc subproject (#47415)
mark-vieira Oct 1, 2019
fab41a5
Clarify missing java error message (#46160)
rjernst Oct 2, 2019
e15d2e0
Fix for ApiKeyIntegTests related to Expired API keys remover (#43477)
bizybot Oct 2, 2019
4073499
[DOCS] Fixes typos in the PUT dfa and the evaluate dfa documentation.…
szabosteve Oct 2, 2019
cea5add
Fix alias field resolution in match query (#47369)
jimczi Oct 2, 2019
865fe4f
[ML] Throttle the delete-by-query of expired results (#47177)
droberts195 Oct 2, 2019
aa7c403
[DOCS] Fine tunes update anomaly detection job API documentation (#47…
szabosteve Oct 2, 2019
44d4cf7
Clearer language around upgrade sequence (#47422)
robin13 Oct 2, 2019
4977baf
[DOCS] Adds examples to the PUT dfa and the evaluate dfa APIs (#46966)
szabosteve Oct 2, 2019
fcf6c17
Clarify that you cannot abort an upgrade (#47342)
DaveCTurner Oct 2, 2019
c585efe
Disallow externally generated autoGeneratedTimestamp (#47341)
ywelsch Oct 2, 2019
e1012ef
Use optype CREATE for single auto-id index requests (#47353)
ywelsch Oct 2, 2019
c2a048b
Reset Token position on reuse in scripted analysis (#47424)
romseygeek Oct 2, 2019
876594f
MockSearchService concurrency fix (#47139)
henningandersen Oct 2, 2019
3996477
Fix XPackPlugin usages in tests (#47252)
henningandersen Oct 2, 2019
b847030
[ML] Make PUT data frame analytics action a master node action (#47394)
dimitris-athanasiou Oct 2, 2019
f52afa3
Adapt version constants after backport (#47353)
ywelsch Oct 2, 2019
64cd974
Fix Active Directory tests (#47358)
jkakavas Oct 2, 2019
50ad802
Fix highlighting of overlapping terms in the unified highlighter (#47…
jimczi Oct 2, 2019
71ee2f1
Fix Snapshot Finalization not Waiting for Index Metadata (#47445)
original-brownbear Oct 2, 2019
b1cc727
Fix AllocationRoutedStepTests.testConditionMetOnlyOneCopyAlloc… (#47313)
dakrone Oct 2, 2019
17dc095
Add API to execute SLM retention on-demand (#47405)
dakrone Oct 2, 2019
72a59d4
Remove groovy test code from buildSrc (#47416)
mark-vieira Oct 2, 2019
f63ee2f
Allow setting validation against arbitrary types (#47264)
jasontedor Oct 2, 2019
8ce4a76
Always flush in FullClusterRestartIT#testRecovery (#47465)
dnhatn Oct 2, 2019
ca54b44
Remove eclipse conditionals (#44075)
alpar-t Oct 3, 2019
ea1c22c
Remove Incorrect Assertion from SnapshotsInProgress (#47458)
original-brownbear Oct 3, 2019
c74ca28
Fix getSnapshotIndexMetaData Exception Behavior (#47488)
original-brownbear Oct 3, 2019
2946355
Remove typename checks in mapping updates (#47347)
romseygeek Oct 3, 2019
c0da956
[DOCS] Amends update datafeed API docs (#47448)
szabosteve Oct 3, 2019
1eb99a2
Fix ADRealmTests in FIPS 140 JVMs (#47437)
jkakavas Oct 3, 2019
ac543d5
[DOCS] Remove duplicated half-sentence from secure settings docs (#47…
AndyHunt66 Oct 3, 2019
3f4be61
[DOCS] Change index name in rollover ILM example (#47492)
immon Oct 3, 2019
8c46477
Limit number of retaining translog files for peer recovery (#47414)
dnhatn Oct 3, 2019
e1a3017
[DOCS] Fixes missing link title (#47481)
lcawl Oct 3, 2019
3c011aa
Fix Ex. Handling in SnapshotsService#snapshots (#47507)
original-brownbear Oct 3, 2019
be397b7
Simplify Snapshot Delete Process (#47439)
original-brownbear Oct 3, 2019
2288052
[DOCS] Update painless statements with if/else example (#47485)
renshuki Oct 3, 2019
0647050
[DOCS] Reformat index shard stores API docs (#46504)
jrodewig Oct 3, 2019
730c35c
[DOCS] Reformat index recovery API docs (#46493)
jrodewig Oct 3, 2019
5c49ac1
[DOCS] Copies security source files from stack-docs (#47521)
lcawl Oct 3, 2019
f95753a
Fix Rollover error when alias has closed indices (#47148)
gwbrown Oct 3, 2019
f7edcb0
[DOCS] Fixes build errors (#47536)
lcawl Oct 3, 2019
b9b9994
Update link to ls monitoring settings (#47529)
karenzone Oct 3, 2019
d8b4556
Add explanations to script score queries (#46693)
rjernst Oct 4, 2019
f962d1c
Make All OS tests run on GCP instances (#46924)
alpar-t Oct 4, 2019
b03be6e
[DOCS] Fixes an attribute in the update datafeed API docs. (#47551)
szabosteve Oct 4, 2019
3a7ad13
Do common node config on bwc tests (#47361)
alpar-t Oct 4, 2019
e036ac4
Remove fallback for controller location (#47104)
droberts195 Oct 4, 2019
d683b20
[ML] More accurate job memory overhead (#47516)
droberts195 Oct 4, 2019
e244d65
Fix Snapshot Corruption in Edge Case (#47552)
original-brownbear Oct 4, 2019
1fc8dd2
Implement new analysis type: classification (#46537)
przemekwitek Oct 4, 2019
e33a02b
NameID mapping and Single Logout (#47288)
jkakavas Oct 4, 2019
fbd4ec5
Validating monitoring hosts setting while parsing (#47246)
jasontedor Oct 4, 2019
7213035
Fix serialization of evaluation response. (#47557)
przemekwitek Oct 4, 2019
2b0b092
Fix windows packaging tests (#47554)
alpar-t Oct 4, 2019
785cf6b
Upgrade joni from 2.1.6 to 2.1.29 (#47374)
martijnvg Oct 4, 2019
bb14ba8
SQL: fix multi full-text functions usage with aggregate functions (#4…
astefan Oct 4, 2019
4e6756f
Fold InitialSearchPhase into AbstractSearchAsyncAction (#47182)
javanna Oct 4, 2019
506329f
[DOCS] Reformat split index API docs (#46713)
jrodewig Oct 4, 2019
854cd91
[DOCS] Correct headings for split index API docs
jrodewig Oct 4, 2019
2a527db
Add a ScriptRoot to consolidate global data necessary for multiple pa…
jdconrad Oct 4, 2019
7ad45f4
[DOCS] Reformat shrink index API docs (#46711)
jrodewig Oct 4, 2019
fbf698e
[DOCS] Reformat refresh API docs (#46667)
jrodewig Oct 4, 2019
37d6106
ILM: Skip rolling indexes that are already rolled (#47324)
andreidan Oct 4, 2019
9141e05
Cleaner Handling of Store Refcount in BlobStoreRepository (#47560)
original-brownbear Oct 4, 2019
c120dd2
[DOCS] Adds missing security anchors (#47585)
lcawl Oct 4, 2019
beb5096
[DOCS] Minor fixes to security documentation
lcawl Oct 4, 2019
c26ce1d
DocValueFormat implementation for date range fields (#47472)
not-napoleon Oct 4, 2019
e86d40f
Eliminate Gradle task input warnings (#47538)
mark-vieira Oct 4, 2019
f6f249b
Expose ValueException in Grok (#47368)
talevy Oct 4, 2019
08e887a
Set default SLM retention invocation time (#47604)
dakrone Oct 4, 2019
4e4990c
[DOCS] Cleans up links to security content (#47610)
lcawl Oct 4, 2019
bf2a5a0
Move ES_TMPDIR substitution into jvm options parser (#47189)
jasontedor Oct 4, 2019
0192657
[DOCS] Reformats bulk API. (#47479)
debadair Oct 4, 2019
d5be040
Reformats mget API (#47477)
debadair Oct 5, 2019
6710279
Reformats reindex API (#47483)
debadair Oct 5, 2019
07f4ca7
Reformats term vectors APIs (#47484)
debadair Oct 5, 2019
3d4a7d0
Mute org.elasticsearch.xpack.sql.jdbc.JdbcConfigurationTests.testDriv…
alpar-t Oct 5, 2019
da59dfe
Introduce packaging tests for Docker (#46599)
pugnascotia Oct 5, 2019
d598083
[DOCS] Comment out tag in Task Managment API Docs so it isn't rendere…
debadair Oct 5, 2019
9945d5c
[ML] Mute RegressionIT.testStopAndRestart (#47624)
dimitris-athanasiou Oct 5, 2019
4f41853
Add Consistency Assertion to SnapshotsInProgress (#47598)
original-brownbear Oct 7, 2019
413aad9
Add IT for Snapshot Issue in 47552 (#47627)
original-brownbear Oct 7, 2019
2ea8844
Fail earlier Put Follow requests for closed leader indices (#47582)
tlrx Oct 7, 2019
b958467
Mute docker packaging tests (DockerTests)
alpar-t Oct 7, 2019
01f9177
Add support to retrieve all API keys if user has privilege (#47274)
bizybot Oct 7, 2019
8c4de64
Simplify Snapshot Delete Further (#47626)
original-brownbear Oct 7, 2019
924b298
Add 'create_doc' index privilege (#45806)
bizybot Oct 7, 2019
e99435a
[ML] Additional outlier detection parameters (#47600)
dimitris-athanasiou Oct 7, 2019
7a622f0
Remove types from BulkRequest (#46983)
romseygeek Oct 7, 2019
73cd9e0
Fix the windows packaging tests exit code
alpar-t Oct 7, 2019
08a22d0
SQL: Allow whitespaces in escape patterns (#47577)
matriv Oct 7, 2019
78e7a2e
Update deprecation logging doc with logger configuration (#47649)
pgomulka Oct 7, 2019
61ff51a
[DOCS] Reformat clear cache API docs (#46512)
jrodewig Oct 7, 2019
e7ffacf
[DOCS] Correct callouts in search template docs (#47655)
jrodewig Oct 7, 2019
5cec47d
[DOCS] Correct deprecation note in mapping docs (#47656)
jrodewig Oct 7, 2019
6e98189
Watcher remove assertion that is susceptible to a race condition (#47…
jakelandis Oct 7, 2019
e9e121c
[Transform] move root endpoint to _transform with BWC layer (#47127)
Oct 7, 2019
446dcbe
Modify Painless AST to add synthetic functions during semantic pass (…
jdconrad Oct 7, 2019
890b3db
[ML][Inference] adjusting definition object schema and validation (#4…
benwtrent Oct 7, 2019
f52a984
Watcher - catch uncaught exception. (#47680)
jakelandis Oct 7, 2019
7db3dc3
Re-enable Watcher rest test (#47687)
jakelandis Oct 7, 2019
07ed3d5
Re-enable Watcher rest tests (#47690)
jakelandis Oct 7, 2019
8b38e9f
Ensure index is green after closing in test (#47541)
gwbrown Oct 7, 2019
04a1b1d
Re-enable Watcher rest tests (#47692)
jakelandis Oct 7, 2019
9358b2f
Re-enable Watcher rest test (#47699)
jakelandis Oct 7, 2019
fbda3a7
Explicit name for doc snippets (#46951)
probakowski Oct 7, 2019
4de0d77
Switch stored script example to script_score query (#47691)
rjernst Oct 8, 2019
e0c2ac1
Add a test for SLM retention with security enabled (#47608)
dakrone Oct 8, 2019
ead99f1
Throw error retrieving non-existent SLM policy (#47679)
dakrone Oct 8, 2019
9d67a02
Deprecate include_relocations setting (#47443)
DaveCTurner Oct 8, 2019
791116c
Dangling indices strip aliases (#47581)
henningandersen Oct 8, 2019
7b652ad
Remove include_relocations setting (#47717)
DaveCTurner Oct 8, 2019
3bf141d
[ML] Unwrap exception causes before calling instanceof (#47676)
dimitris-athanasiou Oct 8, 2019
8f78554
Convert RunTask to use testclusers, remove ClusterFormationTasks (#47…
alpar-t Oct 8, 2019
29c6da7
[DOCS] Fix errors in rollover index API docs (#47702)
jrodewig Oct 8, 2019
71fab46
Add Snapshot Lifecycle Retention documentation (#47545)
dakrone Oct 8, 2019
2246767
[ML] Add basic BWC tests for data frame analytics (#47212)
dimitris-athanasiou Oct 8, 2019
e2dc560
Make loadShardSnapshot Exceptions Consistent (#47728)
original-brownbear Oct 8, 2019
98611e7
Introduce simple remote connection strategy (#47480)
Tim-Brooks Oct 8, 2019
e221f86
Manage retention of failed snapshots in SLM (#47617)
gwbrown Oct 8, 2019
8b201e6
Fix cluster alert for watcher/monitoring IndexOutOfBoundsExcep… (#45308)
jakelandis Oct 8, 2019
4aa6a9e
Separate SLM stop/start/status API from ILM (#47710)
dakrone Oct 8, 2019
603c3e6
Filter out special gradle threads from leak control (#47713)
rjernst Oct 8, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
1 change: 1 addition & 0 deletions .ci/bwcVersions
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@ BWC_VERSION:
- "7.3.1"
- "7.3.2"
- "7.4.0"
- "7.4.1"
- "7.5.0"
- "8.0.0"
66 changes: 38 additions & 28 deletions .ci/init.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,18 @@ initscript {
}
}

['VAULT_ADDR', 'VAULT_ROLE_ID', 'VAULT_SECRET_ID'].each {
if (System.env."$it" == null) {
throw new GradleException("$it must be set!")
boolean USE_ARTIFACTORY=false

}
if (System.getenv('VAULT_ADDR') == null) {
throw new GradleException("You must set the VAULT_ADDR environment variable to use this init script.")
}

if (System.getenv('VAULT_ROLE_ID') == null && System.getenv('VAULT_SECRET_ID') == null && System.getenv('VAULT_TOKEN') == null) {
throw new GradleException("You must set either the VAULT_ROLE_ID and VAULT_SECRET_ID environment variables, " +
"or the VAULT_TOKEN environment variable to use this init script.")
}

final String vaultToken = new Vault(
final String vaultToken = System.getenv('VAULT_TOKEN') ?: new Vault(
new VaultConfig()
.address(System.env.VAULT_ADDR)
.engineVersion(1)
Expand All @@ -37,46 +41,52 @@ final Vault vault = new Vault(
)
.withRetries(5, 1000)

final Map<String,String> artifactoryCredentials = vault.logical()
.read("secret/elasticsearch-ci/artifactory.elstc.co")
.getData();

logger.info("Using elastic artifactory repos")
Closure configCache = {
return {
name "artifactory-gradle-release"
url "https://artifactory.elstc.co/artifactory/gradle-release"
credentials {
username artifactoryCredentials.get("username")
password artifactoryCredentials.get("token")
if (USE_ARTIFACTORY) {
final Map<String,String> artifactoryCredentials = vault.logical()
.read("secret/elasticsearch-ci/artifactory.elstc.co")
.getData();
logger.info("Using elastic artifactory repos")
Closure configCache = {
return {
name "artifactory-gradle-release"
url "https://artifactory.elstc.co/artifactory/gradle-release"
credentials {
username artifactoryCredentials.get("username")
password artifactoryCredentials.get("token")
}
}
}
}
settingsEvaluated { settings ->
settings.pluginManagement {
repositories {
maven configCache()
settingsEvaluated { settings ->
settings.pluginManagement {
repositories {
maven configCache()
}
}
}
}
projectsLoaded {
allprojects {
buildscript {
projectsLoaded {
allprojects {
buildscript {
repositories {
maven configCache()
}
}
repositories {
maven configCache()
}
}
repositories {
maven configCache()
}
}
}

projectsLoaded {
rootProject {
project.pluginManager.withPlugin('com.gradle.build-scan') {
buildScan.server = 'https://gradle-enterprise.elastic.co'
}
}
}


final String buildCacheUrl = System.getProperty('org.elasticsearch.build.cache.url')
final boolean buildCachePush = Boolean.valueOf(System.getProperty('org.elasticsearch.build.cache.push', 'false'))

Expand Down
36 changes: 36 additions & 0 deletions .ci/os.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
If (-NOT ([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator))
{
# Relaunch as an elevated process:
Start-Process powershell.exe "-File",('"{0}"' -f $MyInvocation.MyCommand.Path) -Verb RunAs
exit
}

# CI configures these, uncoment if running manually
#
# $env:ES_BUILD_JAVA="java12"
#$env:ES_RUNTIME_JAVA="java11"

$ErrorActionPreference="Stop"
$gradleInit = "C:\Users\$env:username\.gradle\init.d\"
echo "Remove $gradleInit"
Remove-Item -Recurse -Force $gradleInit -ErrorAction Ignore
New-Item -ItemType directory -Path $gradleInit
echo "Copy .ci/init.gradle to $gradleInit"
Copy-Item .ci/init.gradle -Destination $gradleInit

[Environment]::SetEnvironmentVariable("JAVA_HOME", $null, "Machine")
$env:PATH="C:\Users\jenkins\.java\$env:ES_BUILD_JAVA\bin\;$env:PATH"
$env:JAVA_HOME=$null
$env:SYSTEM_JAVA_HOME="C:\Users\jenkins\.java\$env:ES_RUNTIME_JAVA"
Remove-Item -Recurse -Force \tmp -ErrorAction Ignore
New-Item -ItemType directory -Path \tmp

$ErrorActionPreference="Continue"
# TODO: remove the task exclusions once dependencies are set correctly and these don't run for Windows or buldiung the deb on windows is fixed
& .\gradlew.bat -g "C:\Users\$env:username\.gradle" --parallel --scan --console=plain destructiveDistroTest `
-x :distribution:packages:buildOssDeb `
-x :distribution:packages:buildDeb `
-x :distribution:packages:buildOssRpm `
-x :distribution:packages:buildRpm `

exit $LastExitCode
68 changes: 68 additions & 0 deletions .ci/os.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
#!/bin/bash

# opensuse 15 has a missing dep for systemd

if which zypper > /dev/null ; then
sudo zypper install -y insserv-compat
fi

# Required by bats
sudo touch /etc/is_vagrant_vm
sudo useradd vagrant

set -e

. .ci/java-versions.properties
RUNTIME_JAVA_HOME=$HOME/.java/$ES_RUNTIME_JAVA
BUILD_JAVA_HOME=$HOME/.java/$ES_BUILD_JAVA

rm -Rfv $HOME/.gradle/init.d/ && mkdir -p $HOME/.gradle/init.d
cp -v .ci/init.gradle $HOME/.gradle/init.d

unset JAVA_HOME

if ! [ -e "/usr/bin/bats" ] ; then
git clone https://github.com/sstephenson/bats /tmp/bats
sudo /tmp/bats/install.sh /usr
fi


if [ -f "/etc/os-release" ] ; then
cat /etc/os-release
. /etc/os-release
if [[ "$ID" == "debian" || "$ID_LIKE" == "debian" ]] ; then
# FIXME: The base image should not have rpm installed
sudo rm -Rf /usr/bin/rpm
fi
else
cat /etc/issue || true
fi

sudo bash -c 'cat > /etc/sudoers.d/elasticsearch_vars' << SUDOERS_VARS
Defaults env_keep += "ZIP"
Defaults env_keep += "TAR"
Defaults env_keep += "RPM"
Defaults env_keep += "DEB"
Defaults env_keep += "PACKAGING_ARCHIVES"
Defaults env_keep += "PACKAGING_TESTS"
Defaults env_keep += "BATS_UTILS"
Defaults env_keep += "BATS_TESTS"
Defaults env_keep += "SYSTEM_JAVA_HOME"
Defaults env_keep += "JAVA_HOME"
SUDOERS_VARS
sudo chmod 0440 /etc/sudoers.d/elasticsearch_vars

# Bats tests still use this locationa
sudo rm -Rf /elasticsearch
sudo mkdir -p /elasticsearch/qa/ && sudo chown jenkins /elasticsearch/qa/ && ln -s $PWD/qa/vagrant /elasticsearch/qa/

# sudo sets it's own PATH thus we use env to override that and call sudo annother time so we keep the secure root PATH
# run with --continue to run both bats and java tests even if one fails
# be explicit about Gradle home dir so we use the same even with sudo
sudo -E env \
PATH=$BUILD_JAVA_HOME/bin:`sudo bash -c 'echo -n $PATH'` \
RUNTIME_JAVA_HOME=`readlink -f -n $RUNTIME_JAVA_HOME` \
--unset=JAVA_HOME \
SYSTEM_JAVA_HOME=`readlink -f -n $RUNTIME_JAVA_HOME` \
./gradlew -g $HOME/.gradle --scan --parallel $@ --continue destructivePackagingTest

Loading