From 766d8f4dcfacec1f13bbe0b02ada27dbd3fcc30a Mon Sep 17 00:00:00 2001 From: DeepakBomjan <44976635+DeepakBomjan@users.noreply.github.com> Date: Wed, 18 Sep 2024 14:39:46 +0545 Subject: [PATCH] ci: add stellar keys --- .github/deployer/init_script.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/deployer/init_script.sh b/.github/deployer/init_script.sh index 3d6413c89..f0bcac5c3 100755 --- a/.github/deployer/init_script.sh +++ b/.github/deployer/init_script.sh @@ -120,11 +120,14 @@ echo "$SSH_PUBKEY" > $${DEPLOYR_HOME}/.ssh/authorized_keys set +x echo -n "$CIPHER_TEXT" | tr -d ' ' | base64 -d > /opt/deployer/root/keyutils/.cipher_text echo -n "$KMS_ID" > /opt/deployer/root/keyutils/kms_id +echo -n "$SOROBAN_SECRET_KEY" > /opt/deployer/root/keyutils/.soroban_key chmod -R 400 /opt/deployer/root/keyutils/.cipher_text +chmod 400 /opt/deployer/root/keyutils/.soroban_key chmod 770 /opt/deployer/root/keystore set -x cd /tmp +sysctl -p # Install go wget -q https://go.dev/dl/go$${GO_VERS}.linux-amd64.tar.gz tar xf go$${GO_VERS}.linux-amd64.tar.gz -C /usr/local