From d599902c8b90d8a5e97727f0909f8abcd199f768 Mon Sep 17 00:00:00 2001 From: SuZhou-Joe Date: Thu, 30 Nov 2023 09:18:28 +0800 Subject: [PATCH] feat: remove upload opensearch.log Signed-off-by: SuZhou-Joe --- .../dashboards-notifications-test-and-build-workflow.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/dashboards-notifications-test-and-build-workflow.yml b/.github/workflows/dashboards-notifications-test-and-build-workflow.yml index 6be6b33e..585624f7 100644 --- a/.github/workflows/dashboards-notifications-test-and-build-workflow.yml +++ b/.github/workflows/dashboards-notifications-test-and-build-workflow.yml @@ -80,7 +80,7 @@ jobs: brew install coreutils fi cd notifications/notifications - ./gradlew run -x integTest -x jacocoTestReport | tee -a opensearch.log & + ./gradlew run -x integTest -x jacocoTestReport & timeout 300 bash -c 'while [[ "$(curl -s -o /dev/null -w ''%{http_code}'' localhost:9200)" != "200" ]]; do sleep 5; done' shell: bash env: @@ -199,12 +199,6 @@ jobs: name: cypress-screenshots-${{ matrix.os }} path: OpenSearch-Dashboards/plugins/dashboards-notifications/.cypress/screenshots - - uses: actions/upload-artifact@v1 - if: always() - with: - name: opensearch-logs-${{ matrix.os }} - path: notifications/notifications/opensearch.log - # Test run video was always captured, so this action uses "always()" condition - uses: actions/upload-artifact@v1 if: always()