This repository was archived by the owner on Jan 22, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 22set -euo pipefail
33IFS=$' \n\t '
44
5+ export " KEYBASE_USERNAME=$BOT_USERNAME "
6+ export " KEYBASE_PAPERKEY=$BOT_PAPERKEY "
7+
58# For some reason it is necessary to touch a file in /shared/ in order to get the volume permissions to work correctly
69# when keybaseca generate runs
710touch /shared/.keep
@@ -12,6 +15,6 @@ ls tests/envFiles/ | xargs -I {} -- bash -c 'cat tests/envFiles/{} | envsubst >
1215
1316nohup bash -c " KEYBASE_RUN_MODE=prod kbfsfuse /keybase | grep -v 'ERROR Mounting the filesystem failed' &"
1417sleep 3
15- keybase oneshot --username $BOT_USERNAME --paperkey " $BOT_PAPERKEY "
18+ keybase oneshot
1619touch /shared/ready
1720python3 tests/bot-entrypoint.py
Original file line number Diff line number Diff line change 22set -euo pipefail
33IFS=$' \n\t '
44
5+ export " KEYBASE_USERNAME=$KSSH_USERNAME "
6+ export " KEYBASE_PAPERKEY=$KSSH_PAPERKEY "
7+
58nohup bash -c " run_keybase -g &"
69
710# Sleep until the CA bot has started
1215echo " "
1316sleep 2
1417
15- keybase oneshot --username $KSSH_USERNAME --paperkey " $KSSH_PAPERKEY "
18+ keybase oneshot
1619
1720echo " ========================= Launched Keybase, starting tests... ========================="
1821
You can’t perform that action at this time.
0 commit comments