Skip to content

Commit 0d0021e

Browse files
Updates bwc versions to fix bwc tests
Signed-off-by: Darshit Chanpura <dchanp@amazon.com>
1 parent aea96d6 commit 0d0021e

3 files changed

Lines changed: 11 additions & 4 deletions

File tree

.github/actions/create-bwc-build/action.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,14 @@ runs:
1919
run: git config --system core.longpaths true
2020
shell: pwsh
2121

22+
- name: Checkout Branch from Fork
23+
if: ${{ inputs.plugin-branch == 'current_branch' }}
24+
uses: actions/checkout@v2
25+
with:
26+
path: ${{ inputs.plugin-branch }}
27+
2228
- uses: actions/checkout@v3
29+
if: ${{ inputs.plugin-branch != 'current_branch' }}
2330
with:
2431
repository: opensearch-project/security
2532
ref: ${{ inputs.plugin-branch }}

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ jobs:
8989
- id: build-previous
9090
uses: ./.github/actions/run-bwc-suite
9191
with:
92-
plugin-previous-branch: "2.8"
93-
plugin-next-branch: "2.x"
92+
plugin-previous-branch: "2.9"
93+
plugin-next-branch: "current_branch"
9494
report-artifact-name: bwc-${{ matrix.platform }}-jdk${{ matrix.jdk }}
9595

9696
code-ql:

bwc-test/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ loggerUsageCheck.enabled = false
7676
testingConventions.enabled = false
7777
validateNebulaPom.enabled = false
7878

79-
String previousVersion = System.getProperty("bwc.version.previous", "2.8.0.0")
80-
String nextVersion = System.getProperty("bwc.version.next", "2.9.0.0")
79+
String previousVersion = System.getProperty("bwc.version.previous", "2.9.0.0")
80+
String nextVersion = System.getProperty("bwc.version.next", "2.10.0.0")
8181

8282
String bwcVersion = previousVersion
8383
String baseName = "securityBwcCluster"

0 commit comments

Comments
 (0)