Skip to content

[FEATURE] NuttX Build Monitor #18659

@lupyuen

Description

@lupyuen

We have created a new tool: NuttX Build Monitor displays the recent Errors and Warnings for NuttX GitHub CI. Hopefully our devs will find it useful for monitoring our PRs. Also: NuttX CI Team will use this tool to understand what's happening right now in our GitHub CI...

Image

Please lemme know if you find it useful thanks! FYI @simbit18 :-)

How to use the JSON Files

## Find this PR Number
pr_number=18730

## Return Everything Current about this PR Number
curl https://lupyuen.github.io/nuttx-github-jobs/build-monitor-pr.json \
  | jq ".[] | select(.pr_number == $pr_number)"

## Return the Current Job Conclusion: success / failure / cancelled
curl https://lupyuen.github.io/nuttx-github-jobs/build-monitor-pr.json \
  | jq ".[] | select(.pr_number == $pr_number) | .job_conclusion"

## Return Everything Historical about this PR Number
curl https://lupyuen.github.io/nuttx-github-jobs/build-monitor.json \
  | jq ".[] | select(.pr_number == $pr_number)"

## Return all Errors / Warnings for this PR Number
curl https://lupyuen.github.io/nuttx-github-jobs/build-monitor.json \
  | jq ".[] | select(.pr_number == $pr_number) | .build_msg"

## Return all Errors for this PR Number
curl https://lupyuen.github.io/nuttx-github-jobs/build-monitor.json \
  | jq ".[] | select(.pr_number == $pr_number and .build_score == 0) | .build_msg"

## Return all Warnings for this PR Number
curl https://lupyuen.github.io/nuttx-github-jobs/build-monitor.json \
  | jq ".[] | select(.pr_number == $pr_number and .build_score > 0) | .build_msg"

GitHub Pages has delays publishing huge JSON Files to github.io. You might wanna use these JSON Links instead:

(Source)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions