mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-05-08 13:38:40 +02:00
gitlab CI: fetch the WAYLAND_WEB_TOKEN from a file
This way it can't leak into the meson testlog.txt during the other stages. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
b1181bdd2f
commit
2c6e90f4be
1 changed files with 5 additions and 1 deletions
|
|
@ -510,8 +510,12 @@ wayland-web:
|
||||||
image: $BUILDAH_IMAGE
|
image: $BUILDAH_IMAGE
|
||||||
stage: deploy
|
stage: deploy
|
||||||
script:
|
script:
|
||||||
|
# Requirements:
|
||||||
|
# - variable WAYLAND_WEB_TOKEN defined as type File in libinput's CI/CD settings
|
||||||
|
# - content of that file is the token value, as generated by the Pipeline Triggers
|
||||||
|
# of the wayland.freedesktop.org project.
|
||||||
- curl --request POST
|
- curl --request POST
|
||||||
--form "token=$WAYLAND_WEB_TOKEN"
|
--form "token=<$WAYLAND_WEB_TOKEN"
|
||||||
--form ref=master
|
--form ref=master
|
||||||
https://gitlab.freedesktop.org/api/v4/projects/wayland${SLASH}wayland${DOT}freedesktop${DOT}org/trigger/pipeline
|
https://gitlab.freedesktop.org/api/v4/projects/wayland${SLASH}wayland${DOT}freedesktop${DOT}org/trigger/pipeline
|
||||||
only:
|
only:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue