aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2019-06-05 16:53:39 -0300
committerEuAndreh <eu@euandre.org>2019-06-05 16:53:39 -0300
commit83a7109d745e2dc76248c56ed17795df3f6ec93e (patch)
tree21274c43fd31fff7f8510b3dac39afacb48ca1b6 /scripts
parentClean leftovers from rotate-ssh-keys.sh (diff)
downloadserver-83a7109d745e2dc76248c56ed17795df3f6ec93e.tar.gz
server-83a7109d745e2dc76248c56ed17795df3f6ec93e.tar.xz
Fix ShellCheck offenses
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/box/bash-profile.sh1
-rwxr-xr-xscripts/ci/setup.sh6
2 files changed, 5 insertions, 2 deletions
diff --git a/scripts/box/bash-profile.sh b/scripts/box/bash-profile.sh
index e24d333..c024dbd 100755
--- a/scripts/box/bash-profile.sh
+++ b/scripts/box/bash-profile.sh
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
+# shellcheck disable=SC2164
alias l="ls -lahp --color"
cd /home/vps/
diff --git a/scripts/ci/setup.sh b/scripts/ci/setup.sh
index e6e85c9..e5b0ce2 100755
--- a/scripts/ci/setup.sh
+++ b/scripts/ci/setup.sh
@@ -24,8 +24,10 @@ cat .envrc >> ~/.buildenv
source .envrc
-export SSH_SERVER_PRIVATE_KEY="$(cat ./secrets/ssh/vps-box-server)"
-export SSH_SERVER_PUBLIC_KEY="$(cat ./secrets/ssh/vps-box-server.pub)"
+SSH_SERVER_PRIVATE_KEY="$(cat ./secrets/ssh/vps-box-server)"
+export SSH_SERVER_PRIVATE_KEY
+SSH_SERVER_PUBLIC_KEY="$(cat ./secrets/ssh/vps-box-server.pub)"
+export SSH_SERVER_PUBLIC_KEY
envsubst < ./cloud-config.env.yaml > ./cloud-config.yaml
envsubst < ./ssh.env.conf >> ~/.ssh/config