From ddd587b0778855f2199298d96fdd51792a948ea7 Mon Sep 17 00:00:00 2001 From: Timo Wilken Date: Wed, 22 Feb 2023 11:20:48 +0100 Subject: Set up nomad, consul, vault --- tw/home/files/zshrc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tw/home/files') 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' -- cgit v1.2.3