Re: Package versions in Jenkins

From: Fernando_Apesteguía <fernape_at_freebsd.org>
Date: Thu, 29 Aug 2024 10:46:57 UTC
On Wed, Aug 28, 2024 at 9:12 PM Li-Wen Hsu <lwhsu@freebsd.org> wrote:

> 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.
>

latest, that's great :-)


>
> 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.
>

Thank you for the detailed explanation!


>
> Best,
> Li-Wen
>