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

(project) service to report GK health status #9

Open
boly38 opened this issue Oct 10, 2018 · 2 comments
Open

(project) service to report GK health status #9

boly38 opened this issue Oct 10, 2018 · 2 comments

Comments

@boly38
Copy link
Member

boly38 commented Oct 10, 2018

Following #7 comment :

How should we proceed to have the scenarios launched regularly.
Is there a way to be notified on errors.
Is there some dashboard available?

Another form to say the same needs:

  • A) As Geokrety contributor, I would like to prevent QA regression following commit on master
  • B) As Geokrety OPS, I would like to report QA health of PROD geokrety instance at egular interval

dashboard available?

  • selenium+robot test are generating files as report : log.html, output.xml, and report.html

launched regularly

  • to launch test at regular interval, we just need a VM with python and a cron entry, and a place to store / publish reports.

following commit on master

@kumy
Copy link
Member

kumy commented Oct 10, 2018

dashboard available?

selenium+robot test are generating files as report : log.html, output.xml, and report.html

Nice starting point.

launched regularly

to launch test at regular interval, we just need a VM with python and a cron entry,

We have room on the server to deploy new Docker containers.

following commit on master

I think travis could do the job on each commit of https://github.com/geokrety/geokrety-website: maybe we only need to add dedicateed step with python service (need to study/confirm)

If I'm not mistaken, geokrety-website-qa repo already launch the tests in Travis.

We can configure repo geokrety-website to trigger launch via a GitHub webhook to this travis (we should take care to wait for the new docker image to be built and deployed, maybe checking the commit id at the bottom of the page in a loop?) - BTW: we could imagine the same for the master branch and rec instance -

The cron from the point above could be to just post the the webhook to start the check.

and a place to store / publish reports.

What about comitting to gh-pages? like for the API doc https://geokrety.github.io/geokrety-api/api.html / https://github.com/geokrety/geokrety-api/tree/gh-pages . Write access to the git repo can be handled via GitHub personal token https://github.com/settings/tokens

@boly38 boly38 changed the title service to report GK health status (project) service to report GK health status Oct 11, 2018
@boly38
Copy link
Member Author

boly38 commented Oct 11, 2018

https://github.com/geokrety/geokrety-website-qa/projects/1

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

2 participants