-
Notifications
You must be signed in to change notification settings - Fork 919
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
[docs] update dev guide to connect to external cluster #9080
[docs] update dev guide to connect to external cluster #9080
Conversation
An alternative to developing locally and setting up OpenSearch locally by pointing to a running cluster. Issue: n/a Signed-off-by: Kawika Avilla <[email protected]>
Signed-off-by: Kawika Avilla <[email protected]>
$ cd .. | ||
$ yarn osd bootstrap --single-version=loose | ||
``` | ||
2. Create a configuration directory outside your repository to avoid accidentally committing credentials. For example: |
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 believe git can also ignore files locally by:
# ignore file
git update-index --skip-worktree <file-list>
# add back file to track
git update-index --no-skip-worktree <file-list>
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.
would like to have something like profile(ideas from spring framework), if a profile has been set to dev
, the configuration will read from opensearch_dashboards-dev.yml
. by default it opensearch_dashboards.yml
.
$ cd .. | ||
$ yarn osd bootstrap --single-version=loose | ||
``` | ||
2. Create a configuration directory outside your repository to avoid accidentally committing credentials. For example: |
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.
FYI, I normally use opensearch_dashboards.dev.yml
to keep local dev configuration, this file is git ignored. But seems there is no documentation for this.
* [docs] update dev guide to connect to external cluster An alternative to developing locally and setting up OpenSearch locally by pointing to a running cluster. Issue: n/a Signed-off-by: Kawika Avilla <[email protected]> * dont include port Signed-off-by: Kawika Avilla <[email protected]> * Changeset file for PR #9080 created/updated --------- Signed-off-by: Kawika Avilla <[email protected]> Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com> (cherry picked from commit a98e178) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…oject#9080) * [docs] update dev guide to connect to external cluster An alternative to developing locally and setting up OpenSearch locally by pointing to a running cluster. Issue: n/a Signed-off-by: Kawika Avilla <[email protected]> * dont include port Signed-off-by: Kawika Avilla <[email protected]> * Changeset file for PR opensearch-project#9080 created/updated --------- Signed-off-by: Kawika Avilla <[email protected]> Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
* [docs] update dev guide to connect to external cluster An alternative to developing locally and setting up OpenSearch locally by pointing to a running cluster. Issue: n/a * dont include port * Changeset file for PR #9080 created/updated --------- (cherry picked from commit a98e178) Signed-off-by: Kawika Avilla <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
Description
An alternative to developing locally and setting up OpenSearch locally
by pointing to a running cluster.
Signed-off-by: Kawika Avilla [email protected]
Issues Resolved
n/a
Changelog
Check List
yarn test:jest
yarn test:jest_integration