Page MenuHomeDevCentral

Install Poudriere on devserver role
ClosedPublic

Authored by dereckson on Wed, Oct 2, 20:21.
Tags
None
Referenced Files
F3632844: D3480.id8977.diff
Mon, Oct 7, 04:20
F3632666: D3480.diff
Mon, Oct 7, 02:19
Unknown Object (File)
Thu, Oct 3, 15:37
Unknown Object (File)
Thu, Oct 3, 13:29
Unknown Object (File)
Thu, Oct 3, 10:32
Unknown Object (File)
Thu, Oct 3, 08:33
Unknown Object (File)
Thu, Oct 3, 08:29
Unknown Object (File)
Thu, Oct 3, 07:48
Subscribers
None

Details

Summary

Create jail and ports tree to build and tests ports locally.

Ref T2039.

Test Plan
  • Deploy on WindRiver
  • Build a port with poudriere

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson held this revision as a draft.
roles/devserver/poudriere/jails.sls
24 ↗(On Diff #8973)

Perhaps we should already prepare the future.

On Ysul, we tested the ports for previous OS versions too, so that would mean:

def poudriere_jails():
    return [...]

Also we could allow poudriere to use:

  • /usr/ports
  • arbitrary directories defined in pillar under poudriere.ports_trees, for example /home/luser/dev/freebsd/ports

Those would need to run commands like:

$ poudriere ports -c -m null -M /usr/ports -p windriver
$ poudriere ports -c -m null -M //home/luser/dev/freebsd/ports -p luser-dev
dereckson published this revision for review.Sat, Oct 5, 11:55
dereckson edited the test plan for this revision. (Show Details)
dereckson added a reviewer: DorianWinty.
dereckson added inline comments.
roles/devserver/poudriere/files/poudriere.conf
36

We define wrkdir to work more efficiently from RAM (we've 96 Gb, as I'm writing this comment 74G is used by ZFS ARC cache, that gives an idea how many free RAM we've - ZFS ARC takes what's available, the cache can shrink if other resources need it)

Tested with sudo poudriere testport -j base14 -p dereckson_dev -o security/vault-medusa so I can submit new port security/vault-medusa to the FreeBSD ports tree.

Result: https://windriver.nasqueron.org/poudriere/base14-dereckson_dev/latest/build.html

This revision is now accepted and ready to land.Sat, Oct 5, 18:28
This revision was automatically updated to reflect the committed changes.