freebsd / redports-1

Redports is a continuous integration platform for FreeBSD ports. It helps ports developers to test changes in clean environments and provides a nice web-based user interface.
Other
8 stars 14 forks source link

Implement poudriere based backend #36

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Poudriere has daemon support now so we can start to implement a poudriere based 
backend.

1) Start daemon
2) Add job: echo '{command:bulk;arguments:"-j environment www/nginx"}' | nc -w 
1 -U /tmp/poudriered.sock
3) Job status: ??

Original issue reported on code.google.com by de...@bluelife.at on 24 Feb 2014 at 1:59

GoogleCodeExporter commented 9 years ago
- we need to run 1 poudriered per environment
- it might be enough to have one portstree for all environments

Original comment by de...@bluelife.at on 6 Mar 2014 at 2:30

GoogleCodeExporter commented 9 years ago
Status:

- { "command":"status", "arguments":"-j ${jail}", "log":"/tmp/mystatus.log"}
- then look at /tmp/mystatus.log to find Logs:
- then look for 
/usr/local/poudriere/data/logs/bulk/10i386-default/2014-03-06_05h10m01s/.data.js
on
- => this gives us a json with all information we need

Original comment by de...@bluelife.at on 6 Mar 2014 at 2:51