summaryrefslogtreecommitdiff
path: root/tw/home/files/zshrc
diff options
context:
space:
mode:
authorTimo Wilken2023-02-22 11:20:48 +0100
committerTimo Wilken2023-03-04 19:10:04 +0100
commitddd587b0778855f2199298d96fdd51792a948ea7 (patch)
treeb812a0f1b98aebdc89a613fc2453ad89d2e831f5 /tw/home/files/zshrc
parent91f134456f9fedbe03ae5be3e62a06e84a0b5981 (diff)
Set up nomad, consul, vault
Diffstat (limited to 'tw/home/files/zshrc')
-rw-r--r--tw/home/files/zshrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/tw/home/files/zshrc b/tw/home/files/zshrc
index dd4a24db..882cf60c 100644
--- a/tw/home/files/zshrc
+++ b/tw/home/files/zshrc
@@ -99,6 +99,12 @@ alias rot13='caesar 13'
alias wget='\wget --hsts-file="${XDG_CACHE_HOME:-$HOME/.cache}/wget-hsts"'
alias aurora="REQUESTS_CA_BUNDLE=${XDG_CONFIG_HOME:-$HOME/.config}/cern-ca-bundle.crt \aurora"
alias aurora_admin="REQUESTS_CA_BUNDLE=${XDG_CONFIG_HOME:-$HOME/.config}/cern-ca-bundle.crt \aurora_admin"
+alias nomad='NOMAD_TOKEN=$(pass cern/ci/nomad-bootstrap-token | head -1) \nomad'
+alias nomad-pack='NOMAD_TOKEN=$(pass cern/ci/nomad-bootstrap-token | head -1) \nomad-pack'
+alias nomad-diskfree='NOMAD_TOKEN=$(pass cern/ci/nomad-bootstrap-token | head -1) \nomad-diskfree'
+alias levant='NOMAD_TOKEN=$(pass cern/ci/nomad-bootstrap-token | head -1) \levant'
+alias consul='CONSUL_HTTP_TOKEN=$(pass cern/ci/consul-bootstrap-token | head -1) \consul'
+alias vault='VAULT_TOKEN=$(pass cern/ci/vault-root-token | head -1) \vault'
# Git aliases
alias ga='git add'