changeset 29:bd2cbc36bc65

reorder `delete` task
author drewp@bigasterisk.com
date Mon, 19 Jun 2023 22:20:00 -0700
parents 88fc66e2ebf5
children 7d0e02a13b43
files tasks.py
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/tasks.py	Mon Jun 19 22:19:06 2023 -0700
+++ b/tasks.py	Mon Jun 19 22:20:00 2023 -0700
@@ -31,12 +31,12 @@
 @task
 def delete(ctx):
     # todo don't delete certs that have big timeouts to remake
-    ctx.run("kubectl delete -n pomerium job/pomerium-gen-secrets --ignore-not-found", echo=True)
-    ctx.run("skaffold delete -f use-invoke-not-skaffold.yaml ", echo=True)
+    ctx.run("kubectl delete -f config/51-pomerium-staging-issuer.yaml --ignore-not-found", echo=True)
+    ctx.run("kubectl delete -f config/51-pomerium-production-issuer.yaml --ignore-not-found", echo=True)
+    ctx.run("kubectl delete -f config/60-auth-cert.yaml --ignore-not-found", echo=True)
     ctx.run("kubectl delete pomerium/global --ignore-not-found", echo=True)
-    ctx.run("kubectl delete -f config/60-auth-cert.yaml --ignore-not-found", echo=True)
-    ctx.run("kubectl delete -f config/51-pomerium-production-issuer.yaml --ignore-not-found", echo=True)
-    ctx.run("kubectl delete -f config/51-pomerium-staging-issuer.yaml --ignore-not-found", echo=True)
+    ctx.run("skaffold delete -f use-invoke-not-skaffold.yaml ", echo=True)
+    ctx.run("kubectl delete -n pomerium job/pomerium-gen-secrets --ignore-not-found", echo=True)
 
 
 '''