# HG changeset patch # User drewp@bigasterisk.com # Date 2023-06-20 05:20:00 # Node ID bd2cbc36bc653ae0b1669f2377f7eb62ccd1a034 # Parent 88fc66e2ebf5516e7b4b028d73c144ef5d2f1666 reorder `delete` task diff --git a/tasks.py b/tasks.py --- a/tasks.py +++ b/tasks.py @@ -31,12 +31,12 @@ def run(ctx): @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) '''