diff options
| author | EuAndreh <eu@euandre.org> | 2019-05-28 02:14:05 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2019-05-28 02:20:00 -0300 |
| commit | 6b6af477cb7296279d317cf584a0020e0201156d (patch) | |
| tree | cc016501a7bfd2324e97c4437537eb261a296b2a /ci-setup.sh | |
| parent | Remove git rev-parse from .envrc (diff) | |
| download | server-6b6af477cb7296279d317cf584a0020e0201156d.tar.gz server-6b6af477cb7296279d317cf584a0020e0201156d.tar.xz | |
Split scripts into CI and VPS box
Diffstat (limited to 'ci-setup.sh')
| -rwxr-xr-x | ci-setup.sh | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/ci-setup.sh b/ci-setup.sh deleted file mode 100755 index 4c38993..0000000 --- a/ci-setup.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/usr/bin/env nix-shell -#!nix-shell -i bash -# shellcheck shell=bash -set -Eeuo pipefail -cd "$(dirname "${BASH_SOURCE[0]}")" - -echo "Unlocking git-crypt repos..." -git crypt unlock -# Assumes vps-state was already cloned -pushd ../vps-state/ -git crypt unlock -popd -echo "Done." - -# git smudge after git-crypt clears file permissions -chmod 600 ./secrets/vps_box -chmod 600 ./secrets/borg_remote -cat .envrc >> ~/.buildenv - -source .envrc -envsubst < ./ssh.conf >> ~/.ssh/config |
