Skip to content

Use gitlab shared runners when possible

Stefan C requested to merge gitlab_ci_test into master

To reduce load on the kanthaus server we should use gitlab shared runners when possible.

This will reduce the runtime of the pipeline to 15:17:00.

What does this MR do?

  • Changes the CI tags to use the selected runner.
  • Change maildev port to not use privileged ports.

How confident are you it won't break things if deployed?

quite sure

Links to related issues

gitlab!216762

How to test

Have a look at the CI Pipelines

Measurements:

Runtime of the jobs:

Job small medium large kanthaus
gemnasium-dependency_scanning 03:19:00 02:24:00 02:19:00 02:50:00
build+test 17:44:00
build:backend 02:48:00 02:09:00 01:30:00
build:docs 02:56:00 01:54:00 01:56:00
build:frontend 04:44:00 03:20:00 02:59:00
build:websocket 01:16:00 00:51:00 00:52:00
test:backend-acceptance 12:29:00
test:backend-code 07:04:00 05:42:00 05:29:00
test:frontend 01:42:00 01:17:00 01:13:00
test:websocket 01:35:00 01:10:00 01:07:00

Checklist

  • added a test, or explain why one is not needed/possible...
  • no unrelated changes
  • asked someone for a code review
  • set a "for:" label to indicate who will be affected by this change
  • added to the next milestone (see https://gitlab.com/foodsharing-dev/foodsharing/-/milestones, unless it has a "for:Dev" label)
  • added an entry to CHANGELOG.md
  • added a short text that can be used in the release notes
  • Once your MR has been merged, you are responsible to create a testing issue in the Beta Testing forum: https://foodsharing.de/?page=bezirk&bid=734&sub=forum. Please change the MRs label to "state:Beta testing".
    • Consider writing a detailed description in German.
    • Describe in a few sentences, what should be tested from a user perspective.
    • Also mention different settings (e.g. different browsers, roles, ...) how this change can be tested.
    • Be aware, that also non technical people should understand.

Release notes text in German

Edited by Stefan C

Merge request reports