Mercurial > code > home > repos > infra
comparison tasks.py @ 111:340d778a1682 main
start multikube experiment
author | drewp@bigasterisk.com |
---|---|
date | Sat, 20 Aug 2022 14:12:05 -0700 |
parents | de407da9224a |
children | c520672d0930 |
comparison
equal
deleted
inserted
replaced
110:de407da9224a | 111:340d778a1682 |
---|---|
80 | 80 |
81 @task | 81 @task |
82 def pipe(ctx): | 82 def pipe(ctx): |
83 ctx.run(cmd + 'inventory.py pipe.py --limit pipe', pty=True) | 83 ctx.run(cmd + 'inventory.py pipe.py --limit pipe', pty=True) |
84 | 84 |
85 @task | |
86 def multikube(ctx): | |
87 from multikube_config import server_node, nodes | |
88 ctx.run(cmd + 'inventory.py multikube_wipe.py', pty=True) | |
89 ctx.run(cmd + f'inventory.py multikube.py --limit {server_node}', pty=True) | |
90 ctx.run(cmd + f'inventory.py multikube.py --limit {",".join(nodes)}', pty=True) | |
91 | |
85 | 92 |
86 @task | 93 @task |
87 def all(ctx): | 94 def all(ctx): |
88 configs = [ | 95 configs = [ |
89 'users.py', | 96 'users.py', |