CivicTechTO / CivicTechTO/civictechto-scripts

Create visual dashboard for scheduled task on circle CI

Open
#12 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
7
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Right now, the interface for running the scripts is circleCI, and it's configured via:
https://github.com/CivicTechTO/civictechto-scripts/blob/master/.circleci/config.yml

Since the scripted tasks are intended to be safe and idempotent (able to run many times over with no risk), this small app was built to kick off manual task runs on circle ci without any auth:
https://github.com/CivicTechTO/circleci-job-runner

(The above being safe relies on all relevant spreadsheets to have restricted edit access control.)

Would be nice if there was a simple GitHub Pages static site that could render information from the YML config file and offer a button to kick off the tasks as well.

## Potential Features

- render the YML config as a pretty website on GitHub Pages
- jobs (tasks)
- workflows
- trigger time (cron) [example](https://github.com/CivicTechTO/civictechto-scripts/blob/master/.circleci/config.yml#L16)
- status of last run
- link to config.yml section
- code block for the code that's run (perhaps hidden in expandable block, for technically-minded people to expand)
- button to trigger arbitrary job run (POST action mediated through `circleci-job-runner`)
- toggle to enable/disable workflow (POST action mediated by future app, commiting change of yml file on github)
- ability to drag/drop jobs into workflows. [example](https://github.com/CivicTechTO/civictechto-scripts/blob/master/.circleci/config.yml#L11-L12) (POST action mediated by future app, commiting change of yml file on github)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.