Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[POC] Script to monitor all ETS package cron job #55

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

kitchoi
Copy link
Contributor

@kitchoi kitchoi commented Jan 13, 2021

Background: Currently, inspection of the cron jobs requires someone to go to Travis.com, type in the name of the ETS package they want to check, look for the build that has the cron-job symbol on, and then loop over the ETS packages we have. This gets more and more laborious as the number of repositories grow.

It is possible to run a script to gather and present the status of the CI cron jobs for all the ETS packages, in one place.

This PR provides a proof-of-concept for future consideration. It provides a script that obtains the cron job results on GitHub Actions using its web API (Travis provides a web API so we can do the same thing), and then writes a file presenting the report.

To run, follow the instruction in check-cron/README.rst. The check-cron/result.md file is the file written by the script.

It should be relatively easy to create a GitHub Actions workflow just to run the script and update the file on the repo. Then we can access the result with a single URL.

This PR is open for the purpose of demonstrating an idea and persisting work towards it. It can be closed without merging.

(Note: It is not necessary for this script to be on master in order to run it on GitHub Actions.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant