aboutsummaryrefslogtreecommitdiff
path: root/ci-setup.sh
blob: b6af3c71cd58be94a5c33b462fa122b00be17aeb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/env bash
set -Eeuo pipefail
cd "${BASH_SOURCE%/*}/"

echo "Unlocking git-crypt repos..."
git crypt unlock
# Assumes vps-state was already cloned
pushd ../vps-state/
git crypt unlock
popd
echo "Done."

cat .envrc >> ~/.buildenv

source .envrc
envsubst < ./ssh.conf >> ~/.ssh/config