Operations grimoire/Packages repository: Difference between revisions

From Nasqueron Agora
(+cats)
 
Line 44: Line 44:
The copr project - https://copr.fedorainfracloud.org/ - has resources to automate the process.
The copr project - https://copr.fedorainfracloud.org/ - has resources to automate the process.
That could be investigated if we've a lot of packages to build (we don't currently).
That could be investigated if we've a lot of packages to build (we don't currently).
[[Category:Operations grimoire|Packages repository]]
[[Category:FreeBSD]]

Latest revision as of 22:13, 24 October 2024

The packages repository provide packages for FreeBSD and RHEL.

It's accessible at https://packages.nasqueron.org/ and served from WindRiver.

FreeBSD packages

The /freebsd path is divided by ABI. For example, `FreeBSD:14:amd64` is used for FreeBSD 14 on amd64 architecture.

To add a package:

Automated builds

Poudriere and portshaker are used to build automatically the ports per D3520.

To update the packages repository, just run rebuild-nasqueron-packages as root. It takes care to update FreeBSD and Nasqueron Git repositories, merge them and trigger a ports build. That poudriere build will take care of repository metadata too.

https://packages.nasqueron.org/freebsd/experimental/ serves automated builds content.

RHEL packages

Currently unavailable. Dwellers is a good candidate to prepare packaging, as the only RHEL-family development server we have.

For RHEL 8/9, we probably only need "dive" (3rdparty) and "docker-processes" (Nasqueron).

Build a package

Resources:

How to recreate the repository

As of October 2024, the easiest would be to :

Automation

The copr project - https://copr.fedorainfracloud.org/ - has resources to automate the process. That could be investigated if we've a lot of packages to build (we don't currently).