Skip to content

Commit

Permalink
update state and fix test status.failure_test
Browse files Browse the repository at this point in the history
  • Loading branch information
thatportugueseguy committed Sep 28, 2024
1 parent 771ac0e commit e297f1d
Show file tree
Hide file tree
Showing 8 changed files with 634 additions and 13 deletions.
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/org/pipeline2/builds/2",
"target_url": "https://buildkite.com/org/pipeline2/builds/2#0192341c-4f46-4bfc-82ab-48415b146f40",
"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_states/status.commit1-02-failed-multiple.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"pipeline_statuses": {
"buildkite/pipeline2": {
"master": {
"author/patches/js-storage": {
"status": "failure",
"original_failed_commit": {
"sha": "7e0a933e9c71b4ca107680ca958ca1888d5e479b",
Expand Down
2 changes: 1 addition & 1 deletion mock_states/status.commit1-02-failed.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"pipeline_statuses": {
"buildkite/pipeline2": {
"master": {
"author/patches/js-storage": {
"status": "failure",
"original_failed_commit": {
"sha": "7e0a933e9c71b4ca107680ca958ca1888d5e479b",
Expand Down
40 changes: 40 additions & 0 deletions mock_states/status.failure_test.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"pipeline_statuses": {
"buildkite/pipeline2": {
"master": {
"status": "failure",
"original_failed_commit": {
"sha": "0d95302addd66c1816bce1b1d495ed1c93ccd478",
"author": "[email protected]",
"commit_message": "Update README.md",
"build_link": [
"Some",
"https://buildkite.com/org/pipeline2/builds/2#0192341c-4f46-4bfc-82ab-48415b146f40"
],
"last_updated": "2024-06-02T04:57:47+00:00"
}
}
},
"buildkite/pipeline2/failed-step": {
"master": {
"status": "failure",
"original_failed_commit": {
"sha": "0d95302addd66c1816bce1b1d495ed1c93ccd478",
"author": "[email protected]",
"commit_message": "Update README.md",
"build_link": [
"Some",
"https://buildkite.com/org/pipeline2/builds/2#0192341c-4f46-4bfc-82ab-48415b146f40"
],
"last_updated": "2024-06-02T04:57:47+00:00"
}
}
}
},
"pipeline_commits": {
"buildkite/pipeline2": {
"s1": ["0d95302addd66c1816bce1b1d495ed1c93ccd478"],
"s2": []
}
}
}
65 changes: 65 additions & 0 deletions new.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
{
"repos": {
"https://github.com/thatportugueseguy/buildkite-starter": {
"pipeline_statuses": {
"buildkite/buildkite-tests": {
"develop": {
"status": "failure",
"original_failed_commit": {
"sha": "eb536c3fd3290665fdad69d2f78711625f9144a9",
"author": "[email protected]",
"commit_message": "sdfwsd",
"build_link": [
"Some",
"https://buildkite.com/monorobot-tests/buildkite-tests/builds/92"
],
"last_updated": "2024-09-27T17:19:10+00:00"
}
}
},
"buildkite/buildkite-tests/another-fail": {
"develop": { "status": "success" }
},
"buildkite/buildkite-tests/build": {
"develop": { "status": "success" }
},
"buildkite/buildkite-tests/deploy": {
"develop": { "status": "success" }
},
"buildkite/buildkite-tests/fail": {
"develop": { "status": "success" }
},
"buildkite/buildkite-tests/fail-again": {
"develop": { "status": "success" }
},
"buildkite/buildkite-tests/pipeline": {
"develop": { "status": "success" }
},
"buildkite/buildkite-tests/test": {
"develop": { "status": "success" }
},
"buildkite/buildkite-tests/test-fail": {
"develop": {
"status": "failure",
"original_failed_commit": {
"sha": "eb536c3fd3290665fdad69d2f78711625f9144a9",
"author": "[email protected]",
"commit_message": "sdfwsd",
"build_link": [
"Some",
"https://buildkite.com/monorobot-tests/buildkite-tests/builds/92#0192347d-e4ee-4072-9da4-f441eeb65ed4"
],
"last_updated": "2024-09-27T17:18:54+00:00"
}
}
}
},
"pipeline_commits": {
"buildkite/buildkite-tests": {
"s1": [ "eb536c3fd3290665fdad69d2f78711625f9144a9" ],
"s2": []
}
}
}
}
}
65 changes: 65 additions & 0 deletions sdfsstate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
{
"repos": {
"https://github.com/thatportugueseguy/buildkite-starter": {
"pipeline_statuses": {
"buildkite/buildkite-tests": {
"develop": {
"status": "failure",
"original_failed_commit": {
"sha": "7e0a933e9c71b4ca107680ca958ca1888d5e479b",
"author": "[email protected]",
"commit_message": "update monorobot config",
"build_link": [
"Some",
"https://buildkite.com/monorobot-tests/buildkite-tests/builds/51"
],
"last_updated": "2024-07-31T13:41:57+00:00"
}
}
},
"buildkite/buildkite-tests/build": {
"develop": { "status": "success" }
},
"buildkite/buildkite-tests/fail": {
"develop": {
"status": "failure",
"original_failed_commit": {
"sha": "b586f4529c7c3c0f276caf52c2f2b165da6432be",
"author": "[email protected]",
"commit_message": "update monorobot config",
"build_link": [
"Some",
"https://buildkite.com/monorobot-tests/buildkite-tests/builds/51#01910906-690f-4344-902e-99ca3098aece"
],
"last_updated": "2024-07-31T13:41:56+00:00"
}
}
},
"buildkite/buildkite-tests/pipeline": {
"develop": { "status": "success" }
},
"buildkite/buildkite-tests/test": {
"develop": {
"status": "failure",
"original_failed_commit": {
"sha": "b586f4529c7c3c0f276caf52c2f2b165da6432be",
"author": "[email protected]",
"commit_message": "update monorobot config",
"build_link": [
"Some",
"https://buildkite.com/monorobot-tests/buildkite-tests/builds/51#01910906-690c-415e-9db5-5ab94f487567"
],
"last_updated": "2024-07-31T13:41:57+00:00"
}
}
}
},
"pipeline_commits": {
"buildkite/buildkite-tests": {
"s1": ["b586f4529c7c3c0f276caf52c2f2b165da6432be"],
"s2": []
}
}
}
}
}
Loading

0 comments on commit e297f1d

Please sign in to comment.