-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature: rendering server/agent errors for build and steps (#20)
* improving build preview css classes * added build error message on buildItem * rendering step error * implemented build error tests * implemented step error log with tests * implemented steps server error tests
- Loading branch information
Showing
8 changed files
with
326 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"id": 5, | ||
"repo_id": 1, | ||
"number": 5, | ||
"parent": 1, | ||
"event": "push", | ||
"status": "error", | ||
"error": "failure authenticating", | ||
"enqueued": 1572980376, | ||
"created": 1572980376, | ||
"started": 1572980375, | ||
"finished": 1572980375, | ||
"deploy": "", | ||
"clone": "https://github.com/go-vela/ui.git", | ||
"source": "https://github.com/go-vela/ui/commit/9b1d8bded6e992ab660eaee527c5e3232d0a2441", | ||
"title": "push received from https://github.com/go-vela/ui", | ||
"message": "fixing docker params", | ||
"commit": "9b1d8bded6e992ab660eaee527c5e3232d0a2441", | ||
"sender": "DavidVader", | ||
"author": "DavidVader", | ||
"branch": "infra", | ||
"ref": "refs/heads/infra", | ||
"base_ref": "", | ||
"host": "", | ||
"runtime": "docker", | ||
"distribution": "linux" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
[ | ||
{ | ||
"id": 1, | ||
"build_id": 1, | ||
"repo_id": 1, | ||
"number": 1, | ||
"name": "clone", | ||
"stage": "go", | ||
"status": "error", | ||
"error": "problem starting container", | ||
"exit_code": 1, | ||
"created": 1572029883, | ||
"started": 1572029935, | ||
"finished": 1572029937, | ||
"host": "", | ||
"runtime": "docker", | ||
"distribution": "linux" | ||
}, | ||
{ | ||
"id": 2, | ||
"build_id": 1, | ||
"repo_id": 1, | ||
"number": 2, | ||
"name": "build", | ||
"stage": "go", | ||
"status": "success", | ||
"error": "", | ||
"exit_code": 2, | ||
"created": 1572029883, | ||
"started": 1572029928, | ||
"finished": 1572029935, | ||
"host": "", | ||
"runtime": "docker", | ||
"distribution": "linux" | ||
}, | ||
{ | ||
"id": 3, | ||
"build_id": 1, | ||
"repo_id": 1, | ||
"number": 3, | ||
"name": "test", | ||
"stage": "go", | ||
"status": "running", | ||
"error": "", | ||
"exit_code": 2, | ||
"created": 1572029883, | ||
"started": 1572029928, | ||
"finished": 0, | ||
"host": "", | ||
"runtime": "docker", | ||
"distribution": "linux" | ||
}, | ||
{ | ||
"id": 4, | ||
"build_id": 1, | ||
"repo_id": 1, | ||
"number": 4, | ||
"name": "publish", | ||
"stage": "go", | ||
"status": "pending", | ||
"error": "", | ||
"exit_code": 2, | ||
"created": 1572029883, | ||
"started": 1572029928, | ||
"finished": 0, | ||
"host": "", | ||
"runtime": "docker", | ||
"distribution": "linux" | ||
}, | ||
{ | ||
"id": 5, | ||
"build_id": 1, | ||
"repo_id": 1, | ||
"number": 5, | ||
"name": "echo", | ||
"stage": "go", | ||
"status": "success", | ||
"error": "", | ||
"exit_code": 2, | ||
"created": 1572029883, | ||
"started": 1572029928, | ||
"finished": 0, | ||
"host": "", | ||
"runtime": "docker", | ||
"distribution": "linux" | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.