rancher / qa-tasks

List of QA Backlog
1 stars 1 forks source link

Corral Packages Deletion Generic Job #983

Open caliskanugur opened 1 year ago

caliskanugur commented 1 year ago

Right now, the jobs using corral are bound with a corral delete stage. If we can abstract deletion we can delete any corral package that supports any HA type with any cloud provider - including standalone corral packages. This task would also help to enable a corral HA standalone job.

For that, we might need a design discussion about:

caliskanugur commented 1 year ago

The first initial experiment that enables this:

  1. Manifest.yaml needs to be copied from the corral package to the remote

  2. And update below in the package's corral.yaml:

    • source key in a-corral/corral.yaml to manifest.yaml 's dir
    • root key from local:/.corral/corrals/a-corral toremote:./corral/corrals/a-corral
  3. Terraform needs to be installed on the remote, and we need to run terraform init in /.corral/corrals/a-corral/where-tf/files-are

  4. As the last step corral delete a-corral