aboutsummaryrefslogtreecommitdiff
path: root/ci-setup.sh
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2019-05-28 02:14:05 -0300
committerEuAndreh <eu@euandre.org>2019-05-28 02:20:00 -0300
commit6b6af477cb7296279d317cf584a0020e0201156d (patch)
treecc016501a7bfd2324e97c4437537eb261a296b2a /ci-setup.sh
parentRemove git rev-parse from .envrc (diff)
downloadtoph-6b6af477cb7296279d317cf584a0020e0201156d.tar.gz
toph-6b6af477cb7296279d317cf584a0020e0201156d.tar.xz
Split scripts into CI and VPS box
Diffstat (limited to 'ci-setup.sh')
-rwxr-xr-xci-setup.sh21
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