OpenSearch/libs
Rory Hunter 2bd3a05892
Refactor environment variable processing for Docker (#50221)
Backport of #49612.

The current Docker entrypoint script picks up environment variables and
translates them into -E command line arguments. However, since any tool
executes via `docker exec` doesn't run the entrypoint, it results in
a poorer user experience.

Therefore, refactor the env var handling so that the -E options are
generated in `elasticsearch-env`. These have to be appended to any
existing command arguments, since some CLI tools have subcommands and
-E arguments must come after the subcommand.

Also extract the support for `_FILE` env vars into a separate script, so
that it can be called from more than once place (the behaviour is
idempotent).

Finally, add noop -E handling to CronEvalTool for parity, and support
`-E` in MultiCommand before subcommands.
2019-12-16 15:39:28 +00:00
..
cli Refactor environment variable processing for Docker (#50221) 2019-12-16 15:39:28 +00:00
core correct licensing and incorporation of FastMath (#49122) (#49441) 2019-11-21 09:02:30 -08:00
dissect Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
geo Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
grok Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
nio Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
plugin-classloader [Backport] Replace usages RandomizedTestingTask with built-in Gradle Test (#40978) (#40993) 2019-04-09 11:52:50 -07:00
secure-sm Add SecureSM support for newer IDEA versions (#49747) 2019-12-04 13:50:06 +01:00
ssl-config Improved diagnostics for TLS trust failures (#49669) 2019-11-29 15:01:20 +11:00
x-content Make elasticsearch-node tools custom metadata-aware (#48390) 2019-12-10 09:58:11 +01:00
build.gradle Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00