Skip to content

Commit

Permalink
rm condition
Browse files Browse the repository at this point in the history
  • Loading branch information
anakin87 committed Mar 15, 2024
1 parent f599e64 commit df88694
Show file tree
Hide file tree
Showing 28 changed files with 84 additions and 112 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/amazon_bedrock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
7 changes: 3 additions & 4 deletions .github/workflows/amazon_sagemaker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
7 changes: 3 additions & 4 deletions .github/workflows/anthropic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
7 changes: 3 additions & 4 deletions .github/workflows/astra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
7 changes: 3 additions & 4 deletions .github/workflows/chroma.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
7 changes: 3 additions & 4 deletions .github/workflows/cohere.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
7 changes: 3 additions & 4 deletions .github/workflows/deepeval.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
7 changes: 3 additions & 4 deletions .github/workflows/elasticsearch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
7 changes: 3 additions & 4 deletions .github/workflows/fastembed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
7 changes: 3 additions & 4 deletions .github/workflows/google_ai.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
7 changes: 3 additions & 4 deletions .github/workflows/google_vertex.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
7 changes: 3 additions & 4 deletions .github/workflows/gradient.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
7 changes: 3 additions & 4 deletions .github/workflows/instructor_embedders.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
7 changes: 3 additions & 4 deletions .github/workflows/jina.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
7 changes: 3 additions & 4 deletions .github/workflows/llama_cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
7 changes: 3 additions & 4 deletions .github/workflows/mistral.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
7 changes: 3 additions & 4 deletions .github/workflows/mongodb_atlas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
7 changes: 3 additions & 4 deletions .github/workflows/nvidia.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
7 changes: 3 additions & 4 deletions .github/workflows/ollama.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
7 changes: 3 additions & 4 deletions .github/workflows/opensearch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
7 changes: 3 additions & 4 deletions .github/workflows/optimum.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
7 changes: 3 additions & 4 deletions .github/workflows/pgvector.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
7 changes: 3 additions & 4 deletions .github/workflows/pinecone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Loading

0 comments on commit df88694

Please sign in to comment.