Actions
Story #6126
closedAs CI team member, I want an easy way to monitor all CI build states
Status:
CLOSED - DUPLICATE
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
CI/CD
Sprint:
Quarter:
Description
Ticket moved to GitHub: "pulp/pulpcore/1865":https://github.com/pulp/pulpcore/issues/1865
For improving our response to broken builds, it would be useful to have an easy way to check the state of all builds.
As PoC:
for REPO in $(http https://api.github.com/orgs/pulp/repos | jq '.[].full_name' | sed 's/"//g')
do
repo=$(echo $REPO | sed 's/\//%2F/g')
state=$(http https://api.travis-ci.com/repo/${repo}/builds\?event_type\=cron\&limit\=1 Travis-API-Version:3 'Authorization:token <<PULP_TRAVIS_TOKEN>>' | jq '.builds[].state')
echo "${REPO} state = ${state}"
done
Reference:
- github api:
- travis builds api: https://developer.travis-ci.com/resource/builds#Builds
Updated by fao89 about 3 years ago
runs by workflow file: https://api.github.com/repos/fabricio-aguiar/pulp_file/actions/workflows/ci.yaml/runs
Updated by fao89 about 3 years ago
Just discovered travis already has a dashboard for it: https://travis-ci.org/pulp https://travis-ci.com/pulp
Keeping the story open because I don't know if Github Actions has some dashboard like this
Updated by pulpbot about 1 year ago
- Description updated (diff)
- Status changed from NEW to CLOSED - DUPLICATE
Actions