From 2c6e90f4bea9c3fb3f708934eef1804348558fa0 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Wed, 7 Aug 2019 13:42:36 +1000 Subject: [PATCH] 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 --- .gitlab-ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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: