CI: change the wayland-web job to use rules

"only: ..." is deprecated and we should be using rules

Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1294>
This commit is contained in:
Peter Hutterer 2025-08-08 10:48:01 +10:00 committed by Marge Bot
parent c0519c3b5e
commit 48a26f91c3
2 changed files with 12 additions and 18 deletions

View file

@ -1413,15 +1413,12 @@ build rpm:
wayland-web:
stage: deploy
trigger: wayland/wayland.freedesktop.org
except:
refs:
- schedules
variables:
MESON_ARGS: '-Ddocumentation=true -Ddebug-gui=false -Dlibwacom=false -Dtests=false'
MESON_BUILDDIR: 'builddir'
only:
refs:
- main
variables:
- $GITLAB_USER_LOGIN != "marge-bot"
- $CI_PROJECT_PATH == "libinput/libinput"
rules:
- if: '$CI_PIPELINE_SOURCE == "schedule"'
when: never
- if: '$CI_COMMIT_BRANCH == "main" && $GITLAB_USER_LOGIN != "marge-bot" && $CI_PROJECT_PATH == $FDO_UPSTREAM_REPO'
when: on_success
- when: never

View file

@ -813,15 +813,12 @@ build rpm:
wayland-web:
stage: deploy
trigger: wayland/wayland.freedesktop.org
except:
refs:
- schedules
variables:
MESON_ARGS: '-Ddocumentation=true -Ddebug-gui=false -Dlibwacom=false -Dtests=false'
MESON_BUILDDIR: 'builddir'
only:
refs:
- main
variables:
- $GITLAB_USER_LOGIN != "marge-bot"
- $CI_PROJECT_PATH == "libinput/libinput"
rules:
- if: '$CI_PIPELINE_SOURCE == "schedule"'
when: never
- if: '$CI_COMMIT_BRANCH == "main" && $GITLAB_USER_LOGIN != "marge-bot" && $CI_PROJECT_PATH == $FDO_UPSTREAM_REPO'
when: on_success
- when: never