Skip to content

Add `deploy-cleanup-old-deleted-files` scheduled job

What does this MR do?

  • Add deploy-cleanup-old-deleted-files scheduled job (which can also be run manually on-demand)
    • Supports independent per-site production deploys by removing need for --delete flag on master GCP deploy rsync.
    • Introduces a separate "deploy-cleanup-old-deleted-files" scheduled job which does a full build of everything and deploys with the DEPLOY_CLEANUP_OLD_DELETED_FILES flag set.
    • This will use all artifacts from partial build jobs to ensure everything is still cleaned up, even if partial build jobs are added/deleted/refactored, and when top-level paths of the deploy are deleted/renamed.
    • As part of this, the staging app deploy will be changed to a manual job. See discussion on slack. Also update related docs.
    • This also resolves #7661 (closed)

Tasks

Related issues

Edited by Chad Woolley

Merge request reports