aboutsummaryrefslogtreecommitdiff
path: root/tw/home
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
parent91f134456f9fedbe03ae5be3e62a06e84a0b5981 (diff)
Set up nomad, consul, vault
Diffstat (limited to 'tw/home')
-rw-r--r--tw/home/files/zshrc6
-rw-r--r--tw/home/lap.scm2
2 files changed, 8 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'
diff --git a/tw/home/lap.scm b/tw/home/lap.scm
index 57133e0b..fe521592 100644
--- a/tw/home/lap.scm
+++ b/tw/home/lap.scm
@@ -30,6 +30,7 @@
#:use-module (tw home emacs)
#:use-module (tw packages alice)
#:use-module (tw packages catppuccin)
+ #:use-module (tw packages ci)
#:use-module (tw packages games)
#:use-module (tw packages xorg)
#:use-module (tw gexp)
@@ -116,6 +117,7 @@
;; Work
s3cmd python-alibuild ; python-alidistlint
+ hashicorp-nomad-bin hashicorp-consul-bin hashicorp-vault-bin hashicorp-packer-bin
;; i3 and Xorg. i3 itself must be installed system-wide for gdm to pick it up.
;; acpilight is a drop-in xbacklight replacement, as xbacklight doesn't work on my system.