Mercurial > code > home > repos > pomerium
comparison tasks.py @ 23:695948b426ae
redo config with kustomize (still has a bug with pomerium-proxy-tls secret name getting a suffix)
author | drewp@bigasterisk.com |
---|---|
date | Wed, 07 Jun 2023 20:22:55 -0700 |
parents | 54b0edb7cca8 |
children | b53ab97e8979 |
comparison
equal
deleted
inserted
replaced
22:c2e12ba4d0b2 | 23:695948b426ae |
---|---|
1 from invoke import task | 1 from invoke import task |
2 from invoke.exceptions import UnexpectedExit | 2 from invoke.exceptions import UnexpectedExit |
3 @task | |
4 def delete(ctx): | |
5 ctx.run("cd 30-cert-manager; skaffold delete") | |
6 ctx.run("cd 20-kube; skaffold delete") | |
7 ctx.run("cd 10-vols; skaffold delete") | |
8 ctx.run("cd 00-defs; skaffold delete") | |
9 | 3 |
10 @task | 4 @task |
11 def run(ctx): | 5 def run(ctx): |
12 ctx.run("cd 00-defs; skaffold run", echo=True) | 6 ctx.run("cd 00-defs; skaffold run", echo=True) |
13 ctx.run("cd 10-vols; skaffold run", echo=True) | 7 ctx.run("cd 10-vols; skaffold run", echo=True) |