[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Gitlab update - CI future proofing required
From:       Ben Cooksley <bcooksley () kde ! org>
Date:       2023-11-19 9:08:36
Message-ID: CA+XidOFrbHFLw9tfMA=NMpzGZXbkkaU6n2-Od8d1mV5Pou_j6w () mail ! gmail ! com
[Download RAW message or body]

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

[Attachment #3 (text/html)]

<div dir="ltr">Hi all,<div><br></div><div>Over this weekend I completed a series of \
updates to <a href="http://invent.kde.org">invent.kde.org</a>, moving it to the \
latest supported version of Postgres (14) and Gitlab \
(16.6).</div><div><br></div><div>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.</div><div><br></div><div>To correct \
this, we need to port our .gitlab-ci.yml files over to the include:project syntax \
(see  <a href="https://docs.gitlab.com/ee/ci/yaml/#includeproject">https://docs.gitlab.com/ee/ci/yaml/#includeproject</a>)</div><div><br></div><div>As \
an example, this might look like for a Qt 6 only project with Linux, FreeBSD and \
Windows builds:</div><div><br></div><div>include:<br>   - project: \
sysadmin/ci-utilities<br>      file:<br>         - \
/gitlab-templates/linux-qt6.yml<br></div><div>         - \
/gitlab-templates/freebsd-qt6.yml</div><div>         - \
/gitlab-templates/windows-qt6.yml</div><div><br></div><div>While we&#39;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.</div><div><br></div><div>Thanks,</div><div>Ben</div></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic