-
Notifications
You must be signed in to change notification settings - Fork 88
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
Use admin cert and key when deleting system indices for cypress test cleanup #1174
Merged
vikasvb90
merged 2 commits into
opensearch-project:main
from
cwperks:cleanup-cypress-tests
Sep 11, 2024
Merged
Use admin cert and key when deleting system indices for cypress test cleanup #1174
vikasvb90
merged 2 commits into
opensearch-project:main
from
cwperks:cleanup-cypress-tests
Sep 11, 2024
Conversation
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
…cleanup Signed-off-by: Craig Perkins <[email protected]>
cwperks
requested review from
bowenlan-amzn,
Hailong-am,
RamakrishnaChilaka,
vikasvb90 and
SuZhou-Joe
as code owners
September 10, 2024 20:30
Signed-off-by: Craig Perkins <[email protected]>
vikasvb90
approved these changes
Sep 11, 2024
opensearch-trigger-bot bot
pushed a commit
that referenced
this pull request
Sep 11, 2024
…cleanup (#1174) * Use admin cert and key when deleting system indices for cypress test cleanup Signed-off-by: Craig Perkins <[email protected]> * Remove unused imports Signed-off-by: Craig Perkins <[email protected]> --------- Signed-off-by: Craig Perkins <[email protected]> (cherry picked from commit a343286) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
opensearch-trigger-bot bot
pushed a commit
that referenced
this pull request
Sep 11, 2024
…cleanup (#1174) * Use admin cert and key when deleting system indices for cypress test cleanup Signed-off-by: Craig Perkins <[email protected]> * Remove unused imports Signed-off-by: Craig Perkins <[email protected]> --------- Signed-off-by: Craig Perkins <[email protected]> (cherry picked from commit a343286) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
vikasvb90
pushed a commit
that referenced
this pull request
Sep 11, 2024
…cleanup (#1174) (#1176) * Use admin cert and key when deleting system indices for cypress test cleanup * Remove unused imports --------- (cherry picked from commit a343286) Signed-off-by: Craig Perkins <[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>
vikasvb90
pushed a commit
that referenced
this pull request
Sep 11, 2024
…cleanup (#1174) (#1175) * Use admin cert and key when deleting system indices for cypress test cleanup * Remove unused imports --------- (cherry picked from commit a343286) Signed-off-by: Craig Perkins <[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>
cwperks
added a commit
to cwperks/index-management-dashboards-plugin
that referenced
this pull request
Oct 31, 2024
…ss test cleanup (opensearch-project#1174)" This reverts commit a343286. Signed-off-by: Craig Perkins <[email protected]>
cwperks
added a commit
that referenced
this pull request
Nov 4, 2024
* Revert "Use admin cert and key when deleting system indices for cypress test cleanup (#1174)" This reverts commit a343286. Signed-off-by: Craig Perkins <[email protected]> * Run Cypress Tests with security Signed-off-by: Craig Perkins <[email protected]> * Create re-usable action Signed-off-by: Craig Perkins <[email protected]> * Checkout branch Signed-off-by: Craig Perkins <[email protected]> * Add shell Signed-off-by: Craig Perkins <[email protected]> * Use quotes Signed-off-by: Craig Perkins <[email protected]> * Specify openSearchUrl Signed-off-by: Craig Perkins <[email protected]> * Remove shell Signed-off-by: Craig Perkins <[email protected]> * Add security settings to dashboards config Signed-off-by: Craig Perkins <[email protected]> * Change location Signed-off-by: Craig Perkins <[email protected]> * Update location Signed-off-by: Craig Perkins <[email protected]> * Install security dashboards plugin Signed-off-by: Craig Perkins <[email protected]> * Fix indentation error Signed-off-by: Craig Perkins <[email protected]> * shell Signed-off-by: Craig Perkins <[email protected]> * Run osd bootstrap Signed-off-by: Craig Perkins <[email protected]> * Specify repository Signed-off-by: Craig Perkins <[email protected]> * Reduce time and update creds Signed-off-by: Craig Perkins <[email protected]> * Use GET /_tasks/<task_id> instead of direct access to system index Signed-off-by: Craig Perkins <[email protected]> * Fix unit tests Signed-off-by: Craig Perkins <[email protected]> * Update snapshots Signed-off-by: Craig Perkins <[email protected]> * Revert "Update snapshots" This reverts commit ce34314. Signed-off-by: Craig Perkins <[email protected]> * Add trailing slash Signed-off-by: Craig Perkins <[email protected]> * Don't copy sec-dashboards-plugin if not running with security Signed-off-by: Craig Perkins <[email protected]> --------- Signed-off-by: Craig Perkins <[email protected]> Signed-off-by: Craig Perkins <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
Temporary fix to use admin cert and key when performing test cleanup. The current test cleanup logic relies on deleting system indices and currently uses basic auth creds when performing the delete operation.
Ideally, any resources created in ISM can be cleaned up from a system index through an API.
i.e. If a test creates a policy, then at the end of the test call on delete policy API.
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.