-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[OSCI][DEV]ingest feature flags from .env file #10544
Conversation
Signed-off-by: kohinoor98 <kohinoorchatterjee1998@gmail.com>
Signed-off-by: kohinoor98 <kohinoorchatterjee1998@gmail.com>
Signed-off-by: kohinoor98 <kohinoorchatterjee1998@gmail.com>
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
…into 594_modify_config Signed-off-by: kohinoor98 <kohinoorchatterjee1998@gmail.com>
Gradle Check (Jenkins) Run Completed with:
|
Ideally, I'd like to be able to do both
|
Hi @dblock
dotenv ./gradlew run dotenv-cli would need to be installed on the users system. This tool helps manage the environment variables by loading them from a Therefore, while dotenv-cli aids in the initial loading of your custom environment variables, the actual running script initiated by
Thanks, |
This is totally normal, typical use of dotenv. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure what the value of having a .env file is vs opensearch.yml, but maybe I am not the developer targeted by this effort 🤷
I develop on my less-than-beefy windows laptop by using VSCode's remote plugin to an EC2 instance does the heavy lifting, maybe I am part of the audience but have been worked around these issues addressed with .env?
PS: I rarely use ./gradlew run
opting to use test cases to validate what I'm build most of the time.
Signed-off-by: kohinoor98 <kohinoorchatterjee1998@gmail.com>
Gradle Check (Jenkins) Run Completed with:
|
@kohinoor98 Please do rebase/force push an update to re-trigger tests until they pass. Appreciate any time you can spend fixing flaky tests while you wait on retries, too. |
Signed-off-by: kohinoor98 <kohinoorchatterjee1998@gmail.com>
❌ Gradle check result for 79150da: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
Signed-off-by: kohinoor98 <kohinoorchatterjee1998@gmail.com>
❌ Gradle check result for 3fea373: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
This PR is stalled because it has been open for 30 days with no activity. |
I suggest we close this. @kohinoor98 you are more than welcome to open a new PR for this change in the future. |
I am facing some issues with hitting all green due to some configurations. I will create a new PR for the same. |
Description
Reads the .env file and then applies the necessary flags to the system instead of passing in flags in the commandline.
Related Issues
Resolves #594
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.