Skip to content

SE-5663 instance archive

Boros Gábor requested to merge gabor/instance-archive into main

Description

This MR creates a real archive pipeline and moves the previous archive pipeline to a delete pipeline.

Supporting information

In the previous archive pipeline implementation, we accidentally implemented the delete pipeline. This MR corrects that mistake and implements an archive pipeline.

Testing instructions

Steps to test the changes:

  1. Proofread documentation for Archive
  2. Proofread documentation for Delete
  3. Proofread code changes
  4. Check that pipeline generates a dummy child pipeline, but has a prepare archive instance job
  5. Check that MR is merged and pipeline generates an archive pipeline
  6. Validate that the previous pipeline contains the following (the error message below those lines are not relevant)
    $ grove archive $INSTANCE_NAME
    kubectl delete namespace --wait tutor14
    namespace "tutor14" deleted
  7. Check that pipeline generates a dummy child pipeline, but has a prepare delete instance job
  8. Check that MR is merged and pipeline generates a delete pipeline and removes the instance

Dependencies

List the dependencies required for this change, if any. Do not forget to link grove-template merge request here if that's affected by this change.

Screenshots

N/A

Checklist

If any of the items below is not applicable, do not remove them, but put a check in it.

  • All providers include the new feature/change
  • All affected providers can provision new clusters
  • Unit tests are added/updated
  • Documentation is added/updated
  • The TOOLS_CONTAINER_IMAGE_VERSION in ci_vars.yml is updated
  • The grove-template repository is updated

Additional context

N/A

Edited by Boros Gábor

Merge request reports