-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy path.justfile
More file actions
23 lines (19 loc) · 721 Bytes
/
.justfile
File metadata and controls
23 lines (19 loc) · 721 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/env -S just --justfile
set lazy
set unstable
set quiet
set script-interpreter := ['bash', '-euo', 'pipefail']
set shell := ['bash', '-euo', 'pipefail', '-c']
[private]
default:
just -l
[doc('Run command for main cluster')]
main *args:
export KUBECONFIG="{{ justfile_dir() }}/kubernetes/main/kubeconfig"; \
export TALOSCONFIG="{{ justfile_dir() }}/kubernetes/main/talosconfig"; \
just -f kubernetes/main/.justfile {{ args }}
[doc('Run command for staging cluster')]
staging *args:
export KUBECONFIG="{{ justfile_dir() }}/kubernetes/staging/kubeconfig"; \
export TALOSCONFIG="{{ justfile_dir() }}/kubernetes/staging/talosconfig"; \
just -f kubernetes/staging/.justfile {{ args }}