diff --git a/.github/actions/send_failure/action.yml b/.github/actions/send_failure/action.yml deleted file mode 100644 index 8481b0b803..0000000000 --- a/.github/actions/send_failure/action.yml +++ /dev/null @@ -1,28 +0,0 @@ -name: "Send failure event to Datadog" -inputs: - api-key: - description: "Datadog API key" - required: true - title: - description: "Custom title for the event" - required: true -runs: - using: "composite" - steps: - - uses: masci/datadog@v1 - with: - api-key: ${{ inputs.api-key }} - api-url: https://api.datadoghq.eu - events: | - - title: "${{ inputs.title }}" - text: "Job ${{ github.job }} in branch ${{ github.ref_name }}" - alert_type: "error" - source_type_name: "Github" - host: ${{ github.repository_owner }} - tags: - - "project:${{ github.repository }}" - - "job:${{ github.job }}" - - "run_id:${{ github.run_id }}" - - "workflow:${{ github.workflow }}" - - "branch:${{ github.ref_name }}" - - "url:https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}" \ No newline at end of file diff --git a/.github/workflows/CI_license_compliance.yml b/.github/workflows/CI_license_compliance.yml index 04242b74ca..5663153b9e 100644 --- a/.github/workflows/CI_license_compliance.yml +++ b/.github/workflows/CI_license_compliance.yml @@ -11,7 +11,6 @@ on: - cron: "0 0 * * *" # every day at midnight env: - CORE_DATADOG_API_KEY: ${{ secrets.CORE_DATADOG_API_KEY }} PYTHON_VERSION: "3.10" EXCLUDE_PACKAGES: "(?i)^(azure-identity|fastembed|ragas|tqdm|psycopg|mistralai|pgvector).*" @@ -90,11 +89,8 @@ jobs: if: ${{ always() }} run: echo "${{ steps.license_check_report.outputs.report }}" - - name: Send event to Datadog for nightly failures + - name: Notify Slack on nightly failure if: failure() && github.event_name == 'schedule' - uses: ./.github/actions/send_failure + uses: deepset-ai/notify-slack-action@v1 with: - title: | - Core integrations license compliance nightly failure: ${{ github.workflow }} - api-key: ${{ secrets.CORE_DATADOG_API_KEY }} - \ No newline at end of file + slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL_NOTIFICATIONS }} \ No newline at end of file diff --git a/.github/workflows/aimlapi.yml b/.github/workflows/aimlapi.yml index 6b3be4f702..7c8201137e 100644 --- a/.github/workflows/aimlapi.yml +++ b/.github/workflows/aimlapi.yml @@ -71,10 +71,11 @@ jobs: hatch -e test env run -- uv pip install git+https://github.com/deepset-ai/haystack.git@main hatch run test:cov-retry - - name: Send event to Datadog for nightly failures - if: failure() && github.event_name == 'schedule' - uses: ./.github/actions/send_failure + notify-slack-on-failure: + needs: run + if: failure() && github.event_name == 'schedule' + runs-on: ubuntu-slim + steps: + - uses: deepset-ai/notify-slack-action@v1 with: - title: | - Core integrations nightly tests failure: ${{ github.workflow }} - api-key: ${{ secrets.CORE_DATADOG_API_KEY }} + slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL_NOTIFICATIONS }} diff --git a/.github/workflows/amazon_bedrock.yml b/.github/workflows/amazon_bedrock.yml index 844582f06e..b3420f71ae 100644 --- a/.github/workflows/amazon_bedrock.yml +++ b/.github/workflows/amazon_bedrock.yml @@ -92,10 +92,11 @@ jobs: hatch -e test env run -- uv pip install git+https://github.com/deepset-ai/haystack.git@main hatch run test:unit - - name: Send event to Datadog for nightly failures - if: failure() && github.event_name == 'schedule' - uses: ./.github/actions/send_failure + notify-slack-on-failure: + needs: run + if: failure() && github.event_name == 'schedule' + runs-on: ubuntu-slim + steps: + - uses: deepset-ai/notify-slack-action@v1 with: - title: | - Core integrations nightly tests failure: ${{ github.workflow }} - api-key: ${{ secrets.CORE_DATADOG_API_KEY }} + slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL_NOTIFICATIONS }} diff --git a/.github/workflows/amazon_sagemaker.yml b/.github/workflows/amazon_sagemaker.yml index 5ba525dbc3..c3903aa53a 100644 --- a/.github/workflows/amazon_sagemaker.yml +++ b/.github/workflows/amazon_sagemaker.yml @@ -69,10 +69,11 @@ jobs: hatch -e test env run -- uv pip install git+https://github.com/deepset-ai/haystack.git@main hatch run test:unit - - name: Send event to Datadog for nightly failures - if: failure() && github.event_name == 'schedule' - uses: ./.github/actions/send_failure + notify-slack-on-failure: + needs: run + if: failure() && github.event_name == 'schedule' + runs-on: ubuntu-slim + steps: + - uses: deepset-ai/notify-slack-action@v1 with: - title: | - Core integrations nightly tests failure: ${{ github.workflow }} - api-key: ${{ secrets.CORE_DATADOG_API_KEY }} + slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL_NOTIFICATIONS }} diff --git a/.github/workflows/anthropic.yml b/.github/workflows/anthropic.yml index 31740b545d..c75de0d8c3 100644 --- a/.github/workflows/anthropic.yml +++ b/.github/workflows/anthropic.yml @@ -70,10 +70,11 @@ jobs: hatch -e test env run -- uv pip install git+https://github.com/deepset-ai/haystack.git@main hatch run test:unit - - name: Send event to Datadog for nightly failures - if: failure() && github.event_name == 'schedule' - uses: ./.github/actions/send_failure + notify-slack-on-failure: + needs: run + if: failure() && github.event_name == 'schedule' + runs-on: ubuntu-slim + steps: + - uses: deepset-ai/notify-slack-action@v1 with: - title: | - Core integrations nightly tests failure: ${{ github.workflow }} - api-key: ${{ secrets.CORE_DATADOG_API_KEY }} + slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL_NOTIFICATIONS }} diff --git a/.github/workflows/arcadedb.yml b/.github/workflows/arcadedb.yml index 58c3cb0f31..61b8f0c703 100644 --- a/.github/workflows/arcadedb.yml +++ b/.github/workflows/arcadedb.yml @@ -75,10 +75,11 @@ jobs: hatch -e test env run -- uv pip install git+https://github.com/deepset-ai/haystack.git@main hatch run test:unit - - name: Send event to Datadog for nightly failures - if: failure() && github.event_name == 'schedule' - uses: ./.github/actions/send_failure + notify-slack-on-failure: + needs: run + if: failure() && github.event_name == 'schedule' + runs-on: ubuntu-slim + steps: + - uses: deepset-ai/notify-slack-action@v1 with: - title: | - Core integrations nightly tests failure: ${{ github.workflow }} - api-key: ${{ secrets.CORE_DATADOG_API_KEY }} + slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL_NOTIFICATIONS }} diff --git a/.github/workflows/astra.yml b/.github/workflows/astra.yml index 264e0c8a35..07a68bedb9 100644 --- a/.github/workflows/astra.yml +++ b/.github/workflows/astra.yml @@ -73,10 +73,11 @@ jobs: hatch -e test env run -- uv pip install git+https://github.com/deepset-ai/haystack.git@main hatch run test:unit - - name: Send event to Datadog for nightly failures - if: failure() && github.event_name == 'schedule' - uses: ./.github/actions/send_failure + notify-slack-on-failure: + needs: run + if: failure() && github.event_name == 'schedule' + runs-on: ubuntu-slim + steps: + - uses: deepset-ai/notify-slack-action@v1 with: - title: | - Core integrations nightly tests failure: ${{ github.workflow }} - api-key: ${{ secrets.CORE_DATADOG_API_KEY }} + slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL_NOTIFICATIONS }} diff --git a/.github/workflows/azure_ai_search.yml b/.github/workflows/azure_ai_search.yml index 6909836bc9..5c698dc91e 100644 --- a/.github/workflows/azure_ai_search.yml +++ b/.github/workflows/azure_ai_search.yml @@ -67,10 +67,11 @@ jobs: hatch -e test env run -- uv pip install git+https://github.com/deepset-ai/haystack.git@main hatch run test:unit - - name: Send event to Datadog for nightly failures - if: failure() && github.event_name == 'schedule' - uses: ./.github/actions/send_failure + notify-slack-on-failure: + needs: run + if: failure() && github.event_name == 'schedule' + runs-on: ubuntu-slim + steps: + - uses: deepset-ai/notify-slack-action@v1 with: - title: | - Core integrations nightly tests failure: ${{ github.workflow }} - api-key: ${{ secrets.CORE_DATADOG_API_KEY }} + slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL_NOTIFICATIONS }} diff --git a/.github/workflows/azure_doc_intelligence.yml b/.github/workflows/azure_doc_intelligence.yml index 8dd73122e1..c5bf4214e3 100644 --- a/.github/workflows/azure_doc_intelligence.yml +++ b/.github/workflows/azure_doc_intelligence.yml @@ -67,10 +67,11 @@ jobs: hatch -e test env run -- uv pip install git+https://github.com/deepset-ai/haystack.git@main hatch run test:unit - - name: Send event to Datadog for nightly failures - if: failure() && github.event_name == 'schedule' - uses: ./.github/actions/send_failure + notify-slack-on-failure: + needs: run + if: failure() && github.event_name == 'schedule' + runs-on: ubuntu-slim + steps: + - uses: deepset-ai/notify-slack-action@v1 with: - title: | - Core integrations nightly tests failure: ${{ github.workflow }} - api-key: ${{ secrets.CORE_DATADOG_API_KEY }} + slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL_NOTIFICATIONS }} diff --git a/.github/workflows/chroma.yml b/.github/workflows/chroma.yml index 0e60970b9c..82dd62ca41 100644 --- a/.github/workflows/chroma.yml +++ b/.github/workflows/chroma.yml @@ -73,10 +73,11 @@ jobs: hatch -e test env run -- uv pip install git+https://github.com/deepset-ai/haystack.git@main hatch run test:unit - - name: Send event to Datadog for nightly failures - if: failure() && github.event_name == 'schedule' - uses: ./.github/actions/send_failure + notify-slack-on-failure: + needs: run + if: failure() && github.event_name == 'schedule' + runs-on: ubuntu-slim + steps: + - uses: deepset-ai/notify-slack-action@v1 with: - title: | - Core integrations nightly tests failure: ${{ github.workflow }} - api-key: ${{ secrets.CORE_DATADOG_API_KEY }} + slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL_NOTIFICATIONS }} diff --git a/.github/workflows/cohere.yml b/.github/workflows/cohere.yml index ac0e1dcead..943d65a598 100644 --- a/.github/workflows/cohere.yml +++ b/.github/workflows/cohere.yml @@ -70,10 +70,11 @@ jobs: hatch -e test env run -- uv pip install git+https://github.com/deepset-ai/haystack.git@main hatch run test:unit - - name: Send event to Datadog for nightly failures - if: failure() && github.event_name == 'schedule' - uses: ./.github/actions/send_failure + notify-slack-on-failure: + needs: run + if: failure() && github.event_name == 'schedule' + runs-on: ubuntu-slim + steps: + - uses: deepset-ai/notify-slack-action@v1 with: - title: | - Core integrations nightly tests failure: ${{ github.workflow }} - api-key: ${{ secrets.CORE_DATADOG_API_KEY }} + slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL_NOTIFICATIONS }} diff --git a/.github/workflows/cometapi.yml b/.github/workflows/cometapi.yml index 6cfaf92863..6806bc46ba 100644 --- a/.github/workflows/cometapi.yml +++ b/.github/workflows/cometapi.yml @@ -71,10 +71,11 @@ jobs: hatch -e test env run -- uv pip install git+https://github.com/deepset-ai/haystack.git@main hatch run test:cov-retry - - name: Send event to Datadog for nightly failures - if: failure() && github.event_name == 'schedule' - uses: ./.github/actions/send_failure + notify-slack-on-failure: + needs: run + if: failure() && github.event_name == 'schedule' + runs-on: ubuntu-slim + steps: + - uses: deepset-ai/notify-slack-action@v1 with: - title: | - Core integrations nightly tests failure: ${{ github.workflow }} - api-key: ${{ secrets.CORE_DATADOG_API_KEY }} \ No newline at end of file + slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL_NOTIFICATIONS }} diff --git a/.github/workflows/deepeval.yml b/.github/workflows/deepeval.yml index 3846cad0f7..ec68be8663 100644 --- a/.github/workflows/deepeval.yml +++ b/.github/workflows/deepeval.yml @@ -69,10 +69,11 @@ jobs: hatch -e test env run -- uv pip install git+https://github.com/deepset-ai/haystack.git@main hatch run test:unit - - name: Send event to Datadog for nightly failures - if: failure() && github.event_name == 'schedule' - uses: ./.github/actions/send_failure + notify-slack-on-failure: + needs: run + if: failure() && github.event_name == 'schedule' + runs-on: ubuntu-slim + steps: + - uses: deepset-ai/notify-slack-action@v1 with: - title: | - Core integrations nightly tests failure: ${{ github.workflow }} - api-key: ${{ secrets.CORE_DATADOG_API_KEY }} \ No newline at end of file + slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL_NOTIFICATIONS }} diff --git a/.github/workflows/elasticsearch.yml b/.github/workflows/elasticsearch.yml index f872e8b472..e1a2a3dfc3 100644 --- a/.github/workflows/elasticsearch.yml +++ b/.github/workflows/elasticsearch.yml @@ -67,10 +67,11 @@ jobs: hatch -e test env run -- uv pip install git+https://github.com/deepset-ai/haystack.git@main hatch run test:unit - - name: Send event to Datadog for nightly failures - if: failure() && github.event_name == 'schedule' - uses: ./.github/actions/send_failure + notify-slack-on-failure: + needs: run + if: failure() && github.event_name == 'schedule' + runs-on: ubuntu-slim + steps: + - uses: deepset-ai/notify-slack-action@v1 with: - title: | - Core integrations nightly tests failure: ${{ github.workflow }} - api-key: ${{ secrets.CORE_DATADOG_API_KEY }} + slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL_NOTIFICATIONS }} diff --git a/.github/workflows/faiss.yml b/.github/workflows/faiss.yml index f78bf2b586..99e6c18e59 100644 --- a/.github/workflows/faiss.yml +++ b/.github/workflows/faiss.yml @@ -67,10 +67,11 @@ jobs: hatch -e test env run -- uv pip install git+https://github.com/deepset-ai/haystack.git@main hatch run test:unit - - name: Send event to Datadog for nightly failures - if: failure() && github.event_name == 'schedule' - uses: ./.github/actions/send_failure + notify-slack-on-failure: + needs: run + if: failure() && github.event_name == 'schedule' + runs-on: ubuntu-slim + steps: + - uses: deepset-ai/notify-slack-action@v1 with: - title: | - Core integrations nightly tests failure: ${{ github.workflow }} - api-key: ${{ secrets.CORE_DATADOG_API_KEY }} + slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL_NOTIFICATIONS }} diff --git a/.github/workflows/fastembed.yml b/.github/workflows/fastembed.yml index 5c86fd5b1d..4fd6bac472 100644 --- a/.github/workflows/fastembed.yml +++ b/.github/workflows/fastembed.yml @@ -53,10 +53,11 @@ jobs: hatch -e test env run -- uv pip install git+https://github.com/deepset-ai/haystack.git@main hatch run test:unit - - name: Send event to Datadog for nightly failures - if: failure() && github.event_name == 'schedule' - uses: ./.github/actions/send_failure + notify-slack-on-failure: + needs: run + if: failure() && github.event_name == 'schedule' + runs-on: ubuntu-slim + steps: + - uses: deepset-ai/notify-slack-action@v1 with: - title: | - Core integrations nightly tests failure: ${{ github.workflow }} - api-key: ${{ secrets.CORE_DATADOG_API_KEY }} + slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL_NOTIFICATIONS }} diff --git a/.github/workflows/firecrawl.yml b/.github/workflows/firecrawl.yml index 683b63a427..0d4276f348 100644 --- a/.github/workflows/firecrawl.yml +++ b/.github/workflows/firecrawl.yml @@ -65,10 +65,11 @@ jobs: hatch -e test env run -- uv pip install git+https://github.com/deepset-ai/haystack.git@main hatch run test:unit - - name: Send event to Datadog for nightly failures - if: failure() && github.event_name == 'schedule' - uses: ./.github/actions/send_failure + notify-slack-on-failure: + needs: run + if: failure() && github.event_name == 'schedule' + runs-on: ubuntu-slim + steps: + - uses: deepset-ai/notify-slack-action@v1 with: - title: | - Core integrations nightly tests failure: ${{ github.workflow }} - api-key: ${{ secrets.CORE_DATADOG_API_KEY }} + slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL_NOTIFICATIONS }} diff --git a/.github/workflows/github.yml b/.github/workflows/github.yml index dce7aa9152..0e870c5064 100644 --- a/.github/workflows/github.yml +++ b/.github/workflows/github.yml @@ -68,10 +68,11 @@ jobs: hatch -e test env run -- uv pip install git+https://github.com/deepset-ai/haystack.git@main hatch run test:unit - - name: Send event to Datadog for nightly failures - if: failure() && github.event_name == 'schedule' - uses: ./.github/actions/send_failure + notify-slack-on-failure: + needs: run + if: failure() && github.event_name == 'schedule' + runs-on: ubuntu-slim + steps: + - uses: deepset-ai/notify-slack-action@v1 with: - title: | - Core integrations nightly tests failure: ${{ github.workflow }} - api-key: ${{ secrets.CORE_DATADOG_API_KEY }} + slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL_NOTIFICATIONS }} diff --git a/.github/workflows/google_genai.yml b/.github/workflows/google_genai.yml index 9ed43b76f3..f8f58ae5bb 100644 --- a/.github/workflows/google_genai.yml +++ b/.github/workflows/google_genai.yml @@ -70,10 +70,11 @@ jobs: hatch -e test env run -- uv pip install git+https://github.com/deepset-ai/haystack.git@main hatch run test:unit - - name: Send event to Datadog for nightly failures - if: failure() && github.event_name == 'schedule' - uses: ./.github/actions/send_failure + notify-slack-on-failure: + needs: run + if: failure() && github.event_name == 'schedule' + runs-on: ubuntu-slim + steps: + - uses: deepset-ai/notify-slack-action@v1 with: - title: | - Core integrations nightly tests failure: ${{ github.workflow }} - api-key: ${{ secrets.CORE_DATADOG_API_KEY }} \ No newline at end of file + slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL_NOTIFICATIONS }} diff --git a/.github/workflows/hanlp.yml b/.github/workflows/hanlp.yml index 6909d51d8a..bf06a93ff3 100644 --- a/.github/workflows/hanlp.yml +++ b/.github/workflows/hanlp.yml @@ -75,10 +75,11 @@ jobs: hatch -e test env run -- uv pip install git+https://github.com/deepset-ai/haystack.git@main hatch run test:unit - - name: Send event to Datadog for nightly failures - if: failure() && github.event_name == 'schedule' - uses: ./.github/actions/send_failure + notify-slack-on-failure: + needs: run + if: failure() && github.event_name == 'schedule' + runs-on: ubuntu-slim + steps: + - uses: deepset-ai/notify-slack-action@v1 with: - title: | - Core integrations nightly tests failure: ${{ github.workflow }} - api-key: ${{ secrets.CORE_DATADOG_API_KEY }} + slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL_NOTIFICATIONS }} diff --git a/.github/workflows/jina.yml b/.github/workflows/jina.yml index e107a694db..122a4b05b5 100644 --- a/.github/workflows/jina.yml +++ b/.github/workflows/jina.yml @@ -69,10 +69,11 @@ jobs: hatch -e test env run -- uv pip install git+https://github.com/deepset-ai/haystack.git@main hatch run test:unit - - name: Send event to Datadog for nightly failures - if: failure() && github.event_name == 'schedule' - uses: ./.github/actions/send_failure + notify-slack-on-failure: + needs: run + if: failure() && github.event_name == 'schedule' + runs-on: ubuntu-slim + steps: + - uses: deepset-ai/notify-slack-action@v1 with: - title: | - Core integrations nightly tests failure: ${{ github.workflow }} - api-key: ${{ secrets.CORE_DATADOG_API_KEY }} + slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL_NOTIFICATIONS }} diff --git a/.github/workflows/langfuse.yml b/.github/workflows/langfuse.yml index d6f37c38fc..43cf19a537 100644 --- a/.github/workflows/langfuse.yml +++ b/.github/workflows/langfuse.yml @@ -75,10 +75,11 @@ jobs: hatch -e test env run -- uv pip install git+https://github.com/deepset-ai/haystack.git@main hatch run test:unit - - name: Send event to Datadog for nightly failures - if: failure() && github.event_name == 'schedule' - uses: ./.github/actions/send_failure + notify-slack-on-failure: + needs: run + if: failure() && github.event_name == 'schedule' + runs-on: ubuntu-slim + steps: + - uses: deepset-ai/notify-slack-action@v1 with: - title: | - Core integrations nightly tests failure: ${{ github.workflow }} - api-key: ${{ secrets.CORE_DATADOG_API_KEY }} + slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL_NOTIFICATIONS }} diff --git a/.github/workflows/lara.yml b/.github/workflows/lara.yml index 470a40fb94..1dd188fec5 100644 --- a/.github/workflows/lara.yml +++ b/.github/workflows/lara.yml @@ -67,10 +67,11 @@ jobs: hatch -e test env run -- uv pip install git+https://github.com/deepset-ai/haystack.git@main hatch run test:unit - - name: Send event to Datadog for nightly failures - if: failure() && github.event_name == 'schedule' - uses: ./.github/actions/send_failure + notify-slack-on-failure: + needs: run + if: failure() && github.event_name == 'schedule' + runs-on: ubuntu-slim + steps: + - uses: deepset-ai/notify-slack-action@v1 with: - title: | - Core integrations nightly tests failure: ${{ github.workflow }} - api-key: ${{ secrets.CORE_DATADOG_API_KEY }} \ No newline at end of file + slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL_NOTIFICATIONS }} diff --git a/.github/workflows/llama_cpp.yml b/.github/workflows/llama_cpp.yml index 5a0ebbd8a7..f4f0dc67d3 100644 --- a/.github/workflows/llama_cpp.yml +++ b/.github/workflows/llama_cpp.yml @@ -83,10 +83,11 @@ jobs: hatch -e test env run -- uv pip install git+https://github.com/deepset-ai/haystack.git@main hatch run test:unit - - name: Send event to Datadog for nightly failures - if: failure() && github.event_name == 'schedule' - uses: ./.github/actions/send_failure + notify-slack-on-failure: + needs: run + if: failure() && github.event_name == 'schedule' + runs-on: ubuntu-slim + steps: + - uses: deepset-ai/notify-slack-action@v1 with: - title: | - Core integrations nightly tests failure: ${{ github.workflow }} - api-key: ${{ secrets.CORE_DATADOG_API_KEY }} + slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL_NOTIFICATIONS }} diff --git a/.github/workflows/llama_stack.yml b/.github/workflows/llama_stack.yml index 001ecb35d2..16d1c3464b 100644 --- a/.github/workflows/llama_stack.yml +++ b/.github/workflows/llama_stack.yml @@ -133,10 +133,11 @@ jobs: hatch -e test env run -- uv pip install git+https://github.com/deepset-ai/haystack.git@main hatch run test:cov-retry - - name: Send event to Datadog for nightly failures - if: failure() && github.event_name == 'schedule' - uses: ./.github/actions/send_failure + notify-slack-on-failure: + needs: run + if: failure() && github.event_name == 'schedule' + runs-on: ubuntu-slim + steps: + - uses: deepset-ai/notify-slack-action@v1 with: - title: | - Core integrations nightly tests failure: ${{ github.workflow }} - api-key: ${{ secrets.CORE_DATADOG_API_KEY }} \ No newline at end of file + slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL_NOTIFICATIONS }} diff --git a/.github/workflows/mcp.yml b/.github/workflows/mcp.yml index d0b73f3286..e334eda9a5 100644 --- a/.github/workflows/mcp.yml +++ b/.github/workflows/mcp.yml @@ -83,10 +83,11 @@ jobs: hatch -e test env run -- uv pip install git+https://github.com/deepset-ai/haystack.git@main hatch run test:unit - - name: Send event to Datadog for nightly failures - if: failure() && github.event_name == 'schedule' - uses: ./.github/actions/send_failure + notify-slack-on-failure: + needs: run + if: failure() && github.event_name == 'schedule' + runs-on: ubuntu-slim + steps: + - uses: deepset-ai/notify-slack-action@v1 with: - title: | - Core integrations nightly tests failure: ${{ github.workflow }} - api-key: ${{ secrets.CORE_DATADOG_API_KEY }} + slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL_NOTIFICATIONS }} diff --git a/.github/workflows/meta_llama.yml b/.github/workflows/meta_llama.yml index 2be9e38afc..ee8dfc834c 100644 --- a/.github/workflows/meta_llama.yml +++ b/.github/workflows/meta_llama.yml @@ -71,10 +71,11 @@ jobs: hatch -e test env run -- uv pip install git+https://github.com/deepset-ai/haystack.git@main hatch run test:cov-retry - - name: Send event to Datadog for nightly failures - if: failure() && github.event_name == 'schedule' - uses: ./.github/actions/send_failure + notify-slack-on-failure: + needs: run + if: failure() && github.event_name == 'schedule' + runs-on: ubuntu-slim + steps: + - uses: deepset-ai/notify-slack-action@v1 with: - title: | - Core integrations nightly tests failure: ${{ github.workflow }} - api-key: ${{ secrets.CORE_DATADOG_API_KEY }} + slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL_NOTIFICATIONS }} diff --git a/.github/workflows/mistral.yml b/.github/workflows/mistral.yml index 3188127ad5..c2fc86e00d 100644 --- a/.github/workflows/mistral.yml +++ b/.github/workflows/mistral.yml @@ -71,10 +71,11 @@ jobs: hatch -e test env run -- uv pip install git+https://github.com/deepset-ai/haystack.git@main hatch run test:cov-retry - - name: Send event to Datadog for nightly failures - if: failure() && github.event_name == 'schedule' - uses: ./.github/actions/send_failure + notify-slack-on-failure: + needs: run + if: failure() && github.event_name == 'schedule' + runs-on: ubuntu-slim + steps: + - uses: deepset-ai/notify-slack-action@v1 with: - title: | - Core integrations nightly tests failure: ${{ github.workflow }} - api-key: ${{ secrets.CORE_DATADOG_API_KEY }} + slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL_NOTIFICATIONS }} diff --git a/.github/workflows/mongodb_atlas.yml b/.github/workflows/mongodb_atlas.yml index 9cb3865be9..e450e130c5 100644 --- a/.github/workflows/mongodb_atlas.yml +++ b/.github/workflows/mongodb_atlas.yml @@ -66,10 +66,11 @@ jobs: hatch -e test env run -- uv pip install git+https://github.com/deepset-ai/haystack.git@main hatch run test:unit - - name: Send event to Datadog for nightly failures - if: failure() && github.event_name == 'schedule' - uses: ./.github/actions/send_failure + notify-slack-on-failure: + needs: run + if: failure() && github.event_name == 'schedule' + runs-on: ubuntu-slim + steps: + - uses: deepset-ai/notify-slack-action@v1 with: - title: | - Core integrations nightly tests failure: ${{ github.workflow }} - api-key: ${{ secrets.CORE_DATADOG_API_KEY }} + slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL_NOTIFICATIONS }} diff --git a/.github/workflows/nvidia.yml b/.github/workflows/nvidia.yml index 4da192b9ae..e61068ba29 100644 --- a/.github/workflows/nvidia.yml +++ b/.github/workflows/nvidia.yml @@ -72,10 +72,11 @@ jobs: hatch -e test env run -- uv pip install git+https://github.com/deepset-ai/haystack.git@main hatch run test:cov-retry - - name: Send event to Datadog for nightly failures - if: failure() && github.event_name == 'schedule' - uses: ./.github/actions/send_failure + notify-slack-on-failure: + needs: run + if: failure() && github.event_name == 'schedule' + runs-on: ubuntu-slim + steps: + - uses: deepset-ai/notify-slack-action@v1 with: - title: | - Core integrations nightly tests failure: ${{ github.workflow }} - api-key: ${{ secrets.CORE_DATADOG_API_KEY }} + slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL_NOTIFICATIONS }} diff --git a/.github/workflows/ollama.yml b/.github/workflows/ollama.yml index a782eb84f0..f476d37023 100644 --- a/.github/workflows/ollama.yml +++ b/.github/workflows/ollama.yml @@ -108,10 +108,11 @@ jobs: hatch -e test env run -- uv pip install git+https://github.com/deepset-ai/haystack.git@main hatch run test:unit - - name: Send event to Datadog for nightly failures - if: failure() && github.event_name == 'schedule' - uses: ./.github/actions/send_failure + notify-slack-on-failure: + needs: run + if: failure() && github.event_name == 'schedule' + runs-on: ubuntu-slim + steps: + - uses: deepset-ai/notify-slack-action@v1 with: - title: | - Core integrations nightly tests failure: ${{ github.workflow }} - api-key: ${{ secrets.CORE_DATADOG_API_KEY }} + slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL_NOTIFICATIONS }} diff --git a/.github/workflows/openrouter.yml b/.github/workflows/openrouter.yml index dd2a169ab1..3529794508 100644 --- a/.github/workflows/openrouter.yml +++ b/.github/workflows/openrouter.yml @@ -70,10 +70,11 @@ jobs: hatch -e test env run -- uv pip install git+https://github.com/deepset-ai/haystack.git@main hatch run test:cov-retry - - name: Send event to Datadog for nightly failures - if: failure() && github.event_name == 'schedule' - uses: ./.github/actions/send_failure + notify-slack-on-failure: + needs: run + if: failure() && github.event_name == 'schedule' + runs-on: ubuntu-slim + steps: + - uses: deepset-ai/notify-slack-action@v1 with: - title: | - Core integrations nightly tests failure: ${{ github.workflow }} - api-key: ${{ secrets.CORE_DATADOG_API_KEY }} + slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL_NOTIFICATIONS }} diff --git a/.github/workflows/opensearch.yml b/.github/workflows/opensearch.yml index 3533dd753d..3655e311a2 100644 --- a/.github/workflows/opensearch.yml +++ b/.github/workflows/opensearch.yml @@ -67,10 +67,11 @@ jobs: hatch -e test env run -- uv pip install git+https://github.com/deepset-ai/haystack.git@main hatch run test:unit - - name: Send event to Datadog for nightly failures - if: failure() && github.event_name == 'schedule' - uses: ./.github/actions/send_failure + notify-slack-on-failure: + needs: run + if: failure() && github.event_name == 'schedule' + runs-on: ubuntu-slim + steps: + - uses: deepset-ai/notify-slack-action@v1 with: - title: | - Core integrations nightly tests failure: ${{ github.workflow }} - api-key: ${{ secrets.CORE_DATADOG_API_KEY }} + slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL_NOTIFICATIONS }} diff --git a/.github/workflows/optimum.yml b/.github/workflows/optimum.yml index 8e28971d8c..fa9949db15 100644 --- a/.github/workflows/optimum.yml +++ b/.github/workflows/optimum.yml @@ -71,10 +71,11 @@ jobs: hatch -e test env run -- uv pip install git+https://github.com/deepset-ai/haystack.git@main hatch run test:unit - - name: Send event to Datadog for nightly failures - if: failure() && github.event_name == 'schedule' - uses: ./.github/actions/send_failure + notify-slack-on-failure: + needs: run + if: failure() && github.event_name == 'schedule' + runs-on: ubuntu-slim + steps: + - uses: deepset-ai/notify-slack-action@v1 with: - title: | - Core integrations nightly tests failure: ${{ github.workflow }} - api-key: ${{ secrets.CORE_DATADOG_API_KEY }} + slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL_NOTIFICATIONS }} diff --git a/.github/workflows/paddleocr.yml b/.github/workflows/paddleocr.yml index 73f1d055d6..94a8c51908 100644 --- a/.github/workflows/paddleocr.yml +++ b/.github/workflows/paddleocr.yml @@ -71,10 +71,11 @@ jobs: hatch -e test env run -- uv pip install git+https://github.com/deepset-ai/haystack.git@main hatch run test:unit - - name: Send event to Datadog for nightly failures - if: failure() && github.event_name == 'schedule' - uses: ./.github/actions/send_failure + notify-slack-on-failure: + needs: run + if: failure() && github.event_name == 'schedule' + runs-on: ubuntu-slim + steps: + - uses: deepset-ai/notify-slack-action@v1 with: - title: | - Core integrations nightly tests failure: ${{ github.workflow }} - api-key: ${{ secrets.CORE_DATADOG_API_KEY }} + slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL_NOTIFICATIONS }} diff --git a/.github/workflows/pgvector.yml b/.github/workflows/pgvector.yml index 3185f9e964..af736de2b3 100644 --- a/.github/workflows/pgvector.yml +++ b/.github/workflows/pgvector.yml @@ -73,10 +73,11 @@ jobs: hatch -e test env run -- uv pip install git+https://github.com/deepset-ai/haystack.git@main hatch run test:unit - - name: Send event to Datadog for nightly failures - if: failure() && github.event_name == 'schedule' - uses: ./.github/actions/send_failure + notify-slack-on-failure: + needs: run + if: failure() && github.event_name == 'schedule' + runs-on: ubuntu-slim + steps: + - uses: deepset-ai/notify-slack-action@v1 with: - title: | - Core integrations nightly tests failure: ${{ github.workflow }} - api-key: ${{ secrets.CORE_DATADOG_API_KEY }} + slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL_NOTIFICATIONS }} diff --git a/.github/workflows/pinecone.yml b/.github/workflows/pinecone.yml index 83b2bfd352..8b39a052ea 100644 --- a/.github/workflows/pinecone.yml +++ b/.github/workflows/pinecone.yml @@ -76,10 +76,11 @@ jobs: hatch -e test env run -- uv pip install git+https://github.com/deepset-ai/haystack.git@main hatch run test:unit - - name: Send event to Datadog for nightly failures - if: failure() && github.event_name == 'schedule' - uses: ./.github/actions/send_failure + notify-slack-on-failure: + needs: run + if: failure() && github.event_name == 'schedule' + runs-on: ubuntu-slim + steps: + - uses: deepset-ai/notify-slack-action@v1 with: - title: | - Core integrations nightly tests failure: ${{ github.workflow }} - api-key: ${{ secrets.CORE_DATADOG_API_KEY }} + slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL_NOTIFICATIONS }} diff --git a/.github/workflows/pyversity.yml b/.github/workflows/pyversity.yml index 618e37389f..9b9b1bf27f 100644 --- a/.github/workflows/pyversity.yml +++ b/.github/workflows/pyversity.yml @@ -54,10 +54,11 @@ jobs: hatch -e test env run -- uv pip install git+https://github.com/deepset-ai/haystack.git@main hatch run test:unit - - name: Send event to Datadog for nightly failures - if: failure() && github.event_name == 'schedule' - uses: ./.github/actions/send_failure + notify-slack-on-failure: + needs: run + if: failure() && github.event_name == 'schedule' + runs-on: ubuntu-slim + steps: + - uses: deepset-ai/notify-slack-action@v1 with: - title: | - Core integrations nightly tests failure: ${{ github.workflow }} - api-key: ${{ secrets.CORE_DATADOG_API_KEY }} + slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL_NOTIFICATIONS }} diff --git a/.github/workflows/qdrant.yml b/.github/workflows/qdrant.yml index 5e30bba9b4..3642b301c4 100644 --- a/.github/workflows/qdrant.yml +++ b/.github/workflows/qdrant.yml @@ -69,10 +69,11 @@ jobs: hatch -e test env run -- uv pip install git+https://github.com/deepset-ai/haystack.git@main hatch run test:unit - - name: Send event to Datadog for nightly failures - if: failure() && github.event_name == 'schedule' - uses: ./.github/actions/send_failure + notify-slack-on-failure: + needs: run + if: failure() && github.event_name == 'schedule' + runs-on: ubuntu-slim + steps: + - uses: deepset-ai/notify-slack-action@v1 with: - title: | - Core integrations nightly tests failure: ${{ github.workflow }} - api-key: ${{ secrets.CORE_DATADOG_API_KEY }} + slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL_NOTIFICATIONS }} diff --git a/.github/workflows/ragas.yml b/.github/workflows/ragas.yml index 5cce1a0c23..573969a90f 100644 --- a/.github/workflows/ragas.yml +++ b/.github/workflows/ragas.yml @@ -70,10 +70,11 @@ jobs: hatch -e test env run -- uv pip install git+https://github.com/deepset-ai/haystack.git@main hatch run test:unit - - name: Send event to Datadog for nightly failures - if: failure() && github.event_name == 'schedule' - uses: ./.github/actions/send_failure + notify-slack-on-failure: + needs: run + if: failure() && github.event_name == 'schedule' + runs-on: ubuntu-slim + steps: + - uses: deepset-ai/notify-slack-action@v1 with: - title: | - Core integrations nightly tests failure: ${{ github.workflow }} - api-key: ${{ secrets.CORE_DATADOG_API_KEY }} + slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL_NOTIFICATIONS }} diff --git a/.github/workflows/snowflake.yml b/.github/workflows/snowflake.yml index 68dff55807..c49388fa51 100644 --- a/.github/workflows/snowflake.yml +++ b/.github/workflows/snowflake.yml @@ -69,10 +69,11 @@ jobs: hatch -e test env run -- uv pip install git+https://github.com/deepset-ai/haystack.git@main hatch run test:unit - - name: Send event to Datadog for nightly failures - if: failure() && github.event_name == 'schedule' - uses: ./.github/actions/send_failure + notify-slack-on-failure: + needs: run + if: failure() && github.event_name == 'schedule' + runs-on: ubuntu-slim + steps: + - uses: deepset-ai/notify-slack-action@v1 with: - title: | - Core integrations nightly tests failure: ${{ github.workflow }} - api-key: ${{ secrets.CORE_DATADOG_API_KEY }} + slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL_NOTIFICATIONS }} diff --git a/.github/workflows/stackit.yml b/.github/workflows/stackit.yml index a757e31f83..bc11a1770a 100644 --- a/.github/workflows/stackit.yml +++ b/.github/workflows/stackit.yml @@ -70,10 +70,11 @@ jobs: hatch -e test env run -- uv pip install git+https://github.com/deepset-ai/haystack.git@main hatch run test:cov-retry - - name: Send event to Datadog for nightly failures - if: failure() && github.event_name == 'schedule' - uses: ./.github/actions/send_failure + notify-slack-on-failure: + needs: run + if: failure() && github.event_name == 'schedule' + runs-on: ubuntu-slim + steps: + - uses: deepset-ai/notify-slack-action@v1 with: - title: | - Core integrations nightly tests failure: ${{ github.workflow }} - api-key: ${{ secrets.CORE_DATADOG_API_KEY }} + slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL_NOTIFICATIONS }} diff --git a/.github/workflows/togetherai.yml b/.github/workflows/togetherai.yml index 879c3782ce..0433d915ab 100644 --- a/.github/workflows/togetherai.yml +++ b/.github/workflows/togetherai.yml @@ -70,10 +70,11 @@ jobs: hatch -e test env run -- uv pip install git+https://github.com/deepset-ai/haystack.git@main hatch run test:cov-retry - - name: Send event to Datadog for nightly failures - if: failure() && github.event_name == 'schedule' - uses: ./.github/actions/send_failure + notify-slack-on-failure: + needs: run + if: failure() && github.event_name == 'schedule' + runs-on: ubuntu-slim + steps: + - uses: deepset-ai/notify-slack-action@v1 with: - title: | - Core integrations nightly tests failure: ${{ github.workflow }} - api-key: ${{ secrets.CORE_DATADOG_API_KEY }} + slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL_NOTIFICATIONS }} diff --git a/.github/workflows/unstructured.yml b/.github/workflows/unstructured.yml index e7981897c1..758cdaab89 100644 --- a/.github/workflows/unstructured.yml +++ b/.github/workflows/unstructured.yml @@ -82,10 +82,11 @@ jobs: hatch -e test env run -- uv pip install git+https://github.com/deepset-ai/haystack.git@main hatch run test:unit - - name: Send event to Datadog for nightly failures - if: failure() && github.event_name == 'schedule' - uses: ./.github/actions/send_failure + notify-slack-on-failure: + needs: run + if: failure() && github.event_name == 'schedule' + runs-on: ubuntu-slim + steps: + - uses: deepset-ai/notify-slack-action@v1 with: - title: | - Core integrations nightly tests failure: ${{ github.workflow }} - api-key: ${{ secrets.CORE_DATADOG_API_KEY }} + slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL_NOTIFICATIONS }} diff --git a/.github/workflows/valkey.yml b/.github/workflows/valkey.yml index 7f53163519..8abd35a2ac 100644 --- a/.github/workflows/valkey.yml +++ b/.github/workflows/valkey.yml @@ -75,10 +75,11 @@ jobs: hatch -e test env run -- uv pip install git+https://github.com/deepset-ai/haystack.git@main hatch run test:unit - - name: Send event to Datadog for nightly failures - if: failure() && github.event_name == 'schedule' - uses: ./.github/actions/send_failure + notify-slack-on-failure: + needs: run + if: failure() && github.event_name == 'schedule' + runs-on: ubuntu-slim + steps: + - uses: deepset-ai/notify-slack-action@v1 with: - title: | - Core integrations nightly tests failure: ${{ github.workflow }} - api-key: ${{ secrets.CORE_DATADOG_API_KEY }} \ No newline at end of file + slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL_NOTIFICATIONS }} diff --git a/.github/workflows/watsonx.yml b/.github/workflows/watsonx.yml index 963a547d62..aac4b5c3cd 100644 --- a/.github/workflows/watsonx.yml +++ b/.github/workflows/watsonx.yml @@ -71,10 +71,11 @@ jobs: hatch -e test env run -- uv pip install git+https://github.com/deepset-ai/haystack.git@main hatch run test:unit - - name: Send event to Datadog for nightly failures - if: failure() && github.event_name == 'schedule' - uses: ./.github/actions/send_failure + notify-slack-on-failure: + needs: run + if: failure() && github.event_name == 'schedule' + runs-on: ubuntu-slim + steps: + - uses: deepset-ai/notify-slack-action@v1 with: - title: | - Core integrations nightly tests failure: ${{ github.workflow }} - api-key: ${{ secrets.CORE_DATADOG_API_KEY }} + slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL_NOTIFICATIONS }} diff --git a/.github/workflows/weave.yml b/.github/workflows/weave.yml index bb515676fc..700369ae10 100644 --- a/.github/workflows/weave.yml +++ b/.github/workflows/weave.yml @@ -66,10 +66,11 @@ jobs: hatch -e test env run -- uv pip install git+https://github.com/deepset-ai/haystack.git@main hatch run test:unit - - name: Send event to Datadog for nightly failures - if: failure() && github.event_name == 'schedule' - uses: ./.github/actions/send_failure + notify-slack-on-failure: + needs: run + if: failure() && github.event_name == 'schedule' + runs-on: ubuntu-slim + steps: + - uses: deepset-ai/notify-slack-action@v1 with: - title: | - Core integrations nightly tests failure: ${{ github.workflow }} - api-key: ${{ secrets.CORE_DATADOG_API_KEY }} + slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL_NOTIFICATIONS }} diff --git a/.github/workflows/weaviate.yml b/.github/workflows/weaviate.yml index 1b06d2f7fe..d60a9d41d2 100644 --- a/.github/workflows/weaviate.yml +++ b/.github/workflows/weaviate.yml @@ -67,10 +67,11 @@ jobs: hatch -e test env run -- uv pip install git+https://github.com/deepset-ai/haystack.git@main hatch run test:unit - - name: Send event to Datadog for nightly failures - if: failure() && github.event_name == 'schedule' - uses: ./.github/actions/send_failure + notify-slack-on-failure: + needs: run + if: failure() && github.event_name == 'schedule' + runs-on: ubuntu-slim + steps: + - uses: deepset-ai/notify-slack-action@v1 with: - title: | - Core integrations nightly tests failure: ${{ github.workflow }} - api-key: ${{ secrets.CORE_DATADOG_API_KEY }} + slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL_NOTIFICATIONS }} diff --git a/scripts/utils/templates/workflow.yml b/scripts/utils/templates/workflow.yml index 2e23cb88c7..a57f60a83b 100644 --- a/scripts/utils/templates/workflow.yml +++ b/scripts/utils/templates/workflow.yml @@ -68,10 +68,12 @@ jobs: hatch -e test env run -- uv pip install git+https://github.com/deepset-ai/haystack.git@main hatch run test:cov-retry - - name: Send event to Datadog for nightly failures - if: failure() && github.event_name == 'schedule' - uses: ./.github/actions/send_failure + + notify-slack-on-failure: + needs: run + if: failure() && github.event_name == 'schedule' + runs-on: ubuntu-slim + steps: + - uses: deepset-ai/notify-slack-action@v1 with: - title: | - Core integrations nightly tests failure: ${{ github.workflow }} - api-key: ${{ secrets.CORE_DATADOG_API_KEY }} + slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL_NOTIFICATIONS }}