Page MenuHomeDevCentral

Build Nasqueron FreeBSD packages with poudriere and portshaker
Needs ReviewPublic

Authored by dereckson on Oct 16 2024, 18:59.
Tags
None
Referenced Files
F34978720: D3520.id9065.diff
Sun, Jul 5, 13:33
F34978405: D3520.diff
Sun, Jul 5, 12:53
F34977243: D3520.id9054.diff
Sun, Jul 5, 10:22
F34975918: D3520.id9064.diff
Sun, Jul 5, 05:41
F34975473: D3520.id9065.diff
Sun, Jul 5, 03:56
F34975217: D3520.id9053.diff
Sun, Jul 5, 03:18
F34972615: D3520.id9053.diff
Sat, Jul 4, 20:38
F34972329: D3520.id9064.diff
Sat, Jul 4, 19:51
Subscribers
None
This revision needs review, but there are no reviewers specified.

Details

Summary

This change allows to build automatically packages.nasqueron.org
FreeBSD part with portshaker and poudriere:

  1. portshaker allows to merge the FreeBSD ports tree with our Nasqueron ports tree rPORTS into a consolidated ports tree we can use as a base to build
  2. portshaker merged ports metadata can be used a a source to get the list of ports to build
  3. poudriere can build this set of ports and their dependencies

Ref T1850 for FreeBSD packages.

Ref T2039 for poudriere scope.

Test Plan

Browse https://packages.nasqueron.org/freebsd/experimental/
It serves /usr/local/poudriere/data/packages/base14-nasqueron

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Warnings
Unit
No Test Coverage
Branch
portshaker
Build Status
Buildable 5602
Build 5884: arc lint + arc unit

Event Timeline

dereckson held this revision as a draft.

+rebuild-nasqueron-packages. Replace Python script by awk.

Rebased. Switched from /experimental/14 to /14 through a symlink in /var/repo

don't try to run shellcheck on Jinja template

dereckson published this revision for review.Sun, Jul 5, 11:10

The new roles/freebsd-repo/ports unit is no-op and matches what's currently installed on WindRiver (and working).

For repo/, the ABI must be a little tweaked as it's "FreeBSD:14:amd64" and we currently have "14".

Extract jails and symlink path from pillar