From dc8bc0437e30b41552e533ae2f345c889b0714ae Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 17 Sep 2024 17:39:24 +0000 Subject: [PATCH 1/2] Bump download and upload-artifact to v3 (#620) (#621) https://github.blog/changelog/2024-02-13-deprecation-notice-v1-and-v2-of-the-artifact-actions/ (cherry picked from commit 14ffee999e0fca630454a4c1915dc7b599e82690) Signed-off-by: Marc Handalian Signed-off-by: github-actions[bot] Co-authored-by: github-actions[bot] (cherry picked from commit 2ac7af6434efa3890940a40e8013f6fecb06d7ac) Signed-off-by: github-actions[bot] --- .github/workflows/build.yml | 12 ++++++------ .github/workflows/multi-node-test-workflow.yml | 2 +- .github/workflows/release-workflow.yml | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a3fd4b16..63290219 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,7 +23,7 @@ jobs: - 17 - 21 # Job name - name: Build Asynchronous Search + name: Linux - Build Asynchronous Search # This job runs on Linux. outputs: build-test-linux: ${{ steps.step-build-test-linux.outputs.build-test-linux }} @@ -132,7 +132,7 @@ jobs: ./gradlew integTest -Dtests.rest.cluster=localhost:9200 -Dtests.cluster=localhost:9200 -Dtests.clustername="docker-cluster" fi - name: Upload failed logs - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 if: failure() with: name: logs @@ -140,7 +140,7 @@ jobs: windows-build: # Job name - name: Build Asynchronous Search + name: Windows - Build Asynchronous Search # This job runs on Windows. runs-on: windows-latest steps: @@ -162,14 +162,14 @@ jobs: cp ./build/distributions/*.zip asynchronous-search-artifacts # This step uses the upload-artifact Github action: https://github.com/actions/upload-artifact - name: Upload Artifacts - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v3 with: name: asynchronous-search-plugin-windows path: asynchronous-search-artifacts mac-os-build: # Job name - name: Build Asynchronous Search + name: MacOS - Build Asynchronous Search # This job runs on Mac OS. runs-on: macos-latest steps: @@ -191,7 +191,7 @@ jobs: cp ./build/distributions/*.zip asynchronous-search-artifacts # This step uses the upload-artifact Github action: https://github.com/actions/upload-artifact - name: Upload Artifacts - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v3 with: name: asynchronous-search-plugin-mac path: asynchronous-search-artifacts diff --git a/.github/workflows/multi-node-test-workflow.yml b/.github/workflows/multi-node-test-workflow.yml index 6d07db88..f3169c2e 100644 --- a/.github/workflows/multi-node-test-workflow.yml +++ b/.github/workflows/multi-node-test-workflow.yml @@ -49,7 +49,7 @@ jobs: chown -R 1000:1000 `pwd` su `id -un 1000` -c "./gradlew bwcTestSuite -Dtests.security.manager=false" - name: Upload failed logs - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 if: failure() with: name: logs diff --git a/.github/workflows/release-workflow.yml b/.github/workflows/release-workflow.yml index ae9d865a..e96fb5e4 100644 --- a/.github/workflows/release-workflow.yml +++ b/.github/workflows/release-workflow.yml @@ -116,7 +116,7 @@ jobs: asset_content_type: application/zip - name: Upload Workflow Artifacts - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v3 with: name: asynchronous-search-plugin path: asynchronous-search-artifacts From 97bcfb6301f6991dac040b584b69306822a77ad6 Mon Sep 17 00:00:00 2001 From: Marc Handalian Date: Tue, 17 Sep 2024 12:14:04 -0700 Subject: [PATCH 2/2] fix GLIBC error Signed-off-by: Marc Handalian --- .github/workflows/build.yml | 3 +++ .github/workflows/multi-node-test-workflow.yml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 63290219..3e52a1cb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -35,6 +35,9 @@ jobs: # need to switch to root so that github actions can install runner binary on container without permission issues. options: --user root + env: + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true + steps: # This step uses the setup-java Github action: https://github.com/actions/setup-java - name: Set Up JDK ${{ matrix.java }} diff --git a/.github/workflows/multi-node-test-workflow.yml b/.github/workflows/multi-node-test-workflow.yml index f3169c2e..601b4909 100644 --- a/.github/workflows/multi-node-test-workflow.yml +++ b/.github/workflows/multi-node-test-workflow.yml @@ -30,6 +30,9 @@ jobs: # need to switch to root so that github actions can install runner binary on container without permission issues. options: --user root + env: + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true + steps: # This step uses the setup-java Github action: https://github.com/actions/setup-java - name: Set Up JDK 11