ci: Fix helm command to list across all namespaces and delete old environments

What does this MR do and why?

This fixes two issues:

  • The helm list command doesn't return any releases as it's not looking at all the namespaces: https://gitlab.com/gitlab-org/gitlab/-/jobs/3656724501
  • Environments aren't deleted anymore (only Helm releases and K8s namespaces) so we could leave some unused environments behind (not a big deal but it's not useful)

Example job: https://gitlab.com/gitlab-org/gitlab/-/jobs/3657883613

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Rémy Coutable

Merge request reports

Loading