Skip to content

Commit

Permalink
Fix the bwc test version retrieval (#1093)
Browse files Browse the repository at this point in the history
* Onboarding jenkins prod docker images to github actions

Signed-off-by: Peter Zhu <[email protected]>

* Add temurin

Signed-off-by: Peter Zhu <[email protected]>

* Add temurin

Signed-off-by: Peter Zhu <[email protected]>

* Add more

Signed-off-by: Peter Zhu <[email protected]>

* Add more

Signed-off-by: Peter Zhu <[email protected]>

* Add more

Signed-off-by: Peter Zhu <[email protected]>

---------

Signed-off-by: Peter Zhu <[email protected]>
  • Loading branch information
peterzhuamazon authored Oct 30, 2023
1 parent a1da3aa commit 4c6ba48
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/test_bwc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,8 @@ jobs:

- name: Assemble anomaly-detection
run: |
plugin_version=`./gradlew properties -q | grep "opensearch_build:" | awk '{print $2}'`
chown -R 1000:1000 `pwd`
su `id -un 1000` -c "./gradlew properties -q | grep 'opensearch_build:' | awk '{print $2}'" > /tmp/plugin_version.txt
plugin_version=`cat /tmp/plugin_version.txt`
echo plugin_version $plugin_version
su `id -un 1000` -c "./gradlew assemble"
echo "Creating ./src/test/resources/org/opensearch/ad/bwc/anomaly-detection/$plugin_version ..."
Expand Down

0 comments on commit 4c6ba48

Please sign in to comment.