Skip to content
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

Add argument to switch to non root user for running smoke test script #572

Merged
merged 3 commits into from
Jan 14, 2025

Conversation

zelinh
Copy link
Member

@zelinh zelinh commented Jan 10, 2025

Description

Add argument to switch to non root user for running smoke test script.
We don't need root user to run the smoke test workflow and root user will cause the Jenkins user unable to clean up workspace once the test workflow completed.

Add an argument to switch to non-root user access especially for RPM & DEB distributions.

Issues Resolved

Part of opensearch-project/opensearch-build#5229

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.

zelinh added 2 commits January 9, 2025 14:48
Signed-off-by: Zelin Hao <zelinhao@amazon.com>
Signed-off-by: Zelin Hao <zelinhao@amazon.com>
Copy link

codecov bot commented Jan 10, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.83%. Comparing base (4123385) to head (4d0180d).
Report is 1 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main     #572      +/-   ##
============================================
+ Coverage     84.81%   84.83%   +0.02%     
  Complexity      114      114              
============================================
  Files           120      121       +1     
  Lines           685      686       +1     
  Branches         75       75              
============================================
+ Hits            581      582       +1     
  Misses           30       30              
  Partials         74       74              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@peterzhuamazon
Copy link
Member

Hi @zelinh could you please bump the version in bundle.gradle?

Thanks.

Signed-off-by: Zelin Hao <zelinhao@amazon.com>
@zelinh
Copy link
Member Author

zelinh commented Jan 13, 2025

Hi @zelinh could you please bump the version in bundle.gradle?

Thanks.

Just bumped the version to 8.1.1. Thanks.

@zelinh zelinh merged commit 7f69162 into opensearch-project:main Jan 14, 2025
9 of 10 checks passed
@zelinh zelinh deleted the switch-user branch January 14, 2025 00:03
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jan 14, 2025
…#572)

Signed-off-by: Zelin Hao <zelinhao@amazon.com>
(cherry picked from commit 7f69162)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

2 participants