[PATCH 0/4] Prepare webpage for hosting via gitlab pages

Peter Krempa posted 4 patches 3 months, 2 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/cover.1704892703.git.pkrempa@redhat.com
There is a newer version of this series
.gitlab-ci.yml         | 80 +++++++++++++++++++++++++++++++++---------
docs/.gitlab_redirects | 54 ++++++++++++++++++++++++++++
2 files changed, 117 insertions(+), 17 deletions(-)
create mode 100644 docs/.gitlab_redirects
[PATCH 0/4] Prepare webpage for hosting via gitlab pages
Posted by Peter Krempa 3 months, 2 weeks ago
As the progress on the gitlab feature we need to do this seems good:

 https://gitlab.com/gitlab-org/gitlab-pages/-/issues/601

this series prepares the libvirt project to do the hosting and will
allow us to validate it before switching over once the feature is
enabled.

Patches 1/4 and 2/4 can be pushed right away:
 - Patch 1/4 prepares the job to publish the page (currently via the
   libvirt.gitlab.io/libvirt URL each project gets automatically
 - Patch 2/4 adds the '_redirects' file which is populated from adapted
   'mod_rewrite' rules from the current server. This file serves for
   validation of the rules and will allow us to validate them before
   switching over

The last 2 patches are for the subsequent steps:

 - 3/4 removes the 'legacy' webpage job, this can be pushed either when
   we switch over to gitlab pages or when the old server will fetch the
   archive from the new artifacts file

 - 4/4 will be needed right before swithching over to gitlab pages as
   the redirects will need to be adapted for custom domain hosting


The new 'pages' artifact from a CI run of this series can be viewed at:

https://gitlab.com/pipo.sk/libvirt/-/jobs/5900957150

The 'redirect' validation (from an older version of this series) can be
viewed at:

https://pipo.sk.gitlab.io/libvirt/_redirects

(beware that this will cause a certificate failure, as gitlab pages
 doesn't work well if you have a dot in your username ...)

Peter Krempa (4):
  gitlab-ci: Configure website build to be published via gitlab pages
  docs: Add redirects configuration for gitlab pages
  gitlab-ci: Drop the legacy web page job
  docs: gitlab redirects: Drop '/libvirt' prefix for hosting the web
    through gitlab pages

 .gitlab-ci.yml         | 80 +++++++++++++++++++++++++++++++++---------
 docs/.gitlab_redirects | 54 ++++++++++++++++++++++++++++
 2 files changed, 117 insertions(+), 17 deletions(-)
 create mode 100644 docs/.gitlab_redirects

-- 
2.43.0
_______________________________________________
Devel mailing list -- devel@lists.libvirt.org
To unsubscribe send an email to devel-leave@lists.libvirt.org