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

Add scripts/snabb_doc.sh #805

Merged
merged 2 commits into from
Apr 5, 2016
Merged

Add scripts/snabb_doc.sh #805

merged 2 commits into from
Apr 5, 2016

Conversation

eugeneia
Copy link
Member

@eugeneia eugeneia commented Mar 7, 2016

I added a new cron job “SnabbDoctor” to davos that will render and publish HTML renderings of our documentation.

  1. the current release's documentation can be found at http://snabbco.github.io/
  2. a tags documentation can be found at tag/<tag>.html, e.g. http://snabbco.github.io/tag/v2016.03.html
  3. Pull Requests have a new status that points to the documentation for that PR at sha1/<sha1>.html

@eugeneia
Copy link
Member Author

eugeneia commented Mar 7, 2016

Or so I thought, bear with me to figure out why SnabbDoctor failed on this PR.

@wingo
Copy link
Contributor

wingo commented Mar 8, 2016

Very nice work! LGTM; I guess you are the upstream for this though?

@lukego
Copy link
Member

lukego commented Mar 8, 2016

@eugeneia Great work!

Can you please make a plan with @domenkozar to migrate all of this infrastructure into the nixops-managed snabblab universe? I would like to phase out running infrastructure on single-point-of-failure servers and with out-of-tree scripts e.g. cron jobs. This is fragile and we are lucky to have gotten away with it for as long as we have.

I would then see what solution you guys cook up and adopt that for the little script that mirrors registered branches on the SnabbCo repo :).

@eugeneia eugeneia self-assigned this Mar 8, 2016
@domenkozar
Copy link
Member

@eugeneia @lukego I can add this cronjob to https://github.com/snabblab/snabblab-nixos/ repository and configure it to run on eiger.

@eugeneia

What credentials are you using for github?
Can you paste me the cronjob line currently on davos?

Thanks!

@lukego
Copy link
Member

lukego commented Mar 10, 2016

@domenkozar @eugeneia I believe we have a dependency here on snabblab/snabblab-nixos#13. That issue is closed but I am not sure if we have verified it working.

I also think we need to be conscious of which Github credentials we install on a shared machine like eiger. This should not include write access to the Snabb repository for example. We should either lock down the Github permissions to a safe level or host them somewhere more locked-down.

Relatedly: is it a good or a bad idea to make Hydra execute the builds and tests and for SnabbBot to check the results and report to Github? (Why?)

eugeneia added a commit to eugeneia/snabb that referenced this pull request Mar 11, 2016
@eugeneia eugeneia merged commit a4b9275 into snabbco:master Apr 5, 2016
dpino added a commit to dpino/snabb that referenced this pull request May 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants