Skip to content

Commit

Permalink
make test payloads target urls more general
Browse files Browse the repository at this point in the history
  • Loading branch information
thatportugueseguy committed Feb 4, 2025
1 parent cda40fd commit 043b0d2
Show file tree
Hide file tree
Showing 39 changed files with 113 additions and 113 deletions.
2 changes: 1 addition & 1 deletion mock_payloads/status.canceled_diff_failed_jobs.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"id": 17813296,
"sha": "7e0a933e9c71b4ca107680ca958ca1888d5e479b",
"name": "ahrefs/monorepo",
"target_url": "https://buildkite.com/ahrefs/pipeline2/builds/181734",
"target_url": "https://buildkite.com/org/pipeline2/builds/181734",
"avatar_url": "https://github.com/avatars/oa/6?",
"context": "buildkite/pipeline2",
"description": "Build #181734 canceled by author (7 minutes, 29 seconds)",
Expand Down
2 changes: 1 addition & 1 deletion mock_payloads/status.canceled_empty_failed_jobs.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"id": 17813296,
"sha": "7e0a933e9c71b4ca107680ca958ca1888d5e479b",
"name": "ahrefs/monorepo",
"target_url": "https://buildkite.com/ahrefs/pipeline2/builds/181734",
"target_url": "https://buildkite.com/org/pipeline2/builds/181734",
"avatar_url": "https://github.com/avatars/oa/6?",
"context": "buildkite/pipeline2",
"description": "Build #181734 canceled by author (7 minutes, 29 seconds)",
Expand Down
2 changes: 1 addition & 1 deletion mock_payloads/status.canceled_no_build_state.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"id": 17813296,
"sha": "7e0a933e9c71b4ca107680ca958ca1888d5e479b",
"name": "ahrefs/monorepo",
"target_url": "https://buildkite.com/ahrefs/pipeline2/builds/181734",
"target_url": "https://buildkite.com/org/pipeline2/builds/181734",
"avatar_url": "https://github.com/avatars/oa/6?",
"context": "buildkite/pipeline2",
"description": "Build #181734 canceled by author (7 minutes, 29 seconds)",
Expand Down
2 changes: 1 addition & 1 deletion mock_payloads/status.commit1-01-failing.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"id": 17813250,
"sha": "7e0a933e9c71b4ca107680ca958ca1888d5e479b",
"name": "ahrefs/monorepo",
"target_url": "https://buildkite.com/ahrefs/pipeline2/builds/181732",
"target_url": "https://buildkite.com/org/pipeline2/builds/181732",
"avatar_url": "https://github.com/avatars/oa/6?",
"context": "buildkite/pipeline2",
"description": "Build #181732 is failing",
Expand Down
2 changes: 1 addition & 1 deletion mock_payloads/status.commit1-02-failed.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"id": 17813296,
"sha": "7e0a933e9c71b4ca107680ca958ca1888d5e479b",
"name": "ahrefs/monorepo",
"target_url": "https://buildkite.com/ahrefs/pipeline2/builds/181732",
"target_url": "https://buildkite.com/org/pipeline2/builds/181732",
"avatar_url": "https://github.com/avatars/oa/6?",
"context": "buildkite/pipeline2",
"description": "Build #181732 failed (7 minutes, 29 seconds)",
Expand Down
2 changes: 1 addition & 1 deletion mock_payloads/status.commit1-02-failed_diff_pipeline.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"id": 17813296,
"sha": "7e0a933e9c71b4ca107680ca958ca1888d5e479b",
"name": "ahrefs/monorepo",
"target_url": "https://buildkite.com/ahrefs/qa/builds/181732",
"target_url": "https://buildkite.com/org/qa/builds/181732",
"avatar_url": "https://github.com/avatars/oa/6?",
"context": "buildkite/qa",
"description": "Build #181732 failed (7 minutes, 29 seconds)",
Expand Down
2 changes: 1 addition & 1 deletion mock_payloads/status.commit1-02-failed_main_branch.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"id": 17813296,
"sha": "7e0a933e9c71b4ca107680ca958ca1888d5e479b",
"name": "ahrefs/monorepo",
"target_url": "https://buildkite.com/ahrefs/pipeline2/builds/181732",
"target_url": "https://buildkite.com/org/pipeline2/builds/181732",
"avatar_url": "https://github.com/avatars/oa/6?",
"context": "buildkite/pipeline2",
"description": "Build #181732 failed (7 minutes, 29 seconds)",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"id": 17813296,
"sha": "7e0a933e9c71b4ca107680ca958ca1888d5e479b",
"name": "ahrefs/monorepo",
"target_url": "https://buildkite.com/ahrefs/bau/builds/181732",
"target_url": "https://buildkite.com/org/bau/builds/181732",
"avatar_url": "https://github.com/avatars/oa/6?",
"context": "buildkite/bau",
"description": "Build #181732 failed (7 minutes, 29 seconds)",
Expand Down
2 changes: 1 addition & 1 deletion mock_payloads/status.failed_diff_failed_jobs.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"id": 17813296,
"sha": "7e0a933e9c71b4ca107680ca958ca1888d5e479b",
"name": "ahrefs/monorepo",
"target_url": "https://buildkite.com/ahrefs/pipeline2/builds/181734",
"target_url": "https://buildkite.com/org/pipeline2/builds/181734",
"avatar_url": "https://github.com/avatars/oa/6?",
"context": "buildkite/pipeline2",
"description": "Build #181734 failed (7 minutes, 29 seconds)",
Expand Down
2 changes: 1 addition & 1 deletion mock_payloads/status.failed_empty_failed_jobs.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"id": 17813296,
"sha": "7e0a933e9c71b4ca107680ca958ca1888d5e479b",
"name": "ahrefs/monorepo",
"target_url": "https://buildkite.com/ahrefs/pipeline2/builds/181734",
"target_url": "https://buildkite.com/org/pipeline2/builds/181734",
"avatar_url": "https://github.com/avatars/oa/6?",
"context": "buildkite/pipeline2",
"description": "Build #181734 failed (7 minutes, 29 seconds)",
Expand Down
2 changes: 1 addition & 1 deletion mock_payloads/status.failed_multiple_branches.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"id": 17813296,
"sha": "7e0a933e9c71b4ca107680ca958ca1888d5e479b",
"name": "ahrefs/monorepo",
"target_url": "https://buildkite.com/ahrefs/pipeline2/builds/181733",
"target_url": "https://buildkite.com/org/pipeline2/builds/181733",
"avatar_url": "https://github.com/avatars/oa/6?",
"context": "buildkite/pipeline2",
"description": "Build #181733 failed (7 minutes, 29 seconds)",
Expand Down
2 changes: 1 addition & 1 deletion mock_payloads/status.failed_no_build_state.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"id": 17813296,
"sha": "7e0a933e9c71b4ca107680ca958ca1888d5e479b",
"name": "ahrefs/monorepo",
"target_url": "https://buildkite.com/ahrefs/pipeline2/builds/181734",
"target_url": "https://buildkite.com/org/pipeline2/builds/181734",
"avatar_url": "https://github.com/avatars/oa/6?",
"context": "buildkite/pipeline2",
"description": "Build #181734 failed (7 minutes, 29 seconds)",
Expand Down
2 changes: 1 addition & 1 deletion mock_payloads/status.failure_test.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"id": 0,
"sha": "0d95302addd66c1816bce1b1d495ed1c93ccd478",
"name": "ahrefs/monorepo",
"target_url": "https://buildkite.com/ahrefs/pipeline2/builds/2",
"target_url": "https://buildkite.com/org/pipeline2/builds/2",
"avatar_url": "https://github.com/avatars/oa/0",
"context": "buildkite/pipeline2",
"description": "Build #2 failed (20 seconds)",
Expand Down
2 changes: 1 addition & 1 deletion mock_payloads/status.failure_test_main_branch.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"id": 0,
"sha": "0d95302addd66c1816bce1b1d495ed1c93ccd478",
"name": "ahrefs/monorepo",
"target_url": "https://buildkite.com/ahrefs/pipeline2/builds/2",
"target_url": "https://buildkite.com/org/pipeline2/builds/2",
"avatar_url": "https://github.com/avatars/oa/0",
"context": "buildkite/pipeline2",
"description": "Build #2 failed (20 seconds)",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"id": 0,
"sha": "0d95302addd66c1816bce1b1d495ed1c93ccd478",
"name": "ahrefs/monorepo",
"target_url": "https://buildkite.com/ahrefs/bau/builds/2",
"target_url": "https://buildkite.com/org/bau/builds/2",
"avatar_url": "https://github.com/avatars/oa/0",
"context": "buildkite/bau",
"description": "Build #2 failed (20 seconds)",
Expand Down
2 changes: 1 addition & 1 deletion mock_payloads/status.merge_develop.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"id": 0,
"sha": "2129f69a03641c39dfeb8e928cc08d7a8d029c6b",
"name": "ahrefs/monorepo",
"target_url": "https://buildkite.com/ahrefs/pipeline1/builds/23670",
"target_url": "https://buildkite.com/org/pipeline1/builds/23670",
"avatar_url": "https://github.com/avatars/oa/0",
"context": "buildkite/pipeline1",
"description": "Build #23670 canceled by Max",
Expand Down
2 changes: 1 addition & 1 deletion mock_payloads/status.missing_author.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"id": 0,
"sha": "2129f69a03641c39dfeb8e928cc08d7a8d029c6b",
"name": "ahrefs/monorepo",
"target_url": "https://buildkite.com/ahrefs/pipeline1/builds/23670",
"target_url": "https://buildkite.com/org/pipeline1/builds/23670",
"avatar_url": "https://github.com/avatars/oa/0",
"context": "buildkite/pipeline1",
"description": "Build #23670 canceled by Max",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"id": 0,
"sha": "0d95302addd66c1816bce1b1d495ed1c93ccd478",
"name": "ahrefs/monorepo",
"target_url": "https://buildkite.com/ahrefs/pipeline3/builds/2",
"target_url": "https://buildkite.com/org/pipeline3/builds/2",
"avatar_url": "https://github.com/avatars/oa/0",
"context": "buildkite/pipeline3",
"description": "Build #2 passed (5 minutes, 19 seconds)",
Expand Down
12 changes: 6 additions & 6 deletions mock_states/status.canceled_diff_failed_jobs.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"181732": {
"status": "failure",
"build_number": "181732",
"build_url": "https://buildkite.com/ahrefs/pipeline2/builds/181732",
"build_url": "https://buildkite.com/org/pipeline2/builds/181732",
"commit": {
"sha": "7e0a933e9c71b4ca107680ca958ca1888d5e479b",
"author": "author@ahrefs.com",
Expand All @@ -15,11 +15,11 @@
"failed_steps": [
{
"name": "buildkite/pipeline2/fail",
"build_url": "https://buildkite.com/ahrefs/pipeline2/builds/181732#0192347d-e4ee-4072-9da4-f441eeb65ed4"
"build_url": "https://buildkite.com/org/pipeline2/builds/181732#0192347d-e4ee-4072-9da4-f441eeb65ed4"
},
{
"name": "buildkite/pipeline2/trigger-infra",
"build_url": "https://buildkite.com/ahrefs/pipeline2/builds/181732#0192347d-e4ee-4072-9da4-f441eeb65ed4"
"build_url": "https://buildkite.com/org/pipeline2/builds/181732#0192347d-e4ee-4072-9da4-f441eeb65ed4"
}
],
"created_at": "2024-06-02T04:57:47+00:00",
Expand All @@ -28,7 +28,7 @@
"181734": {
"status": "pending",
"build_number": "181734",
"build_url": "https://buildkite.com/ahrefs/pipeline2/builds/181734",
"build_url": "https://buildkite.com/org/pipeline2/builds/181734",
"commit": {
"sha": "7e0a933e9c71b4ca107680ca958ca1888d5e479b",
"author": "author@ahrefs.com",
Expand All @@ -44,7 +44,7 @@
"181733": {
"status": "pending",
"build_number": "181733",
"build_url": "https://buildkite.com/ahrefs/pipeline2/builds/181733",
"build_url": "https://buildkite.com/org/pipeline2/builds/181733",
"commit": {
"sha": "7e0a933e9c71b4ca107680ca958ca1888d5e479b",
"author": "author@ahrefs.com",
Expand All @@ -54,7 +54,7 @@
"failed_steps": [
{
"name": "buildkite/pipeline2/failed-step",
"build_url": "https://buildkite.com/ahrefs/pipeline2/builds/181733#0192347d-e4ee-4072-9da4-f441eeb65ed4"
"build_url": "https://buildkite.com/org/pipeline2/builds/181733#0192347d-e4ee-4072-9da4-f441eeb65ed4"
}
],
"created_at": "2024-06-02T04:57:47+00:00",
Expand Down
10 changes: 5 additions & 5 deletions mock_states/status.canceled_empty_failed_jobs.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"181732": {
"status": "failure",
"build_number": "181732",
"build_url": "https://buildkite.com/ahrefs/pipeline2/builds/181732",
"build_url": "https://buildkite.com/org/pipeline2/builds/181732",
"commit": {
"sha": "7e0a933e9c71b4ca107680ca958ca1888d5e479b",
"author": "author@ahrefs.com",
Expand All @@ -15,7 +15,7 @@
"failed_steps": [
{
"name": "buildkite/pipeline2/failed-step",
"build_url": "https://buildkite.com/ahrefs/pipeline2/builds/181732#0192347d-e4ee-4072-9da4-f441eeb65ed4"
"build_url": "https://buildkite.com/org/pipeline2/builds/181732#0192347d-e4ee-4072-9da4-f441eeb65ed4"
}
],
"created_at": "2024-06-02T04:57:47+00:00",
Expand All @@ -24,7 +24,7 @@
"181734": {
"status": "pending",
"build_number": "181734",
"build_url": "https://buildkite.com/ahrefs/pipeline2/builds/181734",
"build_url": "https://buildkite.com/org/pipeline2/builds/181734",
"commit": {
"sha": "7e0a933e9c71b4ca107680ca958ca1888d5e479b",
"author": "author@ahrefs.com",
Expand All @@ -40,7 +40,7 @@
"181733": {
"status": "pending",
"build_number": "181733",
"build_url": "https://buildkite.com/ahrefs/pipeline2/builds/181733",
"build_url": "https://buildkite.com/org/pipeline2/builds/181733",
"commit": {
"sha": "7e0a933e9c71b4ca107680ca958ca1888d5e479b",
"author": "author@ahrefs.com",
Expand All @@ -50,7 +50,7 @@
"failed_steps": [
{
"name": "buildkite/pipeline2/failed-step",
"build_url": "https://buildkite.com/ahrefs/pipeline2/builds/181733#0192347d-e4ee-4072-9da4-f441eeb65ed4"
"build_url": "https://buildkite.com/org/pipeline2/builds/181733#0192347d-e4ee-4072-9da4-f441eeb65ed4"
}
],
"created_at": "2024-06-02T04:57:47+00:00",
Expand Down
8 changes: 4 additions & 4 deletions mock_states/status.canceled_no_build_state.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"181732": {
"status": "failure",
"build_number": "181732",
"build_url": "https://buildkite.com/ahrefs/pipeline2/builds/181732",
"build_url": "https://buildkite.com/org/pipeline2/builds/181732",
"commit": {
"sha": "7e0a933e9c71b4ca107680ca958ca1888d5e479b",
"author": "author@ahrefs.com",
Expand All @@ -15,7 +15,7 @@
"failed_steps": [
{
"name": "buildkite/pipeline2/failed-step",
"build_url": "https://buildkite.com/ahrefs/pipeline2/builds/181732#0192347d-e4ee-4072-9da4-f441eeb65ed4"
"build_url": "https://buildkite.com/org/pipeline2/builds/181732#0192347d-e4ee-4072-9da4-f441eeb65ed4"
}
],
"created_at": "2024-06-02T04:57:47+00:00",
Expand All @@ -26,7 +26,7 @@
"181733": {
"status": "pending",
"build_number": "181733",
"build_url": "https://buildkite.com/ahrefs/pipeline2/builds/181733",
"build_url": "https://buildkite.com/org/pipeline2/builds/181733",
"commit": {
"sha": "7e0a933e9c71b4ca107680ca958ca1888d5e479b",
"author": "author@ahrefs.com",
Expand All @@ -36,7 +36,7 @@
"failed_steps": [
{
"name": "buildkite/pipeline2/failed-step",
"build_url": "https://buildkite.com/ahrefs/pipeline2/builds/181733#0192347d-e4ee-4072-9da4-f441eeb65ed4"
"build_url": "https://buildkite.com/org/pipeline2/builds/181733#0192347d-e4ee-4072-9da4-f441eeb65ed4"
}
],
"created_at": "2024-06-02T04:57:47+00:00",
Expand Down
4 changes: 2 additions & 2 deletions mock_states/status.commit1-02-failed.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"181732": {
"status": "pending",
"build_number": "181732",
"build_url": "https://buildkite.com/ahrefs/pipeline2/builds/181732",
"build_url": "https://buildkite.com/org/pipeline2/builds/181732",
"commit": {
"sha": "7e0a933e9c71b4ca107680ca958ca1888d5e479b",
"author": "author@ahrefs.com",
Expand All @@ -15,7 +15,7 @@
"failed_steps": [
{
"name": "pipeline2/failed-step",
"build_url": "https://buildkite.com/ahrefs/pipeline2/builds/181732#0192347d-e4ee-4072-9da4-f441eeb65ed4"
"build_url": "https://buildkite.com/org/pipeline2/builds/181732#0192347d-e4ee-4072-9da4-f441eeb65ed4"
}
],
"created_at": "2024-06-02T04:57:47+00:00",
Expand Down
4 changes: 2 additions & 2 deletions mock_states/status.commit1-02-failed_diff_pipeline.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"181732": {
"status": "failure",
"build_number": "181732",
"build_url": "https://buildkite.com/ahrefs/qa/builds/181732",
"build_url": "https://buildkite.com/org/qa/builds/181732",
"commit": {
"sha": "7e0a933e9c71b4ca107680ca958ca1888d5e479b",
"author": "author@ahrefs.com",
Expand All @@ -15,7 +15,7 @@
"failed_steps": [
{
"name": "qa/failed-step",
"build_url": "https://buildkite.com/ahrefs/qa/builds/181732#0192347d-e4ee-4072-9da4-f441eeb65ed4"
"build_url": "https://buildkite.com/org/qa/builds/181732#0192347d-e4ee-4072-9da4-f441eeb65ed4"
}
],
"created_at": "2024-06-02T04:57:47+00:00",
Expand Down
4 changes: 2 additions & 2 deletions mock_states/status.commit1-02-failed_main_branch.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"181732": {
"status": "pending",
"build_number": "181732",
"build_url": "https://buildkite.com/ahrefs/pipeline2/builds/181732",
"build_url": "https://buildkite.com/org/pipeline2/builds/181732",
"commit": {
"sha": "7e0a933e9c71b4ca107680ca958ca1888d5e479b",
"author": "author@ahrefs.com",
Expand All @@ -15,7 +15,7 @@
"failed_steps": [
{
"name": "pipeline2/failed-step",
"build_url": "https://buildkite.com/ahrefs/pipeline2/builds/181732#0192347d-e4ee-4072-9da4-f441eeb65ed4"
"build_url": "https://buildkite.com/org/pipeline2/builds/181732#0192347d-e4ee-4072-9da4-f441eeb65ed4"
}
],
"created_at": "2024-06-02T04:57:47+00:00",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"181732": {
"status": "pending",
"build_number": "181732",
"build_url": "https://buildkite.com/ahrefs/bau/builds/181732",
"build_url": "https://buildkite.com/org/bau/builds/181732",
"commit": {
"sha": "7e0a933e9c71b4ca107680ca958ca1888d5e479b",
"author": "author@ahrefs.com",
Expand All @@ -15,7 +15,7 @@
"failed_steps": [
{
"name": "bau/failed-step",
"build_url": "https://buildkite.com/ahrefs/bau/builds/181732#0192347d-e4ee-4072-9da4-f441eeb65ed4"
"build_url": "https://buildkite.com/org/bau/builds/181732#0192347d-e4ee-4072-9da4-f441eeb65ed4"
}
],
"created_at": "2024-06-02T04:57:47+00:00",
Expand Down
Loading

0 comments on commit 043b0d2

Please sign in to comment.