mirror of
https://github.com/actions/actions-runner-controller.git
synced 2025-12-12 12:36:55 +00:00
Matrix jobs workflow path update (#2349)
This commit is contained in:
@@ -95,8 +95,8 @@ func TestARCJobs(t *testing.T) {
|
|||||||
dateTime := os.Getenv("DATE_TIME")
|
dateTime := os.Getenv("DATE_TIME")
|
||||||
// We are triggering manually a workflow that already exists in the repo.
|
// 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.
|
// 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"
|
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":"master", "inputs":{"date_time":"%s"}}`, dateTime))
|
jsonStr := []byte(fmt.Sprintf(`{"ref":"main", "inputs":{"date_time":"%s"}}`, dateTime))
|
||||||
|
|
||||||
req, err := http.NewRequest("POST", url, bytes.NewBuffer(jsonStr))
|
req, err := http.NewRequest("POST", url, bytes.NewBuffer(jsonStr))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user