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




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

    ci: deploy cve reports for nightly in gitlab pages
    
    Part-of: <https://gitlab.gnome.org/GNOME/gnome-build-meta/-/merge_requests/1236>

 .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]