Gitlab update - CI future proofing required

2023-11-19 Thread Ben Cooksley
Hi all,

Over this weekend I completed a series of updates to invent.kde.org, moving
it to the latest supported version of Postgres (14) and Gitlab (16.6).

As part of that Gitlab update, additional security policies began to be
enforced by Gitlab which mean our existing method of including CI templates
is now beginning to be problematic.

To correct this, we need to port our .gitlab-ci.yml files over to the
include:project syntax (see
https://docs.gitlab.com/ee/ci/yaml/#includeproject)

As an example, this might look like for a Qt 6 only project with Linux,
FreeBSD and Windows builds:

include:
  - project: sysadmin/ci-utilities
file:
  - /gitlab-templates/linux-qt6.yml
  - /gitlab-templates/freebsd-qt6.yml
  - /gitlab-templates/windows-qt6.yml

While we've been able to permit the existing syntax to work for now, it is
recommended that projects please look into porting their CI configurations
now to avoid future issues.

Thanks,
Ben


Transitioning to Qt 6.6 for Windows builds - Syndication build failure

2023-11-19 Thread Ben Cooksley
Hi all,

As you'll be aware, we've been working on moving CI over to Qt 6.6 for a
little while now, and as part of this have hit a bit of a roadblock with
the Framework Syndication.

The roadblock is more likely to be due to the transition to using MSVC 2022
(and all the compiler changes that come with that) however that change was
mandated by Qt 6.6 itself so there isn't much we can do about that.

The build failure can be seen at
https://invent.kde.org/sysadmin/ci-management/-/jobs/1373146 and a draft
fix for the issue can be found at
https://invent.kde.org/frameworks/syndication/-/merge_requests/26

Any assistance with getting Syndication fixed up would be very much
appreciated so we can get Windows builds moved to Qt 6.6 (which will leave
just FreeBSD on Qt 6.5)

Thanks,
Ben