Skip to content

Commit

Permalink
update all integrations
Browse files Browse the repository at this point in the history
  • Loading branch information
anakin87 committed Mar 14, 2024
1 parent 7fe1bc0 commit 5b1f407
Show file tree
Hide file tree
Showing 26 changed files with 454 additions and 53 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/amazon_bedrock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,26 @@ jobs:
role-to-assume: ${{ secrets.AWS_CI_ROLE_ARN }}

- name: Run tests
id: tests
run: hatch run cov

- name: Send event to Datadog for nightly failures
if: failure() && github.event_name == 'schedule' && steps.tests.conclusion == 'failure'
uses: ./.github/actions/send_failure
with:
title: "core-integrations failure: ${{ github.workflow }}"
api-key: ${{ secrets.CORE_DATADOG_API_KEY }}

- name: Nightly - run unit tests with Haystack main branch
if: github.event_name == 'schedule'
id: nightly-haystack-main
run: |
hatch run pip install git+https://github.com/deepset-ai/haystack.git
hatch run test -m "not integration"
- name: Send event to Datadog for nightly failures using Haystack main branch
if: failure() && github.event_name == 'schedule' && steps.nightly-haystack-main.conclusion == 'failure'
uses: ./.github/actions/send_failure
with:
title: "core-integrations failure using Haystack main branch: ${{ github.workflow }}"
api-key: ${{ secrets.CORE_DATADOG_API_KEY }}
22 changes: 22 additions & 0 deletions .github/workflows/amazon_sagemaker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,26 @@ jobs:
run: hatch run docs

- name: Run tests
id: tests
run: hatch run cov

- name: Send event to Datadog for nightly failures
if: failure() && github.event_name == 'schedule' && steps.tests.conclusion == 'failure'
uses: ./.github/actions/send_failure
with:
title: "core-integrations failure: ${{ github.workflow }}"
api-key: ${{ secrets.CORE_DATADOG_API_KEY }}

- name: Nightly - run unit tests with Haystack main branch
if: github.event_name == 'schedule'
id: nightly-haystack-main
run: |
hatch run pip install git+https://github.com/deepset-ai/haystack.git
hatch run test -m "not integration"
- name: Send event to Datadog for nightly failures using Haystack main branch
if: failure() && github.event_name == 'schedule' && steps.nightly-haystack-main.conclusion == 'failure'
uses: ./.github/actions/send_failure
with:
title: "core-integrations failure using Haystack main branch: ${{ github.workflow }}"
api-key: ${{ secrets.CORE_DATADOG_API_KEY }}
19 changes: 17 additions & 2 deletions .github/workflows/astra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,26 @@ jobs:
env:
ASTRA_DB_API_ENDPOINT: ${{ secrets.ASTRA_API_ENDPOINT }}
ASTRA_DB_APPLICATION_TOKEN: ${{ secrets.ASTRA_TOKEN }}
id: tests
run: hatch run cov

- name: Send event to Datadog for nightly failures
if: github.event_name == 'schedule' && failure()
if: failure() && github.event_name == 'schedule' && steps.tests.conclusion == 'failure'
uses: ./.github/actions/send_failure
with:
title: "core-integrations nightly failure: ${{ github.workflow }}"
title: "core-integrations failure: ${{ github.workflow }}"
api-key: ${{ secrets.CORE_DATADOG_API_KEY }}

- name: Nightly - run unit tests with Haystack main branch
if: github.event_name == 'schedule'
id: nightly-haystack-main
run: |
hatch run pip install git+https://github.com/deepset-ai/haystack.git
hatch run test -m "not integration"
- name: Send event to Datadog for nightly failures using Haystack main branch
if: failure() && github.event_name == 'schedule' && steps.nightly-haystack-main.conclusion == 'failure'
uses: ./.github/actions/send_failure
with:
title: "core-integrations failure using Haystack main branch: ${{ github.workflow }}"
api-key: ${{ secrets.CORE_DATADOG_API_KEY }}
19 changes: 17 additions & 2 deletions .github/workflows/chroma.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,26 @@ jobs:
run: hatch run docs

- name: Run tests
id: tests
run: hatch run cov

- name: Send event to Datadog for nightly failures
if: github.event_name == 'schedule' && failure()
if: failure() && github.event_name == 'schedule' && steps.tests.conclusion == 'failure'
uses: ./.github/actions/send_failure
with:
title: "core-integrations nightly failure: ${{ github.workflow }}"
title: "core-integrations failure: ${{ github.workflow }}"
api-key: ${{ secrets.CORE_DATADOG_API_KEY }}

- name: Nightly - run unit tests with Haystack main branch
if: github.event_name == 'schedule'
id: nightly-haystack-main
run: |
hatch run pip install git+https://github.com/deepset-ai/haystack.git
hatch run test -m "not integration"
- name: Send event to Datadog for nightly failures using Haystack main branch
if: failure() && github.event_name == 'schedule' && steps.nightly-haystack-main.conclusion == 'failure'
uses: ./.github/actions/send_failure
with:
title: "core-integrations failure using Haystack main branch: ${{ github.workflow }}"
api-key: ${{ secrets.CORE_DATADOG_API_KEY }}
19 changes: 17 additions & 2 deletions .github/workflows/cohere.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,26 @@ jobs:
run: hatch run lint:all

- name: Run tests
id: tests
run: hatch run cov

- name: Send event to Datadog for nightly failures
if: github.event_name == 'schedule' && failure()
if: failure() && github.event_name == 'schedule' && steps.tests.conclusion == 'failure'
uses: ./.github/actions/send_failure
with:
title: "core-integrations nightly failure: ${{ github.workflow }}"
title: "core-integrations failure: ${{ github.workflow }}"
api-key: ${{ secrets.CORE_DATADOG_API_KEY }}

- name: Nightly - run unit tests with Haystack main branch
if: github.event_name == 'schedule'
id: nightly-haystack-main
run: |
hatch run pip install git+https://github.com/deepset-ai/haystack.git
hatch run test -m "not integration"
- name: Send event to Datadog for nightly failures using Haystack main branch
if: failure() && github.event_name == 'schedule' && steps.nightly-haystack-main.conclusion == 'failure'
uses: ./.github/actions/send_failure
with:
title: "core-integrations failure using Haystack main branch: ${{ github.workflow }}"
api-key: ${{ secrets.CORE_DATADOG_API_KEY }}
19 changes: 17 additions & 2 deletions .github/workflows/deepeval.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,26 @@ jobs:
run: hatch run docs

- name: Run tests
id: tests
run: hatch run cov

- name: Send event to Datadog for nightly failures
if: github.event_name == 'schedule' && failure()
if: failure() && github.event_name == 'schedule' && steps.tests.conclusion == 'failure'
uses: ./.github/actions/send_failure
with:
title: "core-integrations nightly failure: ${{ github.workflow }}"
title: "core-integrations failure: ${{ github.workflow }}"
api-key: ${{ secrets.CORE_DATADOG_API_KEY }}

- name: Nightly - run unit tests with Haystack main branch
if: github.event_name == 'schedule'
id: nightly-haystack-main
run: |
hatch run pip install git+https://github.com/deepset-ai/haystack.git
hatch run test -m "not integration"
- name: Send event to Datadog for nightly failures using Haystack main branch
if: failure() && github.event_name == 'schedule' && steps.nightly-haystack-main.conclusion == 'failure'
uses: ./.github/actions/send_failure
with:
title: "core-integrations failure using Haystack main branch: ${{ github.workflow }}"
api-key: ${{ secrets.CORE_DATADOG_API_KEY }}
19 changes: 17 additions & 2 deletions .github/workflows/elasticsearch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,26 @@ jobs:
run: hatch run docs

- name: Run tests
id: tests
run: hatch run cov

- name: Send event to Datadog for nightly failures
if: github.event_name == 'schedule' && failure()
if: failure() && github.event_name == 'schedule' && steps.tests.conclusion == 'failure'
uses: ./.github/actions/send_failure
with:
title: "core-integrations nightly failure: ${{ github.workflow }}"
title: "core-integrations failure: ${{ github.workflow }}"
api-key: ${{ secrets.CORE_DATADOG_API_KEY }}

- name: Nightly - run unit tests with Haystack main branch
if: github.event_name == 'schedule'
id: nightly-haystack-main
run: |
hatch run pip install git+https://github.com/deepset-ai/haystack.git
hatch run test -m "not integration"
- name: Send event to Datadog for nightly failures using Haystack main branch
if: failure() && github.event_name == 'schedule' && steps.nightly-haystack-main.conclusion == 'failure'
uses: ./.github/actions/send_failure
with:
title: "core-integrations failure using Haystack main branch: ${{ github.workflow }}"
api-key: ${{ secrets.CORE_DATADOG_API_KEY }}
19 changes: 17 additions & 2 deletions .github/workflows/google_ai.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,26 @@ jobs:
run: hatch run docs

- name: Run tests
id: tests
run: hatch run cov

- name: Send event to Datadog for nightly failures
if: github.event_name == 'schedule' && failure()
if: failure() && github.event_name == 'schedule' && steps.tests.conclusion == 'failure'
uses: ./.github/actions/send_failure
with:
title: "core-integrations nightly failure: ${{ github.workflow }}"
title: "core-integrations failure: ${{ github.workflow }}"
api-key: ${{ secrets.CORE_DATADOG_API_KEY }}

- name: Nightly - run unit tests with Haystack main branch
if: github.event_name == 'schedule'
id: nightly-haystack-main
run: |
hatch run pip install git+https://github.com/deepset-ai/haystack.git
hatch run test -m "not integration"
- name: Send event to Datadog for nightly failures using Haystack main branch
if: failure() && github.event_name == 'schedule' && steps.nightly-haystack-main.conclusion == 'failure'
uses: ./.github/actions/send_failure
with:
title: "core-integrations failure using Haystack main branch: ${{ github.workflow }}"
api-key: ${{ secrets.CORE_DATADOG_API_KEY }}
19 changes: 17 additions & 2 deletions .github/workflows/google_vertex.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,26 @@ jobs:
run: hatch run docs

- name: Run tests
id: tests
run: hatch run cov

- name: Send event to Datadog for nightly failures
if: github.event_name == 'schedule' && failure()
if: failure() && github.event_name == 'schedule' && steps.tests.conclusion == 'failure'
uses: ./.github/actions/send_failure
with:
title: "core-integrations nightly failure: ${{ github.workflow }}"
title: "core-integrations failure: ${{ github.workflow }}"
api-key: ${{ secrets.CORE_DATADOG_API_KEY }}

- name: Nightly - run unit tests with Haystack main branch
if: github.event_name == 'schedule'
id: nightly-haystack-main
run: |
hatch run pip install git+https://github.com/deepset-ai/haystack.git
hatch run test -m "not integration"
- name: Send event to Datadog for nightly failures using Haystack main branch
if: failure() && github.event_name == 'schedule' && steps.nightly-haystack-main.conclusion == 'failure'
uses: ./.github/actions/send_failure
with:
title: "core-integrations failure using Haystack main branch: ${{ github.workflow }}"
api-key: ${{ secrets.CORE_DATADOG_API_KEY }}
19 changes: 17 additions & 2 deletions .github/workflows/gradient.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,26 @@ jobs:
run: hatch run docs

- name: Run tests
id: tests
run: hatch run cov

- name: Send event to Datadog for nightly failures
if: github.event_name == 'schedule' && failure()
if: failure() && github.event_name == 'schedule' && steps.tests.conclusion == 'failure'
uses: ./.github/actions/send_failure
with:
title: "core-integrations nightly failure: ${{ github.workflow }}"
title: "core-integrations failure: ${{ github.workflow }}"
api-key: ${{ secrets.CORE_DATADOG_API_KEY }}

- name: Nightly - run unit tests with Haystack main branch
if: github.event_name == 'schedule'
id: nightly-haystack-main
run: |
hatch run pip install git+https://github.com/deepset-ai/haystack.git
hatch run test -m "not integration"
- name: Send event to Datadog for nightly failures using Haystack main branch
if: failure() && github.event_name == 'schedule' && steps.nightly-haystack-main.conclusion == 'failure'
uses: ./.github/actions/send_failure
with:
title: "core-integrations failure using Haystack main branch: ${{ github.workflow }}"
api-key: ${{ secrets.CORE_DATADOG_API_KEY }}
19 changes: 17 additions & 2 deletions .github/workflows/instructor_embedders.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,26 @@ jobs:
run: hatch run docs

- name: Run tests
id: tests
run: hatch run cov

- name: Send event to Datadog for nightly failures
if: github.event_name == 'schedule' && failure()
if: failure() && github.event_name == 'schedule' && steps.tests.conclusion == 'failure'
uses: ./.github/actions/send_failure
with:
title: "core-integrations nightly failure: ${{ github.workflow }}"
title: "core-integrations failure: ${{ github.workflow }}"
api-key: ${{ secrets.CORE_DATADOG_API_KEY }}

- name: Nightly - run unit tests with Haystack main branch
if: github.event_name == 'schedule'
id: nightly-haystack-main
run: |
hatch run pip install git+https://github.com/deepset-ai/haystack.git
hatch run test -m "not integration"
- name: Send event to Datadog for nightly failures using Haystack main branch
if: failure() && github.event_name == 'schedule' && steps.nightly-haystack-main.conclusion == 'failure'
uses: ./.github/actions/send_failure
with:
title: "core-integrations failure using Haystack main branch: ${{ github.workflow }}"
api-key: ${{ secrets.CORE_DATADOG_API_KEY }}
19 changes: 17 additions & 2 deletions .github/workflows/jina.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,26 @@ jobs:
run: hatch run docs

- name: Run tests
id: tests
run: hatch run cov

- name: Send event to Datadog for nightly failures
if: github.event_name == 'schedule' && failure()
if: failure() && github.event_name == 'schedule' && steps.tests.conclusion == 'failure'
uses: ./.github/actions/send_failure
with:
title: "core-integrations nightly failure: ${{ github.workflow }}"
title: "core-integrations failure: ${{ github.workflow }}"
api-key: ${{ secrets.CORE_DATADOG_API_KEY }}

- name: Nightly - run unit tests with Haystack main branch
if: github.event_name == 'schedule'
id: nightly-haystack-main
run: |
hatch run pip install git+https://github.com/deepset-ai/haystack.git
hatch run test -m "not integration"
- name: Send event to Datadog for nightly failures using Haystack main branch
if: failure() && github.event_name == 'schedule' && steps.nightly-haystack-main.conclusion == 'failure'
uses: ./.github/actions/send_failure
with:
title: "core-integrations failure using Haystack main branch: ${{ github.workflow }}"
api-key: ${{ secrets.CORE_DATADOG_API_KEY }}
19 changes: 17 additions & 2 deletions .github/workflows/llama_cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,26 @@ jobs:
run: hatch run docs

- name: Run tests
id: tests
run: hatch run cov

- name: Send event to Datadog for nightly failures
if: github.event_name == 'schedule' && failure()
if: failure() && github.event_name == 'schedule' && steps.tests.conclusion == 'failure'
uses: ./.github/actions/send_failure
with:
title: "core-integrations nightly failure: ${{ github.workflow }}"
title: "core-integrations failure: ${{ github.workflow }}"
api-key: ${{ secrets.CORE_DATADOG_API_KEY }}

- name: Nightly - run unit tests with Haystack main branch
if: github.event_name == 'schedule'
id: nightly-haystack-main
run: |
hatch run pip install git+https://github.com/deepset-ai/haystack.git
hatch run test -m "not integration"
- name: Send event to Datadog for nightly failures using Haystack main branch
if: failure() && github.event_name == 'schedule' && steps.nightly-haystack-main.conclusion == 'failure'
uses: ./.github/actions/send_failure
with:
title: "core-integrations failure using Haystack main branch: ${{ github.workflow }}"
api-key: ${{ secrets.CORE_DATADOG_API_KEY }}
Loading

0 comments on commit 5b1f407

Please sign in to comment.