[gnome-build-meta/alatiera/cve-pages] ci: deploy cve reports for nightly in gitlab pages




commit a6c737587ddfb813d113dec05b9ec873c7412f52
Author: Jordan Petridis <jordan centricular com>
Date:   Fri Jul 23 06:03:49 2021 +0300

    ci: deploy cve reports for nightly in gitlab pages

 .gitlab-ci.yml | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a1dd8c98..6d100589 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -369,7 +369,7 @@ ostree-x86_64:
 
 cve_report:
   extends: .x86_64
-  stage: reports
+  stage: 'deploy'
   needs:
   - job: 'track'
     optional: true
@@ -397,3 +397,16 @@ cve_report:
     - cve-reports
   rules:
   - if: $CI_COMMIT_REF_NAME == "master" || $CI_COMMIT_REF_NAME =~ /^gnome-\d\d$/
+
+pages:
+  stage: 'reports'
+  needs:
+    - job : 'cve_report'
+      artifacts: true
+  script:
+    - 'mv cve-reports/ public/'
+  artifacts:
+    paths:
+    - 'public'
+  rules:
+  - if: $CI_COMMIT_REF_NAME == "master" || $CI_COMMIT_REF_NAME =~ /^gnome-\d\d$/
\ No newline at end of file


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