poudriere for Ports Maintenance
Matthew Seaman EuroBSDCon 2019 Lillehammer
poudriere for Ports Maintenance Matthew Seaman EuroBSDCon 2019 - - PowerPoint PPT Presentation
poudriere for Ports Maintenance Matthew Seaman EuroBSDCon 2019 Lillehammer Who am I? FreeBSD Admin since the last millennium Ports committer since 2012 pkg(8) developer (lapsed) Former core secretary Who are you? Name
Matthew Seaman EuroBSDCon 2019 Lillehammer
ansible dnspython (Ports: py36-dnspython) ssh
git clone https://github.com/infracaninophile/p4pm
passphrase
ssh -i classN_ed25519 ec2-user@classN.black-earth.co.uk
change to your assigned host
create your own user account
ansible-playbook playbooks/keyscan.yaml Updates ~/.ssh/known_hosts
https://lists.freebsd.org/pipermail/freebsd-cloud/2019-February/000200.html
media
patches
them fully capable ansible clients
ansible-playbook playbooks/basics.yaml \ —user ec2-user —private-key=keys/classN_ed25519
sudo to root without being prompted for a password: ssh -A username@classN.black-earth.co.uk
sudo -i
ansible-playbook playbooks/poudriere.yaml
https://github.com/freebsd/freebsd-ports.git
system requirements
install a ports tree are equally valid
tmux emacs-nox ca_root_nss mtr rsync arcanist-php73
hosts/group_vars/poudriere.yaml
https://github.com/vbotka/ansible-freebsd-poudriere
https://github.com/infracaninophile/ansible-freebsd-poudriere
poudriere ccache
poudriere
https://github.com/freebsd/poudriere/blob/master/src/share/ examples/poudriere/nginx.conf.sample
that purpose
textproc/jq
poudriere options -p development -c some/port
poudriere options -p development -z development -c some/port
labelled by package set and ports tree: /usr/local/etc/poudriere.d/…
development-development-options/ development-options/
labelled by package set and ports tree: /usr/local/etc/poudriere.d/…
development-development-make.conf development-make.conf make.conf
edit port test build fjx problems test build repeat until clean result (…other tests…) commit
builds: SAVE_WRKDIR=yes
fjxing patches autoconf problems etc…
poudriere bulk -trk -C -j 12_0a -z development \
standard
poudriere
testing always helps
boards, but this is not a testing requirement
that specifjcally test on alternate architectures if problems are found
version of a branch will continue to work on all later ones
branches
new as) the latest branch you want to build packages for
there may be the odd bump in the road
libreoffice
llvmNN
gccN
every package
vulnerabilities are in system libraries
generates
repo of around 1000 packages within a hour or so each week
run a poudriere repo without problems
Previous software: “Tinderbox” Poudrière in French but the word also translates to: Gunpowder Magazine