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 ++++++ tw/home/lap.scm | 2 ++ 2 files changed, 8 insertions(+) (limited to 'tw/home') 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. -- cgit v1.2.3