From df88694255ce10f7ea94a1b7a09fae302fb49fba Mon Sep 17 00:00:00 2001 From: anakin87 Date: Fri, 15 Mar 2024 18:30:23 +0100 Subject: [PATCH] rm condition --- .github/workflows/amazon_bedrock.yml | 7 +++---- .github/workflows/amazon_sagemaker.yml | 7 +++---- .github/workflows/anthropic.yml | 7 +++---- .github/workflows/astra.yml | 7 +++---- .github/workflows/chroma.yml | 7 +++---- .github/workflows/cohere.yml | 7 +++---- .github/workflows/deepeval.yml | 7 +++---- .github/workflows/elasticsearch.yml | 7 +++---- .github/workflows/fastembed.yml | 7 +++---- .github/workflows/google_ai.yml | 7 +++---- .github/workflows/google_vertex.yml | 7 +++---- .github/workflows/gradient.yml | 7 +++---- .github/workflows/instructor_embedders.yml | 7 +++---- .github/workflows/jina.yml | 7 +++---- .github/workflows/llama_cpp.yml | 7 +++---- .github/workflows/mistral.yml | 7 +++---- .github/workflows/mongodb_atlas.yml | 7 +++---- .github/workflows/nvidia.yml | 7 +++---- .github/workflows/ollama.yml | 7 +++---- .github/workflows/opensearch.yml | 7 +++---- .github/workflows/optimum.yml | 7 +++---- .github/workflows/pgvector.yml | 7 +++---- .github/workflows/pinecone.yml | 7 +++---- .github/workflows/qdrant.yml | 7 +++---- .github/workflows/ragas.yml | 7 +++---- .github/workflows/unstructured.yml | 7 +++---- .github/workflows/uptrain.yml | 7 +++---- .github/workflows/weaviate.yml | 7 +++---- 28 files changed, 84 insertions(+), 112 deletions(-) diff --git a/.github/workflows/amazon_bedrock.yml b/.github/workflows/amazon_bedrock.yml index 266f792fc..fb2a14c5e 100644 --- a/.github/workflows/amazon_bedrock.yml +++ b/.github/workflows/amazon_bedrock.yml @@ -79,12 +79,11 @@ jobs: hatch run test -m "not integration" - name: Send event to Datadog for nightly failures - if: | - failure() && github.event_name == 'schedule' && - (steps.nightly-haystack-main.conclusion == 'failure' || steps.tests.conclusion == 'failure') + if: failure() && github.event_name == 'schedule' uses: ./.github/actions/send_failure with: title: | - core-integrations failure: ${{ (steps.tests.conclusion == 'failure') && 'test' || 'nightly-haystack-main' }} + core-integrations failure: + ${{ (steps.tests.conclusion == 'nightly-haystack-main') && 'nightly-haystack-main' || 'tests' }} - ${{ github.workflow }} api-key: ${{ secrets.CORE_DATADOG_API_KEY }} \ No newline at end of file diff --git a/.github/workflows/amazon_sagemaker.yml b/.github/workflows/amazon_sagemaker.yml index b6aa2c78e..2f9106181 100644 --- a/.github/workflows/amazon_sagemaker.yml +++ b/.github/workflows/amazon_sagemaker.yml @@ -68,12 +68,11 @@ jobs: hatch run test -m "not integration" - name: Send event to Datadog for nightly failures - if: | - failure() && github.event_name == 'schedule' && - (steps.nightly-haystack-main.conclusion == 'failure' || steps.tests.conclusion == 'failure') + if: failure() && github.event_name == 'schedule' uses: ./.github/actions/send_failure with: title: | - core-integrations failure: ${{ (steps.tests.conclusion == 'failure') && 'test' || 'nightly-haystack-main' }} + core-integrations failure: + ${{ (steps.tests.conclusion == 'nightly-haystack-main') && 'nightly-haystack-main' || 'tests' }} - ${{ github.workflow }} api-key: ${{ secrets.CORE_DATADOG_API_KEY }} \ No newline at end of file diff --git a/.github/workflows/anthropic.yml b/.github/workflows/anthropic.yml index 858922c43..db4c4ce18 100644 --- a/.github/workflows/anthropic.yml +++ b/.github/workflows/anthropic.yml @@ -64,12 +64,11 @@ jobs: hatch run test -m "not integration" - name: Send event to Datadog for nightly failures - if: | - failure() && github.event_name == 'schedule' && - (steps.nightly-haystack-main.conclusion == 'failure' || steps.tests.conclusion == 'failure') + if: failure() && github.event_name == 'schedule' uses: ./.github/actions/send_failure with: title: | - core-integrations failure: ${{ (steps.tests.conclusion == 'failure') && 'test' || 'nightly-haystack-main' }} + core-integrations failure: + ${{ (steps.tests.conclusion == 'nightly-haystack-main') && 'nightly-haystack-main' || 'tests' }} - ${{ github.workflow }} api-key: ${{ secrets.CORE_DATADOG_API_KEY }} \ No newline at end of file diff --git a/.github/workflows/astra.yml b/.github/workflows/astra.yml index e038811ad..30d6e8796 100644 --- a/.github/workflows/astra.yml +++ b/.github/workflows/astra.yml @@ -72,12 +72,11 @@ jobs: hatch run test -m "not integration" - name: Send event to Datadog for nightly failures - if: | - failure() && github.event_name == 'schedule' && - (steps.nightly-haystack-main.conclusion == 'failure' || steps.tests.conclusion == 'failure') + if: failure() && github.event_name == 'schedule' uses: ./.github/actions/send_failure with: title: | - core-integrations failure: ${{ (steps.tests.conclusion == 'failure') && 'test' || 'nightly-haystack-main' }} + core-integrations failure: + ${{ (steps.tests.conclusion == 'nightly-haystack-main') && 'nightly-haystack-main' || 'tests' }} - ${{ github.workflow }} api-key: ${{ secrets.CORE_DATADOG_API_KEY }} \ No newline at end of file diff --git a/.github/workflows/chroma.yml b/.github/workflows/chroma.yml index 244f1aa71..616fecf3b 100644 --- a/.github/workflows/chroma.yml +++ b/.github/workflows/chroma.yml @@ -68,12 +68,11 @@ jobs: hatch run test -m "not integration" - name: Send event to Datadog for nightly failures - if: | - failure() && github.event_name == 'schedule' && - (steps.nightly-haystack-main.conclusion == 'failure' || steps.tests.conclusion == 'failure') + if: failure() && github.event_name == 'schedule' uses: ./.github/actions/send_failure with: title: | - core-integrations failure: ${{ (steps.tests.conclusion == 'failure') && 'test' || 'nightly-haystack-main' }} + core-integrations failure: + ${{ (steps.tests.conclusion == 'nightly-haystack-main') && 'nightly-haystack-main' || 'tests' }} - ${{ github.workflow }} api-key: ${{ secrets.CORE_DATADOG_API_KEY }} \ No newline at end of file diff --git a/.github/workflows/cohere.yml b/.github/workflows/cohere.yml index 46df46be1..81bf2356d 100644 --- a/.github/workflows/cohere.yml +++ b/.github/workflows/cohere.yml @@ -69,12 +69,11 @@ jobs: hatch run test -m "not integration" - name: Send event to Datadog for nightly failures - if: | - failure() && github.event_name == 'schedule' && - (steps.nightly-haystack-main.conclusion == 'failure' || steps.tests.conclusion == 'failure') + if: failure() && github.event_name == 'schedule' uses: ./.github/actions/send_failure with: title: | - core-integrations failure: ${{ (steps.tests.conclusion == 'failure') && 'test' || 'nightly-haystack-main' }} + core-integrations failure: + ${{ (steps.tests.conclusion == 'nightly-haystack-main') && 'nightly-haystack-main' || 'tests' }} - ${{ github.workflow }} api-key: ${{ secrets.CORE_DATADOG_API_KEY }} \ No newline at end of file diff --git a/.github/workflows/deepeval.yml b/.github/workflows/deepeval.yml index 4c134c65a..f290125cb 100644 --- a/.github/workflows/deepeval.yml +++ b/.github/workflows/deepeval.yml @@ -68,12 +68,11 @@ jobs: hatch run test -m "not integration" - name: Send event to Datadog for nightly failures - if: | - failure() && github.event_name == 'schedule' && - (steps.nightly-haystack-main.conclusion == 'failure' || steps.tests.conclusion == 'failure') + if: failure() && github.event_name == 'schedule' uses: ./.github/actions/send_failure with: title: | - core-integrations failure: ${{ (steps.tests.conclusion == 'failure') && 'test' || 'nightly-haystack-main' }} + core-integrations failure: + ${{ (steps.tests.conclusion == 'nightly-haystack-main') && 'nightly-haystack-main' || 'tests' }} - ${{ github.workflow }} api-key: ${{ secrets.CORE_DATADOG_API_KEY }} \ No newline at end of file diff --git a/.github/workflows/elasticsearch.yml b/.github/workflows/elasticsearch.yml index ee92217a8..c0144a202 100644 --- a/.github/workflows/elasticsearch.yml +++ b/.github/workflows/elasticsearch.yml @@ -66,12 +66,11 @@ jobs: hatch run test -m "not integration" - name: Send event to Datadog for nightly failures - if: | - failure() && github.event_name == 'schedule' && - (steps.nightly-haystack-main.conclusion == 'failure' || steps.tests.conclusion == 'failure') + if: failure() && github.event_name == 'schedule' uses: ./.github/actions/send_failure with: title: | - core-integrations failure: ${{ (steps.tests.conclusion == 'failure') && 'test' || 'nightly-haystack-main' }} + core-integrations failure: + ${{ (steps.tests.conclusion == 'nightly-haystack-main') && 'nightly-haystack-main' || 'tests' }} - ${{ github.workflow }} api-key: ${{ secrets.CORE_DATADOG_API_KEY }} \ No newline at end of file diff --git a/.github/workflows/fastembed.yml b/.github/workflows/fastembed.yml index dd89b7749..37ee7f953 100644 --- a/.github/workflows/fastembed.yml +++ b/.github/workflows/fastembed.yml @@ -53,12 +53,11 @@ jobs: hatch run test -m "not integration" - name: Send event to Datadog for nightly failures - if: | - failure() && github.event_name == 'schedule' && - (steps.nightly-haystack-main.conclusion == 'failure' || steps.tests.conclusion == 'failure') + if: failure() && github.event_name == 'schedule' uses: ./.github/actions/send_failure with: title: | - core-integrations failure: ${{ (steps.tests.conclusion == 'failure') && 'test' || 'nightly-haystack-main' }} + core-integrations failure: + ${{ (steps.tests.conclusion == 'nightly-haystack-main') && 'nightly-haystack-main' || 'tests' }} - ${{ github.workflow }} api-key: ${{ secrets.CORE_DATADOG_API_KEY }} \ No newline at end of file diff --git a/.github/workflows/google_ai.yml b/.github/workflows/google_ai.yml index fae4db9ab..853bc91df 100644 --- a/.github/workflows/google_ai.yml +++ b/.github/workflows/google_ai.yml @@ -69,12 +69,11 @@ jobs: hatch run test -m "not integration" - name: Send event to Datadog for nightly failures - if: | - failure() && github.event_name == 'schedule' && - (steps.nightly-haystack-main.conclusion == 'failure' || steps.tests.conclusion == 'failure') + if: failure() && github.event_name == 'schedule' uses: ./.github/actions/send_failure with: title: | - core-integrations failure: ${{ (steps.tests.conclusion == 'failure') && 'test' || 'nightly-haystack-main' }} + core-integrations failure: + ${{ (steps.tests.conclusion == 'nightly-haystack-main') && 'nightly-haystack-main' || 'tests' }} - ${{ github.workflow }} api-key: ${{ secrets.CORE_DATADOG_API_KEY }} \ No newline at end of file diff --git a/.github/workflows/google_vertex.yml b/.github/workflows/google_vertex.yml index c5c9e0e7b..3677102e4 100644 --- a/.github/workflows/google_vertex.yml +++ b/.github/workflows/google_vertex.yml @@ -68,12 +68,11 @@ jobs: hatch run test -m "not integration" - name: Send event to Datadog for nightly failures - if: | - failure() && github.event_name == 'schedule' && - (steps.nightly-haystack-main.conclusion == 'failure' || steps.tests.conclusion == 'failure') + if: failure() && github.event_name == 'schedule' uses: ./.github/actions/send_failure with: title: | - core-integrations failure: ${{ (steps.tests.conclusion == 'failure') && 'test' || 'nightly-haystack-main' }} + core-integrations failure: + ${{ (steps.tests.conclusion == 'nightly-haystack-main') && 'nightly-haystack-main' || 'tests' }} - ${{ github.workflow }} api-key: ${{ secrets.CORE_DATADOG_API_KEY }} \ No newline at end of file diff --git a/.github/workflows/gradient.yml b/.github/workflows/gradient.yml index 76a5ef2f9..65d206dd8 100644 --- a/.github/workflows/gradient.yml +++ b/.github/workflows/gradient.yml @@ -68,12 +68,11 @@ jobs: hatch run test -m "not integration" - name: Send event to Datadog for nightly failures - if: | - failure() && github.event_name == 'schedule' && - (steps.nightly-haystack-main.conclusion == 'failure' || steps.tests.conclusion == 'failure') + if: failure() && github.event_name == 'schedule' uses: ./.github/actions/send_failure with: title: | - core-integrations failure: ${{ (steps.tests.conclusion == 'failure') && 'test' || 'nightly-haystack-main' }} + core-integrations failure: + ${{ (steps.tests.conclusion == 'nightly-haystack-main') && 'nightly-haystack-main' || 'tests' }} - ${{ github.workflow }} api-key: ${{ secrets.CORE_DATADOG_API_KEY }} \ No newline at end of file diff --git a/.github/workflows/instructor_embedders.yml b/.github/workflows/instructor_embedders.yml index a593aa127..70b604eaa 100644 --- a/.github/workflows/instructor_embedders.yml +++ b/.github/workflows/instructor_embedders.yml @@ -46,12 +46,11 @@ jobs: hatch run test -m "not integration" - name: Send event to Datadog for nightly failures - if: | - failure() && github.event_name == 'schedule' && - (steps.nightly-haystack-main.conclusion == 'failure' || steps.tests.conclusion == 'failure') + if: failure() && github.event_name == 'schedule' uses: ./.github/actions/send_failure with: title: | - core-integrations failure: ${{ (steps.tests.conclusion == 'failure') && 'test' || 'nightly-haystack-main' }} + core-integrations failure: + ${{ (steps.tests.conclusion == 'nightly-haystack-main') && 'nightly-haystack-main' || 'tests' }} - ${{ github.workflow }} api-key: ${{ secrets.CORE_DATADOG_API_KEY }} \ No newline at end of file diff --git a/.github/workflows/jina.yml b/.github/workflows/jina.yml index 07dd884cb..69ef6b294 100644 --- a/.github/workflows/jina.yml +++ b/.github/workflows/jina.yml @@ -68,12 +68,11 @@ jobs: hatch run test -m "not integration" - name: Send event to Datadog for nightly failures - if: | - failure() && github.event_name == 'schedule' && - (steps.nightly-haystack-main.conclusion == 'failure' || steps.tests.conclusion == 'failure') + if: failure() && github.event_name == 'schedule' uses: ./.github/actions/send_failure with: title: | - core-integrations failure: ${{ (steps.tests.conclusion == 'failure') && 'test' || 'nightly-haystack-main' }} + core-integrations failure: + ${{ (steps.tests.conclusion == 'nightly-haystack-main') && 'nightly-haystack-main' || 'tests' }} - ${{ github.workflow }} api-key: ${{ secrets.CORE_DATADOG_API_KEY }} \ No newline at end of file diff --git a/.github/workflows/llama_cpp.yml b/.github/workflows/llama_cpp.yml index 5e7f9c582..5d906a251 100644 --- a/.github/workflows/llama_cpp.yml +++ b/.github/workflows/llama_cpp.yml @@ -68,12 +68,11 @@ jobs: hatch run test -m "not integration" - name: Send event to Datadog for nightly failures - if: | - failure() && github.event_name == 'schedule' && - (steps.nightly-haystack-main.conclusion == 'failure' || steps.tests.conclusion == 'failure') + if: failure() && github.event_name == 'schedule' uses: ./.github/actions/send_failure with: title: | - core-integrations failure: ${{ (steps.tests.conclusion == 'failure') && 'test' || 'nightly-haystack-main' }} + core-integrations failure: + ${{ (steps.tests.conclusion == 'nightly-haystack-main') && 'nightly-haystack-main' || 'tests' }} - ${{ github.workflow }} api-key: ${{ secrets.CORE_DATADOG_API_KEY }} diff --git a/.github/workflows/mistral.yml b/.github/workflows/mistral.yml index c453bb363..8348f1d8f 100644 --- a/.github/workflows/mistral.yml +++ b/.github/workflows/mistral.yml @@ -69,12 +69,11 @@ jobs: hatch run test -m "not integration" - name: Send event to Datadog for nightly failures - if: | - failure() && github.event_name == 'schedule' && - (steps.nightly-haystack-main.conclusion == 'failure' || steps.tests.conclusion == 'failure') + if: failure() && github.event_name == 'schedule' uses: ./.github/actions/send_failure with: title: | - core-integrations failure: ${{ (steps.tests.conclusion == 'failure') && 'test' || 'nightly-haystack-main' }} + core-integrations failure: + ${{ (steps.tests.conclusion == 'nightly-haystack-main') && 'nightly-haystack-main' || 'tests' }} - ${{ github.workflow }} api-key: ${{ secrets.CORE_DATADOG_API_KEY }} \ No newline at end of file diff --git a/.github/workflows/mongodb_atlas.yml b/.github/workflows/mongodb_atlas.yml index d8175b088..94a540719 100644 --- a/.github/workflows/mongodb_atlas.yml +++ b/.github/workflows/mongodb_atlas.yml @@ -65,12 +65,11 @@ jobs: hatch run test -m "not integration" - name: Send event to Datadog for nightly failures - if: | - failure() && github.event_name == 'schedule' && - (steps.nightly-haystack-main.conclusion == 'failure' || steps.tests.conclusion == 'failure') + if: failure() && github.event_name == 'schedule' uses: ./.github/actions/send_failure with: title: | - core-integrations failure: ${{ (steps.tests.conclusion == 'failure') && 'test' || 'nightly-haystack-main' }} + core-integrations failure: + ${{ (steps.tests.conclusion == 'nightly-haystack-main') && 'nightly-haystack-main' || 'tests' }} - ${{ github.workflow }} api-key: ${{ secrets.CORE_DATADOG_API_KEY }} \ No newline at end of file diff --git a/.github/workflows/nvidia.yml b/.github/workflows/nvidia.yml index 20855ce54..eef8e0c31 100644 --- a/.github/workflows/nvidia.yml +++ b/.github/workflows/nvidia.yml @@ -65,12 +65,11 @@ jobs: hatch run test -m "not integration" - name: Send event to Datadog for nightly failures - if: | - failure() && github.event_name == 'schedule' && - (steps.nightly-haystack-main.conclusion == 'failure' || steps.tests.conclusion == 'failure') + if: failure() && github.event_name == 'schedule' uses: ./.github/actions/send_failure with: title: | - core-integrations failure: ${{ (steps.tests.conclusion == 'failure') && 'test' || 'nightly-haystack-main' }} + core-integrations failure: + ${{ (steps.tests.conclusion == 'nightly-haystack-main') && 'nightly-haystack-main' || 'tests' }} - ${{ github.workflow }} api-key: ${{ secrets.CORE_DATADOG_API_KEY }} \ No newline at end of file diff --git a/.github/workflows/ollama.yml b/.github/workflows/ollama.yml index 5a1f03e62..631c155eb 100644 --- a/.github/workflows/ollama.yml +++ b/.github/workflows/ollama.yml @@ -86,12 +86,11 @@ jobs: hatch run test -m "not integration" - name: Send event to Datadog for nightly failures - if: | - failure() && github.event_name == 'schedule' && - (steps.nightly-haystack-main.conclusion == 'failure' || steps.tests.conclusion == 'failure') + if: failure() && github.event_name == 'schedule' uses: ./.github/actions/send_failure with: title: | - core-integrations failure: ${{ (steps.tests.conclusion == 'failure') && 'test' || 'nightly-haystack-main' }} + core-integrations failure: + ${{ (steps.tests.conclusion == 'nightly-haystack-main') && 'nightly-haystack-main' || 'tests' }} - ${{ github.workflow }} api-key: ${{ secrets.CORE_DATADOG_API_KEY }} \ No newline at end of file diff --git a/.github/workflows/opensearch.yml b/.github/workflows/opensearch.yml index 4a8b26c6a..ed7967d79 100644 --- a/.github/workflows/opensearch.yml +++ b/.github/workflows/opensearch.yml @@ -66,12 +66,11 @@ jobs: hatch run test -m "not integration" - name: Send event to Datadog for nightly failures - if: | - failure() && github.event_name == 'schedule' && - (steps.nightly-haystack-main.conclusion == 'failure' || steps.tests.conclusion == 'failure') + if: failure() && github.event_name == 'schedule' uses: ./.github/actions/send_failure with: title: | - core-integrations failure: ${{ (steps.tests.conclusion == 'failure') && 'test' || 'nightly-haystack-main' }} + core-integrations failure: + ${{ (steps.tests.conclusion == 'nightly-haystack-main') && 'nightly-haystack-main' || 'tests' }} - ${{ github.workflow }} api-key: ${{ secrets.CORE_DATADOG_API_KEY }} \ No newline at end of file diff --git a/.github/workflows/optimum.yml b/.github/workflows/optimum.yml index 1d3c21802..c6ae9a0ee 100644 --- a/.github/workflows/optimum.yml +++ b/.github/workflows/optimum.yml @@ -68,12 +68,11 @@ jobs: hatch run test -m "not integration" - name: Send event to Datadog for nightly failures - if: | - failure() && github.event_name == 'schedule' && - (steps.nightly-haystack-main.conclusion == 'failure' || steps.tests.conclusion == 'failure') + if: failure() && github.event_name == 'schedule' uses: ./.github/actions/send_failure with: title: | - core-integrations failure: ${{ (steps.tests.conclusion == 'failure') && 'test' || 'nightly-haystack-main' }} + core-integrations failure: + ${{ (steps.tests.conclusion == 'nightly-haystack-main') && 'nightly-haystack-main' || 'tests' }} - ${{ github.workflow }} api-key: ${{ secrets.CORE_DATADOG_API_KEY }} \ No newline at end of file diff --git a/.github/workflows/pgvector.yml b/.github/workflows/pgvector.yml index 2593da984..288da8e9d 100644 --- a/.github/workflows/pgvector.yml +++ b/.github/workflows/pgvector.yml @@ -72,12 +72,11 @@ jobs: hatch run test -m "not integration" - name: Send event to Datadog for nightly failures - if: | - failure() && github.event_name == 'schedule' && - (steps.nightly-haystack-main.conclusion == 'failure' || steps.tests.conclusion == 'failure') + if: failure() && github.event_name == 'schedule' uses: ./.github/actions/send_failure with: title: | - core-integrations failure: ${{ (steps.tests.conclusion == 'failure') && 'test' || 'nightly-haystack-main' }} + core-integrations failure: + ${{ (steps.tests.conclusion == 'nightly-haystack-main') && 'nightly-haystack-main' || 'tests' }} - ${{ github.workflow }} api-key: ${{ secrets.CORE_DATADOG_API_KEY }} \ No newline at end of file diff --git a/.github/workflows/pinecone.yml b/.github/workflows/pinecone.yml index a76c3c3a0..85f36ae5d 100644 --- a/.github/workflows/pinecone.yml +++ b/.github/workflows/pinecone.yml @@ -66,12 +66,11 @@ jobs: hatch run test -m "not integration" - name: Send event to Datadog for nightly failures - if: | - failure() && github.event_name == 'schedule' && - (steps.nightly-haystack-main.conclusion == 'failure' || steps.tests.conclusion == 'failure') + if: failure() && github.event_name == 'schedule' uses: ./.github/actions/send_failure with: title: | - core-integrations failure: ${{ (steps.tests.conclusion == 'failure') && 'test' || 'nightly-haystack-main' }} + core-integrations failure: + ${{ (steps.tests.conclusion == 'nightly-haystack-main') && 'nightly-haystack-main' || 'tests' }} - ${{ github.workflow }} api-key: ${{ secrets.CORE_DATADOG_API_KEY }} \ No newline at end of file diff --git a/.github/workflows/qdrant.yml b/.github/workflows/qdrant.yml index 07dd562e6..5995911fb 100644 --- a/.github/workflows/qdrant.yml +++ b/.github/workflows/qdrant.yml @@ -68,12 +68,11 @@ jobs: hatch run test -m "not integration" - name: Send event to Datadog for nightly failures - if: | - failure() && github.event_name == 'schedule' && - (steps.nightly-haystack-main.conclusion == 'failure' || steps.tests.conclusion == 'failure') + if: failure() && github.event_name == 'schedule' uses: ./.github/actions/send_failure with: title: | - core-integrations failure: ${{ (steps.tests.conclusion == 'failure') && 'test' || 'nightly-haystack-main' }} + core-integrations failure: + ${{ (steps.tests.conclusion == 'nightly-haystack-main') && 'nightly-haystack-main' || 'tests' }} - ${{ github.workflow }} api-key: ${{ secrets.CORE_DATADOG_API_KEY }} \ No newline at end of file diff --git a/.github/workflows/ragas.yml b/.github/workflows/ragas.yml index 592068b35..10600d17d 100644 --- a/.github/workflows/ragas.yml +++ b/.github/workflows/ragas.yml @@ -68,12 +68,11 @@ jobs: hatch run test -m "not integration" - name: Send event to Datadog for nightly failures - if: | - failure() && github.event_name == 'schedule' && - (steps.nightly-haystack-main.conclusion == 'failure' || steps.tests.conclusion == 'failure') + if: failure() && github.event_name == 'schedule' uses: ./.github/actions/send_failure with: title: | - core-integrations failure: ${{ (steps.tests.conclusion == 'failure') && 'test' || 'nightly-haystack-main' }} + core-integrations failure: + ${{ (steps.tests.conclusion == 'nightly-haystack-main') && 'nightly-haystack-main' || 'tests' }} - ${{ github.workflow }} api-key: ${{ secrets.CORE_DATADOG_API_KEY }} \ No newline at end of file diff --git a/.github/workflows/unstructured.yml b/.github/workflows/unstructured.yml index 7e9b1dbc2..a5943c5b5 100644 --- a/.github/workflows/unstructured.yml +++ b/.github/workflows/unstructured.yml @@ -80,12 +80,11 @@ jobs: hatch run test -m "not integration" - name: Send event to Datadog for nightly failures - if: | - failure() && github.event_name == 'schedule' && - (steps.nightly-haystack-main.conclusion == 'failure' || steps.tests.conclusion == 'failure') + if: failure() && github.event_name == 'schedule' uses: ./.github/actions/send_failure with: title: | - core-integrations failure: ${{ (steps.tests.conclusion == 'failure') && 'test' || 'nightly-haystack-main' }} + core-integrations failure: + ${{ (steps.tests.conclusion == 'nightly-haystack-main') && 'nightly-haystack-main' || 'tests' }} - ${{ github.workflow }} api-key: ${{ secrets.CORE_DATADOG_API_KEY }} \ No newline at end of file diff --git a/.github/workflows/uptrain.yml b/.github/workflows/uptrain.yml index fb0d99644..c0a805051 100644 --- a/.github/workflows/uptrain.yml +++ b/.github/workflows/uptrain.yml @@ -64,12 +64,11 @@ jobs: hatch run test -m "not integration" - name: Send event to Datadog for nightly failures - if: | - failure() && github.event_name == 'schedule' && - (steps.nightly-haystack-main.conclusion == 'failure' || steps.tests.conclusion == 'failure') + if: failure() && github.event_name == 'schedule' uses: ./.github/actions/send_failure with: title: | - core-integrations failure: ${{ (steps.tests.conclusion == 'failure') && 'test' || 'nightly-haystack-main' }} + core-integrations failure: + ${{ (steps.tests.conclusion == 'nightly-haystack-main') && 'nightly-haystack-main' || 'tests' }} - ${{ github.workflow }} api-key: ${{ secrets.CORE_DATADOG_API_KEY }} \ No newline at end of file diff --git a/.github/workflows/weaviate.yml b/.github/workflows/weaviate.yml index 6116ed147..2588d4113 100644 --- a/.github/workflows/weaviate.yml +++ b/.github/workflows/weaviate.yml @@ -65,12 +65,11 @@ jobs: hatch run test -m "not integration" - name: Send event to Datadog for nightly failures - if: | - failure() && github.event_name == 'schedule' && - (steps.nightly-haystack-main.conclusion == 'failure' || steps.tests.conclusion == 'failure') + if: failure() && github.event_name == 'schedule' uses: ./.github/actions/send_failure with: title: | - core-integrations failure: ${{ (steps.tests.conclusion == 'failure') && 'test' || 'nightly-haystack-main' }} + core-integrations failure: + ${{ (steps.tests.conclusion == 'nightly-haystack-main') && 'nightly-haystack-main' || 'tests' }} - ${{ github.workflow }} api-key: ${{ secrets.CORE_DATADOG_API_KEY }}