[Spice-commits] .gitlab-ci.yml

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Nov 27 12:22:10 UTC 2019


 .gitlab-ci.yml |   15 +++++++++++++++
 1 file changed, 15 insertions(+)

New commits:
commit 827cdae4dedde17a9b6daf07685004ed8f9b143d
Author: Snir Sheriber <ssheribe at redhat.com>
Date:   Wed Nov 27 09:36:44 2019 +0000

    ci: trigger spice-space ci with every docs change
    
    Trigger spice-space build if docs/ has changed and TOKEN is set
    This is not defined as deploy stage so it won't be depended on the other jobs
    
    Acked-by: Frediano Ziglio <fziglio at redhat.com>

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 01f63733..edb3f408 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -165,3 +165,18 @@ websocket-autobahn:
   - wstest -m fuzzingclient -s server/tests/fuzzingclient.json
   - kill $pid
   - server/tests/autobahn-check-report reports/servers/index.json
+
+trigger-website-update:
+  image: alpine:latest
+  before_script:
+  - apk add curl
+  only:
+    variables:
+    - $TOKEN
+    changes:
+    - "docs/*.txt"
+    - "docs/images/*"
+    - "docs/manual/*.txt"
+    - "docs/manual/images/*"
+  script:
+  - curl -X POST -F token=$TOKEN -F ref=master https://gitlab.freedesktop.org/api/v4/projects/spice%2Fspice-space/trigger/pipeline


More information about the Spice-commits mailing list