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

Automation and dashboarding #30

Open
mhausenblas opened this issue Jun 2, 2021 · 3 comments
Open

Automation and dashboarding #30

mhausenblas opened this issue Jun 2, 2021 · 3 comments

Comments

@mhausenblas
Copy link

It would be useful to have current results available in an automated fashion (via GitHub action) and rendered in a nice dashboard. I'm happy to take a stab at it. Please let me know if you think that's useful and if there are any requirements?

mhausenblas added a commit to mhausenblas/compliance that referenced this issue Jun 2, 2021
Signed-off-by: Michael Hausenblas <[email protected]>

See prometheus#30
@RichiH
Copy link
Member

RichiH commented Jun 9, 2021

This would depend on #28 at the least, else we end up testing old versions all the time.

I am torn on where such a running log of results should live; maybe https://github.com/prometheus/compliance-results or some such would make more sense?

If it runs in the main repo, we could look at PRs always triggering a test run to commit per-commit-id test results. One concern of this automation would be if a binary can't be downloaded and erreneous 100% FAIL is reported.

Thoughts?

@mhausenblas
Copy link
Author

Thanks for the feedback and questions @RichiH!

I don't have a good answer to where the results should stay but you could have a look at what I so far put together in .github/workflows/generate-results.yml which runs once a day dumping it into a sub-dir results/. Note that I've been running this for a few now to let it soak a little and so far no issues.

What I had in mind as the next step was to consume the generated JSON files in a static HTML page with some custom JavaScript to render a nice table. I tried many available tools to turn Go test results into reports but either they didn't quite work or come with huge dependencies, that's why I thought doing some custom rendering would be the best way forward.

@roidelapluie
Copy link
Member

It would be great to generate markdown output, therefore we can integrate it in https://prometheus.io

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

No branches or pull requests

3 participants