From 6e2352bc9a321b989a28c10729008d6f94e7d18b Mon Sep 17 00:00:00 2001 From: Monu Singh Date: Mon, 29 May 2023 10:51:36 +0530 Subject: [PATCH] Refresh dependencies Signed-off-by: Monu Singh --- .github/workflows/build-and-test.yml | 2 +- .github/workflows/build.yml | 2 +- .github/workflows/bwc.yml | 2 +- .github/workflows/security-knn-tests.yml | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index e8a6ace5..4a257534 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -31,7 +31,7 @@ jobs: uses: actions/checkout@v2 - name: Build and run Replication tests run: | - ./gradlew clean release -D"build.snapshot=true" + ./gradlew --refresh-dependencies clean release -D"build.snapshot=true" - name: Upload failed logs uses: actions/upload-artifact@v2 if: failure() diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1faf6511..2e4d54e4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -34,4 +34,4 @@ jobs: uses: actions/checkout@v2 - name: Build and run Replication tests run: | - ./gradlew clean release -D"build.snapshot=true" -x test -x IntegTest \ No newline at end of file + ./gradlew --refresh-dependencies clean release -D"build.snapshot=true" -x test -x IntegTest \ No newline at end of file diff --git a/.github/workflows/bwc.yml b/.github/workflows/bwc.yml index 432c7dce..59e082c7 100644 --- a/.github/workflows/bwc.yml +++ b/.github/workflows/bwc.yml @@ -25,7 +25,7 @@ jobs: - name: Build and run Replication tests run: | echo "Running backwards compatibility tests ..." - ./gradlew clean release -Dbuild.snapshot=true -x test -x IntegTest + ./gradlew --refresh-dependencies clean release -Dbuild.snapshot=true -x test -x IntegTest ./gradlew fullRestartClusterTask --stacktrace - name: Upload failed logs uses: actions/upload-artifact@v2 diff --git a/.github/workflows/security-knn-tests.yml b/.github/workflows/security-knn-tests.yml index de049f0c..3f98f3cb 100644 --- a/.github/workflows/security-knn-tests.yml +++ b/.github/workflows/security-knn-tests.yml @@ -63,7 +63,7 @@ jobs: - name: Build and run Replication tests run: | ls -al src/test/resources/security/plugin - ./gradlew clean release -Dbuild.snapshot=true -PnumNodes=1 -Psecurity=true + ./gradlew --refresh-dependencies clean release -Dbuild.snapshot=true -PnumNodes=1 -Psecurity=true - name: Upload failed logs uses: actions/upload-artifact@v2 if: failure() @@ -99,7 +99,7 @@ jobs: uses: actions/checkout@v2 - name: Build and run Replication tests run: | - ./gradlew clean release -Dbuild.snapshot=true -PnumNodes=1 -Dtests.class=org.opensearch.replication.BasicReplicationIT -Dtests.method="test knn index replication" -Pknn=true + ./gradlew --refresh-dependencies clean release -Dbuild.snapshot=true -PnumNodes=1 -Dtests.class=org.opensearch.replication.BasicReplicationIT -Dtests.method="test knn index replication" -Pknn=true - name: Upload failed logs uses: actions/upload-artifact@v2 if: failure()