From 3f709d0050d1830ee9f04b92d8a9b59baa59e5a8 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Thu, 5 Sep 2024 10:09:26 -0600 Subject: Add a landing page for GitLab pages GitLab pages for cairo appear in https://cairo.pages.freedesktop.org/cairo/ but there is nothing there right now, so it gives a 404. Only https://cairo.pages.freedesktop.org/cairo/coverage works so far. So, add public/index.html as a minimal landing page. My intention is to link other things from there - an HTMLized report of the test suite, a development guide, things like that. --- .gitlab-ci.yml | 9 +++++---- .gitlab-ci/pages-index.html | 13 +++++++++++++ 2 files changed, 18 insertions(+), 4 deletions(-) create mode 100644 .gitlab-ci/pages-index.html diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 96d8c1cb1..9edde3298 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -524,14 +524,15 @@ coverage: pages: stage: 'deploy' - needs: [ coverage ] + needs: + - job: coverage script: - # No-op, just to gitlab thinks there's something to do. - # The jobs that this job depends on have already populated public/ - - echo + - mkdir -p public + - cp .gitlab-ci/pages-index.html public/index.html artifacts: paths: - public + expire_in: 1 day rules: # Restrict to the main branch so not every branch tries to deploy the web site - if: ($CI_DEFAULT_BRANCH == $CI_COMMIT_BRANCH) diff --git a/.gitlab-ci/pages-index.html b/.gitlab-ci/pages-index.html new file mode 100644 index 000000000..9a6aba58a --- /dev/null +++ b/.gitlab-ci/pages-index.html @@ -0,0 +1,13 @@ + + + Cairo's development pages + + + +

Cairo's development pages

+ + + + -- cgit v1.2.3 From 1ed8bb65434214ba3362f7bf1f9ae0fb379f17d9 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Thu, 5 Sep 2024 10:13:53 -0600 Subject: Oops, don't list the analysis stage twice --- .gitlab-ci.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9edde3298..3c26742a9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -31,7 +31,6 @@ variables: stages: - prep - - analysis - build - test - analysis -- cgit v1.2.3