* Update dependency del to v5
* unify del/rimraf usage with del v5
* update yarn.lock
* update kbn-pm distributable
* remove poorly transformed code
* force some deletes from tmp
* mock less of the fs module
* force tmp deletion in a few more suites
* please make this the last force
* Update eslint related packages
* add errorMessage to no-restricted-paths validation
* add license to eslintrc file
* ignore broken plugin fixture
* upgrade tangled peer deps
* give name to unnamed func to avoid typescript-eslint/typescript-eslint#1078
* migrate away from removed prefer-interface
* migrate away from removed no-angle-bracket-type-assertions rule
* migrate away from removed no-triple-slash-reference rule
* old config was invalid and made this rule a noop
* fix array-type rule config
* fix readonly paramProperties that weren't being checked
* fix propType ordering
* remove references to non-existent rules
* remove unnecessary disable that is improperly formatted
* fix comment-related spacing
* fix typo/invalid namespace overrides
* rename fn to avoid hook-alike behavior
* remove reference to old removed rule
* use caret version for prettier
* reference babel-eslint with absolute path
We test each value to determine if it's a file, in which case we move it to the
config directory. This is required to support things like SSL certificates which
are required to be within the ES directory. path.isAbsolute evalues to true for
a regular expression. In order to resolve this, we also verify that the file
exists.
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
* Initial work
* Add integration tests
* Use constants
* Fix broken code
* Handle scenario where esArgs is a string
* Remove || []
* Apply PR feedback
* Use const format
* force snapshot artifact if `KBN_ES_SNAPSHOT_URL` is set
* override the snapshot to a specific build at a custom url
(cherry picked from commit 6fda5bf3bf)
* Revert "Revert "[kbn-es] await native realm setup, error if there are failures (#36290)""
This reverts commit a102ca1f97.
* [kbn/es] retry setPassword call if it fails
* [kbn-es] await native realm setup, error if there are failures
* cleanup listener from started promise too
* fix typo
* log native realm setup errors on run and handle 400 when xpack isn't available
* avoid creating potentially unused promises
* avoid Promise constructor that's larger than necessary
* group similar operations, add some light comments
* set passwords in parallel so that logging is grouped
* update native realm tests
* update es_bin fixture to handle _xpack requests
* log started after server is listening
* remove unused mockEsBin args
* use more realistic http address log
* In kbn-test, provide password to cluster.start()
* Security enabled by default, overwrite by passing `-E "xpack.security.enabled=false"`
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>