test: remove dependency from community trigger
This commit is contained in:
parent
e92d8f57b5
commit
601f74db4f
1 changed files with 12 additions and 14 deletions
26
.github/workflows/release_test.yml
vendored
26
.github/workflows/release_test.yml
vendored
|
|
@ -14,6 +14,18 @@ on:
|
|||
- main
|
||||
|
||||
jobs:
|
||||
trigger-community-test-suite:
|
||||
if: ${{ inputs.flavour == 'main' }}
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- name: Trigger community tests
|
||||
run: |
|
||||
curl -L -X POST \
|
||||
-H "Accept: application/vnd.github+json" \
|
||||
-H "Authorization: Bearer ${{ secrets.REPO_DISPATCH_PAT_TOKEN }}" \
|
||||
-H "X-GitHub-Api-Version: 2022-11-28" \
|
||||
https://api.github.com/repos/topoteretes/cognee-community/dispatches \
|
||||
-d '{"event_type":"new-main-release","client_payload":{"caller_repo":"'"${GITHUB_REPOSITORY}"'"}}'
|
||||
# load-tests:
|
||||
# name: Load Tests
|
||||
# uses: ./.github/workflows/load_tests.yml
|
||||
|
|
@ -30,17 +42,3 @@ jobs:
|
|||
# -H "X-GitHub-Api-Version: 2022-11-28" \
|
||||
# https://api.github.com/repos/topoteretes/cognee-docs/dispatches \
|
||||
# -d '{"event_type":"new-main-release","client_payload":{"caller_repo":"'"${GITHUB_REPOSITORY}"'"}}'
|
||||
|
||||
trigger-community-test-suite:
|
||||
needs: release-pypi-package
|
||||
if: ${{ inputs.flavour == 'main' }}
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- name: Trigger community tests
|
||||
run: |
|
||||
curl -L -X POST \
|
||||
-H "Accept: application/vnd.github+json" \
|
||||
-H "Authorization: Bearer ${{ secrets.REPO_DISPATCH_PAT_TOKEN }}" \
|
||||
-H "X-GitHub-Api-Version: 2022-11-28" \
|
||||
https://api.github.com/repos/topoteretes/cognee-community/dispatches \
|
||||
-d '{"event_type":"new-main-release","client_payload":{"caller_repo":"'"${GITHUB_REPOSITORY}"'"}}'
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue