diff --git a/.github/workflows/dashboards-observability-test-and-build-workflow.yml b/.github/workflows/dashboards-observability-test-and-build-workflow.yml index 064f949ce1..e9002ab811 100644 --- a/.github/workflows/dashboards-observability-test-and-build-workflow.yml +++ b/.github/workflows/dashboards-observability-test-and-build-workflow.yml @@ -14,6 +14,8 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest, macos-latest] + # Since Windows is inconsistent, we want to let other OSes run on a fail + fail-fast: false runs-on: ${{ matrix.os }} steps: @@ -51,11 +53,20 @@ jobs: with: path: OpenSearch-Dashboards/plugins/dashboards-observability + - name: Load Plugin Bootstrap cache + uses: actions/cache@v3 + with: + path: | + **/node_modules + **/target + key: ${{ runner.os }}-bootstrap-${{ hashFiles('OpenSearch-Dashboards/yarn.lock', 'OpenSearch-Dashboards/plugins/dashboards-observability/yarn.lock') }} + restore-keys: ${{ runner.os }}-bootstrap- - name: Plugin Bootstrap run: | - cd OpenSearch-Dashboards/plugins/dashboards-observability - yarn osd bootstrap + cd OpenSearch-Dashboards + yarn config set network-timeout 1000000 -g + yarn osd bootstrap || yarn osd bootstrap - name: Test all dashboards-observability modules run: | @@ -80,4 +91,4 @@ jobs: uses: actions/upload-artifact@v1 with: name: dashboards-observability-${{ matrix.os }} - path: ./OpenSearch-Dashboards/plugins/dashboards-observability/build \ No newline at end of file + path: ./OpenSearch-Dashboards/plugins/dashboards-observability/build