# HG changeset patch # User drewp@bigasterisk.com # Date 1687238400 25200 # Node ID bd2cbc36bc653ae0b1669f2377f7eb62ccd1a034 # Parent 88fc66e2ebf5516e7b4b028d73c144ef5d2f1666 reorder `delete` task diff -r 88fc66e2ebf5 -r bd2cbc36bc65 tasks.py --- 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) '''