From b7c4f862277c16a3d059c29f718109b36a561315 Mon Sep 17 00:00:00 2001 From: Nathan Voxland Date: Thu, 5 Oct 2023 13:50:15 -0500 Subject: [PATCH 1/2] Send slack notification on main build failure --- .github/workflows/full_test.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/full_test.yml b/.github/workflows/full_test.yml index d17581e..2e3a0d4 100644 --- a/.github/workflows/full_test.yml +++ b/.github/workflows/full_test.yml @@ -366,3 +366,21 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.token }} SONAR_TOKEN: ${{ secrets.sonar_token }} + + notify: + needs: [ report ] + name: Send Notifications + runs-on: ubuntu-latest + if: always() && needs.report.result != 'cancelled' + steps: + - name: Build Failure Slack Notification + if: failure() && github.event_name == 'push' && github.head == "refs/heads/main" && github.repository_owner == 'activeloopai' + uses: rtCamp/action-slack-notify@v2 + env: + SLACK_CHANNEL: deeplake + SLACK_MESSAGE: "Deeplake build failed" + SLACK_USERNAME: "Tensie" + SLACK_FOOTER: "" + MSG_MINIMAL: actions url + SLACK_ICON_EMOJI: ':warning:' + SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} \ No newline at end of file From bab04ee066670b9dfbf4ffd27209499dacadf5bb Mon Sep 17 00:00:00 2001 From: Nathan Voxland Date: Wed, 11 Oct 2023 09:34:43 -0700 Subject: [PATCH 2/2] Troubleshooting test failures --- .github/workflows/full_test.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/full_test.yml b/.github/workflows/full_test.yml index 2e3a0d4..0739f47 100644 --- a/.github/workflows/full_test.yml +++ b/.github/workflows/full_test.yml @@ -270,6 +270,11 @@ jobs: cache: pip cache-dependency-path: deeplake/requirements/*.txt + - name: Check disk space + run: | + df -h + du -d 1 -h + - name: Install Libraries run: | pip3 install --upgrade pip --user