Skip to content

Commit

Permalink
Updates bwc versions to fix bwc tests
Browse files Browse the repository at this point in the history
Signed-off-by: Darshit Chanpura <[email protected]>
  • Loading branch information
DarshitChanpura committed Jul 20, 2023
1 parent aea96d6 commit 0d0021e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
7 changes: 7 additions & 0 deletions .github/actions/create-bwc-build/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,14 @@ runs:
run: git config --system core.longpaths true
shell: pwsh

- name: Checkout Branch from Fork
if: ${{ inputs.plugin-branch == 'current_branch' }}
uses: actions/checkout@v2
with:
path: ${{ inputs.plugin-branch }}

- uses: actions/checkout@v3
if: ${{ inputs.plugin-branch != 'current_branch' }}
with:
repository: opensearch-project/security
ref: ${{ inputs.plugin-branch }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ jobs:
- id: build-previous
uses: ./.github/actions/run-bwc-suite
with:
plugin-previous-branch: "2.8"
plugin-next-branch: "2.x"
plugin-previous-branch: "2.9"
plugin-next-branch: "current_branch"
report-artifact-name: bwc-${{ matrix.platform }}-jdk${{ matrix.jdk }}

code-ql:
Expand Down
4 changes: 2 additions & 2 deletions bwc-test/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ loggerUsageCheck.enabled = false
testingConventions.enabled = false
validateNebulaPom.enabled = false

String previousVersion = System.getProperty("bwc.version.previous", "2.8.0.0")
String nextVersion = System.getProperty("bwc.version.next", "2.9.0.0")
String previousVersion = System.getProperty("bwc.version.previous", "2.9.0.0")
String nextVersion = System.getProperty("bwc.version.next", "2.10.0.0")

String bwcVersion = previousVersion
String baseName = "securityBwcCluster"
Expand Down

0 comments on commit 0d0021e

Please sign in to comment.