Matrix jobs workflow path update (#2349)
This commit is contained in:
parent
a4751b74e0
commit
0c091f59b6
|
|
@ -95,8 +95,8 @@ func TestARCJobs(t *testing.T) {
|
|||
dateTime := os.Getenv("DATE_TIME")
|
||||
// We are triggering manually a workflow that already exists in the repo.
|
||||
// This workflow is expected to spin up a number of runner pods matching the runners value set in podCountsByType.
|
||||
url := "https://api.github.com/repos/actions/actions-runner-controller/actions/workflows/e2e-test-dispatch-workflow.yaml/dispatches"
|
||||
jsonStr := []byte(fmt.Sprintf(`{"ref":"master", "inputs":{"date_time":"%s"}}`, dateTime))
|
||||
url := "https://api.github.com/repos/actions-runner-controller/arc_e2e_test_dummy/actions/workflows/e2e-test-dispatch-workflow.yaml/dispatches"
|
||||
jsonStr := []byte(fmt.Sprintf(`{"ref":"main", "inputs":{"date_time":"%s"}}`, dateTime))
|
||||
|
||||
req, err := http.NewRequest("POST", url, bytes.NewBuffer(jsonStr))
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Reference in New Issue