Skip to content

Commit

Permalink
send if node modified (#1701)
Browse files Browse the repository at this point in the history
  • Loading branch information
lferran authored Jan 3, 2024
1 parent 1b1a066 commit 8ad4b5e
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
22 changes: 21 additions & 1 deletion .github/workflows/nucliadb_performance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,33 @@ jobs:
name: Trigger Internal Performance Tests
runs-on: ubuntu-latest
steps:

- name: Checkout repository
uses: actions/checkout@v3

- name: Compute if node was modified
uses: dorny/paths-filter@v2
id: filter
with:
filters: |
node_modified:
- 'nucliadb_core/**'
- 'nucliadb_node/src/**'
- 'nucliadb_paragraphs/**'
- 'nucliadb_procs/**'
- 'nucliadb_relations/**'
- 'nucliadb_relations2/**'
- 'nucliadb_telemetry/**'
- 'nucliadb_texts/**'
- 'nucliadb_vectors/**'
- name: Repository Dispatch
uses: peter-evans/repository-dispatch@v2
with:
token: ${{ secrets.GH_CICD_PUBLIC }}
repository: nuclia/nucliadb_deploy
event-type: performance-tests
client-payload: '{"nucliadb_checkout_id": "${{ github.sha }}"}'
client-payload: '{"nucliadb_checkout_id": "${{ github.sha }}", "build_node_bindings": ${{ steps.filter.outputs.node_modified }}}'

check-perf-main-nightly:
if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8ad4b5e

Please sign in to comment.