forked from opensearch-project/job-scheduler
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Run Rest Integ Tests with the Security plugin installed (opensearch-p…
…roject#645) * Make .opendistro-job-scheduler-lock a System Index Signed-off-by: Craig Perkins <cwperx@amazon.com> * Switch back to private Signed-off-by: Craig Perkins <cwperx@amazon.com> * WIP on writing a CI check with security installed Signed-off-by: Craig Perkins <cwperx@amazon.com> * Add CI Check to run Rest IntegTests with Security Signed-off-by: Craig Perkins <cwperx@amazon.com> * Fake settings Signed-off-by: Craig Perkins <cwperx@amazon.com> * Configure https client for sample extension plugin Signed-off-by: Craig Perkins <cwperx@amazon.com> * Fix forbidden apis Signed-off-by: Craig Perkins <cwperx@amazon.com> * spotlessApply Signed-off-by: Craig Perkins <cwperx@amazon.com> * Uncomment lint Signed-off-by: Craig Perkins <cwperx@amazon.com> * Remove settings Signed-off-by: Craig Perkins <cwperx@amazon.com> * JDK 21 Signed-off-by: Craig Perkins <cwperx@amazon.com> * Add sample-extension-plugin/build.gradle to version bump Signed-off-by: Craig Perkins <cwperx@amazon.com> * Remove duplicate changes in sample plugin build.gradle Signed-off-by: Craig Perkins <cwperx@amazon.com> * remove other changes in sample plugin build.gradle Signed-off-by: Craig Perkins <cwperx@amazon.com> --------- Signed-off-by: Craig Perkins <cwperx@amazon.com>
- Loading branch information
Showing
17 changed files
with
1,072 additions
and
25 deletions.
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,32 @@ | ||
name: BWC Test Workflow | ||
# This workflow is triggered on pull requests and pushes to main or an OpenSearch release branch | ||
on: | ||
pull_request: | ||
branches: | ||
- "*" | ||
push: | ||
branches: | ||
- "*" | ||
|
||
jobs: | ||
build: | ||
strategy: | ||
matrix: | ||
java: [ 21 ] | ||
# Job name | ||
name: Build and test Job-scheduler | ||
# This job runs on Linux | ||
runs-on: ubuntu-latest | ||
steps: | ||
# This step uses the setup-java Github action: https://github.com/actions/setup-java | ||
- name: Set Up JDK ${{ matrix.java }} | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: ${{ matrix.java }} | ||
# This step uses the checkout Github action: https://github.com/actions/checkout | ||
- name: Checkout Branch | ||
uses: actions/checkout@v4 | ||
- name: Run Job-scheduler Integ Tests with Security | ||
run: | | ||
echo "Running integ tests with security..." | ||
./gradlew :integTest --tests "*RestIT" -Dhttps=true -Dsecurity=true -Dtests.opensearch.secure=true -Dtests.opensearch.username=admin -Dtests.opensearch.password=admin -Duser=admin -Dpassword=admin |
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
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.