-
Notifications
You must be signed in to change notification settings - Fork 275
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
Fix deb/rpm integTest not install distribution correctly due to 2.12 security changes #4376
Fix deb/rpm integTest not install distribution correctly due to 2.12 security changes #4376
Conversation
…security changes Signed-off-by: Peter Zhu <[email protected]>
64439f7
to
3425c91
Compare
'sudo', | ||
'dpkg', | ||
'--purge', | ||
self.filename, | ||
'&&', | ||
'sudo', | ||
'env', | ||
'OPENSEARCH_INITIAL_ADMIN_PASSWORD=myStrongPassword123!', |
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.
What about versions less than 2.12.0? Maybe use get_password
here similar to https://github.com/opensearch-project/opensearch-build/pull/4334/files#diff-68a045772f64ada86fcfd23d4e6685b142ed16c1c92ff159601592797e8d4bceR90
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.
@gaiksaya versions less than 2.12.0 will not get affected at all.
Because they dont even care about this env var.
Signed-off-by: Peter Zhu <[email protected]>
Signed-off-by: Peter Zhu <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4376 +/- ##
=======================================
Coverage 91.35% 91.35%
=======================================
Files 190 190
Lines 6197 6197
=======================================
Hits 5661 5661
Misses 536 536 ☔ View full report in Codecov by Sentry. |
Description
Fix deb/rpm integTest not install distribution correctly due to 2.12 security changes
Issues Resolved
#4370
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.