Skip to content

Commit

Permalink
ci: add solana installation
Browse files Browse the repository at this point in the history
  • Loading branch information
DeepakBomjan authored Sep 30, 2024
1 parent 766d8f4 commit 03bd301
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/deployer/ec2_deployer.tf
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ resource "aws_instance" "ibc-deployer-testnet" {
iam_instance_profile = "SecretManagerReadAccess-ibc"
# associate_public_ip_address = false
root_block_device {
volume_size = 15
volume_size = 25
}
tags = {
Name = "testnet-deployer-machine"
Expand Down
13 changes: 7 additions & 6 deletions .github/deployer/init_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -247,12 +247,11 @@ alias make='sudo /opt/deployer/bin/deploy.sh'" >> $${DEPLOYR_HOME}/.bashrc
source "/root/.cargo/env"

export PATH=$${PATH}:/root/.cargo/bin
sh -c "$(curl -sSfL https://release.solana.com/v1.18.18/install)"
sudo apt-get install -y pkg-config build-essential libudev-dev libssl-dev
/root/.cargo/bin/cargo install --git https://github.com/coral-xyz/anchor avm --locked --force || true
avm install 0.30.1 ||

echo "export PATH=$${PATH}:/root/.local/share/solana/install/releases/1.18.18/solana-release/bin" >> /root/.bashrc
sh -c "$(curl -sSfL https://release.solana.com/v1.18.11/install)"
/root/.cargo/bin/cargo install --git https://github.com/coral-xyz/anchor --tag v0.30.1 anchor-cli
sudo apt-get install npm -y
npm install -g yarn
echo "export PATH=$${PATH}:/root/.local/share/solana/install/active_release/bin" >> /root/.bashrc

## Install multisig
cargo install --git https://github.com/icon-project/cw-plus.git --branch feat/test-multisig cwmultisig
Expand All @@ -262,5 +261,7 @@ wget https://github.com/stellar/stellar-cli/releases/download/v21.4.1/stellar-cl
tar -xvzf stellar-cli-21.4.1-x86_64-unknown-linux-gnu.tar.gz
mv stellar /usr/local/bin/stellar



chmod 400 /tmp/user_data_log.out || true

0 comments on commit 03bd301

Please sign in to comment.