-
Notifications
You must be signed in to change notification settings - Fork 277
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
Updates tar distribution to conform to changes in install demo configuration script in security plugin #4250
Merged
peterzhuamazon
merged 12 commits into
opensearch-project:main
from
DarshitChanpura:tar-dist-update
Jan 16, 2024
Merged
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
142590d
Updates tar distribution to conform to changes in install demo config…
DarshitChanpura 0b2a10f
Merge remote-tracking branch 'upstream/main' into tar-dist-update
DarshitChanpura 7b37d44
Updates log statement
DarshitChanpura 78f3345
Updates info log
DarshitChanpura 595bb91
Merge remote-tracking branch 'upstream/main' into tar-dist-update
DarshitChanpura bc713dd
Updates the info message to reflect env variable name change
DarshitChanpura d50eff1
Corrects info logs
DarshitChanpura 433c0bc
Captializes security plugin name in info logs
DarshitChanpura 6c76e91
Merge remote-tracking branch 'upstream/main' into tar-dist-update
DarshitChanpura 805c86f
Updates multiple echos with a single printf
DarshitChanpura 1f4b6b0
Merge remote-tracking branch 'upstream/main' into tar-dist-update
DarshitChanpura 840a220
Change to echo -e
DarshitChanpura File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
After talking to @prudhvigodithi we should remove the exit 1, and add
set -e
to the install script, as the original design removed that due tochmod 777 /dev/shm
, which has been removed some time ago.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.
More conversation with @DarshitChanpura and seems like
set -e
might have more impact on docker side. He will get more info on that and we will need some more discussion on it with @prudhvigodithi.I am ok with either approach, just think it would be better if we are consistent across all distributions.
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.
set -e affects the entire file setup and analyzing that change is out of scope, IMO. @prudhvigodithi @peterzhuamazon please lmk if we should indeed use
set -e
. TAR is much simple to analyze and can be changed to use set -e, however, docker setup is bit more involved in terms of understanding all possible code paths. Windows however doesn't haveset -e
from what I understand, and hence will require some form of|| exit /b 1
.So, for consistency purposes I'd vote on keeping it as is with
|| exit 1
. This has been extensively tested on TAR, docker and Windows, and the setup works as expected with this change.@prudhvigodithi @peterzhuamazon @rishabh6788 thoughts?