mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-02-03 13:30:27 +01:00
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:
parent
c0519c3b5e
commit
48a26f91c3
2 changed files with 12 additions and 18 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue