From 8cf3d1af16aa15c7f0d645f4a72ce3ad131f8be6 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 18 Sep 2024 18:35:34 +0000 Subject: [PATCH 1/2] upgrade upload artifacts (#1305) Signed-off-by: Dennis Toepker Co-authored-by: Dennis Toepker (cherry picked from commit ffcc80760bea96aec6dea221982e26d8896e5b4a) Signed-off-by: github-actions[bot] --- .github/workflows/ci.yml | 10 +++++----- .github/workflows/multi-node-test-workflow.yml | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0a4d0ca7d..c9b7dc2aa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -53,14 +53,14 @@ jobs: token: ${{ secrets.CODECOV_TOKEN }} - name: Upload failed logs - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 if: failure() with: name: logs-ubuntu path: build/testclusters/integTest-*/logs/* - name: Upload Artifacts - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v3 with: name: security-analytics-plugin-${{ matrix.os }} path: security-analytics-artifacts @@ -111,21 +111,21 @@ jobs: cp ./build/distributions/*.zip security-analytics-artifacts - name: Upload failed logs - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 if: ${{ failure() && matrix.os == 'macos-latest' }} with: name: logs-mac path: build/testclusters/integTest-*/logs/* - name: Upload failed logs - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 if: ${{ failure() && matrix.os == 'windows-latest' }} with: name: logs-windows path: build\testclusters\integTest-*\logs\* - name: Upload Artifacts - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v3 with: name: security-analytics-plugin-${{ matrix.os }} path: security-analytics-artifacts diff --git a/.github/workflows/multi-node-test-workflow.yml b/.github/workflows/multi-node-test-workflow.yml index 2f2134947..3a7ff9ae2 100644 --- a/.github/workflows/multi-node-test-workflow.yml +++ b/.github/workflows/multi-node-test-workflow.yml @@ -44,7 +44,7 @@ jobs: chown -R 1000:1000 `pwd` su `id -un 1000` -c "./gradlew integTest -PnumNodes=3" - name: Upload failed logs - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 if: failure() with: name: logs From 1cb242cbb43ac5f0c51a0e8265d48b2881b48876 Mon Sep 17 00:00:00 2001 From: Joanne Wang Date: Mon, 8 Jul 2024 14:38:36 -0400 Subject: [PATCH 2/2] fix gradle check (#1143) Signed-off-by: Joanne Wang --- .github/workflows/ci.yml | 2 ++ .github/workflows/multi-node-test-workflow.yml | 3 ++- .github/workflows/security-test-workflow.yml | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c9b7dc2aa..eb012788d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,6 +6,8 @@ on: pull_request: branches: - "*" +env: + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true jobs: Get-CI-Image-Tag: diff --git a/.github/workflows/multi-node-test-workflow.yml b/.github/workflows/multi-node-test-workflow.yml index 3a7ff9ae2..6bc731ae0 100644 --- a/.github/workflows/multi-node-test-workflow.yml +++ b/.github/workflows/multi-node-test-workflow.yml @@ -7,7 +7,8 @@ on: push: branches: - "*" - +env: + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true jobs: Get-CI-Image-Tag: uses: opensearch-project/opensearch-build/.github/workflows/get-ci-image-tag.yml@main diff --git a/.github/workflows/security-test-workflow.yml b/.github/workflows/security-test-workflow.yml index 8c3a38629..ffd91de13 100644 --- a/.github/workflows/security-test-workflow.yml +++ b/.github/workflows/security-test-workflow.yml @@ -9,6 +9,7 @@ on: - "*" env: OPENSEARCH_INITIAL_ADMIN_PASSWORD: myStrongPassword123! + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true jobs: build: