Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Staging deployments not being cleaned up #2686

Open
NimJay opened this issue Aug 19, 2024 · 3 comments
Open

Staging deployments not being cleaned up #2686

NimJay opened this issue Aug 19, 2024 · 3 comments
Labels
priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Comments

@NimJay
Copy link
Collaborator

NimJay commented Aug 19, 2024

Screenshot 2024-08-19 at 12 06 01 PM
@NimJay NimJay added type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. labels Aug 19, 2024
@NimJay
Copy link
Collaborator Author

NimJay commented Aug 19, 2024

For now, I've manually deleted those namespaces (for which pull-requests have been closed/merged):

kubectl delete namespace pr2644
kubectl delete namespace pr2652
kubectl delete namespace pr2609
kubectl delete namespace pr2637
kubectl delete namespace pr2638
kubectl delete namespace pr2664
kubectl delete namespace pr2661
kubectl delete namespace pr2651
kubectl delete namespace pr2639
kubectl delete namespace pr2666
kubectl delete namespace pr2684
kubectl delete namespace pr2649
​​kubectl delete namespace pr2640
kubectl delete namespace pr2663
kubectl delete namespace pr2662
kubectl delete namespace pr2667
kubectl delete namespace pr2641
kubectl delete namespace pr2655
kubectl delete namespace pr2643 

Looking into root cause now.

@NimJay
Copy link
Collaborator Author

NimJay commented Aug 19, 2024

  • Ah, it looks like the "Approve and run" GitHub org-wide policy is preventing cleanup.yaml from running automatically.

Screenshot 2024-08-19 at 12 21 36 PM

@NimJay NimJay changed the title Staging deployments not being cleanup up Staging deployments not being cleaned up Aug 19, 2024
@bourgeoisor
Copy link
Member

bourgeoisor commented Aug 20, 2024

Oh wow good catch!-- And extremely annoying.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Projects
None yet
Development

No branches or pull requests

2 participants