forked from opensearch-project/sql
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Run IT tests with security plugin #335
Merged
Merged
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
e2f0da9
Add extra IT flow.
Yury-Fridlyand e840ac2
Remove unneeded files.
Yury-Fridlyand 79d7373
Typo fix.
Yury-Fridlyand b28f328
Fix GHA matrix syntax.
Yury-Fridlyand 6049800
Fix GHA matrix syntax.
Yury-Fridlyand 25b22e3
Code clean up.
Yury-Fridlyand 28fabfd
Optimize downloading.
Yury-Fridlyand 9eb74bd
Apply suggestions from code review
Yury-Fridlyand 6d37117
Update integ-test/build.gradle
Yury-Fridlyand e68aedf
Typo fix.
Yury-Fridlyand e25e7af
Rework implementation.
Yury-Fridlyand 42fd960
Address PR review.
Yury-Fridlyand a618be8
Address PR feedback + some fixes.
Yury-Fridlyand 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: Security Plugin IT | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches-ignore: | ||
- 'dependabot/**' | ||
paths: | ||
- 'integ-test/**' | ||
- '.github/workflows/integ-tests-with-security.yml' | ||
|
||
jobs: | ||
security-it: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ ubuntu-latest, windows-latest, macos-latest ] | ||
java: [ 11, 17 ] | ||
|
||
runs-on: ${{ matrix.os }} | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Set up JDK ${{ matrix.java }} | ||
uses: actions/setup-java@v3 | ||
with: | ||
distribution: 'temurin' | ||
java-version: ${{ matrix.java }} | ||
|
||
- name: Build with Gradle | ||
run: ./gradlew integTestWithSecurity | ||
|
||
- name: Upload test reports | ||
if: ${{ always() }} | ||
uses: actions/upload-artifact@v2 | ||
continue-on-error: true | ||
with: | ||
name: test-reports-${{ matrix.os }}-${{ matrix.java }} | ||
path: | | ||
integ-test/build/reports/** | ||
integ-test/build/testclusters/*/logs/* | ||
integ-test/build/testclusters/*/config/* |
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
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.
The Security Plugin maintainers (myself included) have had trouble with build breaks and fixing them in a timely manner - it would be unfortunate for your integration tests to be flaky due to downstream issues. This isn't an issue with release builds with the trade-off of longer time between updates.