dch
Developer
I've seen a few mentions of queue mode for poudriere and this would be super useful for the CI setup I'm currently working on. Other than an oblique mention in the man page, and https://savagedlight.me/2014/03/09/freebsd-package-builder-with-poudriere/ I've been unable to find enough info to get this working, on 10.3R amd64 nor 11.0-BETA4 amd64 either, using poudriere 3.1.14.
Here's what I have been trying:
where:
- default and core are made up tags
- core.pkg is a typical `category/portname` list
- 11_amd64 is the jail name
Any suggestions you have welcomed, I've not found any other docs or
tips.
In particular once the daemon is set up:
Here's what I have been trying:
Code:
poudriere queue default bulk -f /usr/local/etc/poudriere.d/core.pkg -j
11_amd64 core
{"type":"error","message":"No command specified"}
where:
- default and core are made up tags
- core.pkg is a typical `category/portname` list
- 11_amd64 is the jail name
Code:
# /usr/local/etc/poudriered.conf
socket "/var/run/poudriered.sock"
pidfile "/var/run/poudriered.pid"
cachedir /usr/local/poudriere/cache
logs /usr/local/poudriere/logs
command "*" {
user operator
}
Code:
# /etc/rc.conf.d/poudriered
poudriered_enable="YES"
Any suggestions you have welcomed, I've not found any other docs or
tips.
In particular once the daemon is set up:
- do I need to create a queue somehow?
- how does one submit a bulk job to the queue?
- how do you know a job has finished, and in what state?