[libsecret/wip/dueno/ci-fixes] gitlab-ci: Ignore pages target if previous stage fails



commit 17861900fee8bcfcd41963b1ea95efc2a13df35f
Author: Daiki Ueno <dueno src gnome org>
Date:   Sun Jun 9 09:31:03 2019 +0200

    gitlab-ci: Ignore pages target if previous stage fails

 .gitlab-ci.yml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1381dc1..f8f20d0 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -72,7 +72,10 @@ fedora:coverage:
 pages:
   stage: deploy
   script:
-    - test -d _build/meson-logs/coveragereport/ && mv _build/meson-logs/coveragereport/ public/ || true
+    - mv _build/meson-logs/coveragereport/ public/
   artifacts:
+    when: on_success
     paths:
       - public
+  # https://github.com/linux-test-project/lcov/issues/58
+  allow_failure: true


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]