Re: Package versions in Jenkins

From: Li-Wen Hsu <lwhsu_at_freebsd.org>
Date: Wed, 28 Aug 2024 19:12:38 UTC
On Wed, Aug 28, 2024 at 3:06 AM Fernando Apesteguía <fernape@freebsd.org>
wrote:

>
>
> On Sat, Aug 24, 2024 at 8:36 PM Fernando Apesteguía <fernape@freebsd.org>
> wrote:
>
>>
>>
>> El mar, 20 ago 2024, 8:54, Fernando Apesteguía <fernape@freebsd.org>
>> escribió:
>>
>>> Hello,
>>>
>>> I have a question about the package versions Jenkins uses to build the
>>> documentation.
>>> Does Jenkins use the latest branch? How often does it update the
>>> packages?
>>>
>>> I recently updated www/gohugo to 0.133.0 and removed a deprecated
>>> attribute in the website/ part of the documentation. Jenkins is still using
>>> gohugo 0.125 and it fails to build the doc since that version does not
>>> recognize the new attribute.
>>>
>>
>> Ping!
>>
>
> Please, I really need this information.
> There are important pending changes in the doc tree.
>

Hi,

Sorry for the late reply, I don't know why the previous mails got filtered
in spam filters.

In short, Jenkins uses the latest pkg from the latest branch in the
official pkg repository.

The longer version is that in each build, Jenkins creates a fresh jail,
switches the default pkg branch from quarterly to latest, and installs the
docproj package from pkg.freebsd.org, then executes the build.

You can check the related config at:
https://github.com/freebsd/freebsd-ci/tree/main/jobs/FreeBSD-doc-main

In the latest build I see that it's using gohugo 0.133.0:
https://ci.freebsd.org/job/FreeBSD-doc-main/3226/consoleFull

I think it's due to the delay between ports updating and being available
from pkg.freebsd.org.

Best,
Li-Wen