forked from kubeflow/sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
28 lines (26 loc) · 925 Bytes
/
test-workflow.yaml
File metadata and controls
28 lines (26 loc) · 925 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: Trigger SDK E2E Tests on PR
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
branches:
- main
jobs:
trigger-remote-e2e:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Trigger remote E2E test runner
uses: peter-evans/repository-dispatch@v3
with:
token: ${{ secrets.KUBEFLOW_E2E_DISPATCH_TOKEN }}
repository: Fiona-Waters/kubeflow-devx-post-merge-tests
event-type: run-sdk-pr-e2e-tests
client-payload: '{
"sdk_repo": "${{ github.repository }}",
"sdk_ref": "${{ github.event.pull_request.head.ref }}",
"sdk_sha": "${{ github.event.pull_request.head.sha }}",
"training_operator_repo_owner": "opendatahub-io",
"training_operator_repo_name": "training-operator",
"training_operator_ref": "dev"
}'