summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2019-08-07 13:42:36 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2019-08-07 13:43:31 +1000
commit2c6e90f4bea9c3fb3f708934eef1804348558fa0 (patch)
tree429f18a80acd3c10de49ab8934212910fdaf6792
parentb1181bdd2fde0b67243f627cba12b8d7be742dd2 (diff)
downloadlibinput-2c6e90f4bea9c3fb3f708934eef1804348558fa0.tar.gz
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>
-rw-r--r--.gitlab-ci.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d66644b4..777a5189 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -510,8 +510,12 @@ wayland-web:
image: $BUILDAH_IMAGE
stage: deploy
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
- --form "token=$WAYLAND_WEB_TOKEN"
+ --form "token=<$WAYLAND_WEB_TOKEN"
--form ref=master
https://gitlab.freedesktop.org/api/v4/projects/wayland${SLASH}wayland${DOT}freedesktop${DOT}org/trigger/pipeline
only: