Skip to content

Delete deployed Pages on Project archive

What does this MR do and why?

Delete deployed Pages on Project archive.

Pages::DeletePagesDeploymentWorker worker will respond to Projects::ProjectArchivedEvent and delete deployed Pages.

Related: #343109 (closed)

Changelog: fixed

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

  1. Create a GitLab Pages website from a project template preferably Pages/Plain HTML.
  2. When the pipeline is finished, go to Deploy > Pages to find the link to your Pages website. Verify that pages is deployed by visiting the link.
  3. Archive the created project.
  4. Verify that the pages link (from step 2) respond with 404.
Edited by Naman Jagdish Gala

Merge request reports

Loading