Skip to content

Commit

Permalink
Merge pull request #17 from AElfProject/update-node
Browse files Browse the repository at this point in the history
Update test node to v1.0.0
  • Loading branch information
shiwk authored Dec 10, 2020
2 parents 082ce2d + 1c35304 commit 8e29ecb
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
# All tasks on macOS
displayName: Build all tasks (macos)
pool:
vmImage: macos-latest
vmImage: macOS-10.14
variables:
phpVersion: 7.2
steps:
Expand All @@ -78,7 +78,7 @@ jobs:
php composer-setup.php
sudo mv composer.phar /usr/local/bin/composer
composer config -g repo.packagist composer https://packagist.phpcomposer.com
composer install --no-interaction --prefer-dist
composer install --no-interaction --prefer-dist
- script: php phpunit.phar --bootstrap bootstrap.php tests/AElfTest.php
displayName: 'test'

2 changes: 1 addition & 1 deletion scripts/aelf-node/start-mac.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ brew services start redis
brew install unzip
mkdir -p ~/.local/share/aelf/keys
cd ../../
wget https://github.com/AElfProject/AElf/releases/download/v1.0.0-rc1/aelf.zip && unzip aelf.zip
wget https://github.com/AElfProject/AElf/releases/download/v1.0.0/aelf.zip && unzip aelf.zip
cp scripts/aelf-node/keys/SD6BXDrKT2syNd1WehtPyRo3dPBiXqfGUj8UJym7YP9W9RynM.json ~/.local/share/aelf/keys/
cp scripts/aelf-node/app* aelf/
echo "start node"
Expand Down
2 changes: 1 addition & 1 deletion scripts/aelf-node/start-window.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ $job1 = Start-Job -ScriptBlock { cd D:\a\1\s\redis; .\redis-server.exe; }
sleep 30
mkdir -p C:\Users\VssAdministrator\AppData\Local\aelf\keys
cp -r scripts\aelf-node\keys\* C:\Users\VssAdministrator\AppData\Local\aelf\keys;
wget https://github.com/AElfProject/AElf/releases/download/v1.0.0-rc1/aelf.zip -OutFile aelf.zip ;
wget https://github.com/AElfProject/AElf/releases/download/v1.0.0/aelf.zip -OutFile aelf.zip ;
Expand-Archive -Path aelf.zip -DestinationPath aelf ;
cp scripts\aelf-node\appsettings.json aelf\aelf\appsettings.json ;
cp scripts\aelf-node\appsettings.MainChain.TestNet.json aelf\aelf\appsettings.MainChain.TestNet.json ;
Expand Down
2 changes: 1 addition & 1 deletion scripts/aelf-node/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ip=`ip a | grep eth0 |grep 'inet' | awk -F/ '{print $1}'| awk '{print $2}'`
sudo apt update && apt install unzip
sudo mkdir -p /home/ubuntu/.ssh/aelf/keys && sudo mkdir -p /root/.ssh/aelf/keys
cd ../../
wget https://github.com/AElfProject/AElf/releases/download/v1.0.0-rc1/aelf.zip
wget https://github.com/AElfProject/AElf/releases/download/v1.0.0/aelf.zip
sudo unzip aelf.zip
sed -i "s/127.0.0.1/$ip/g" scripts/aelf-node/appsettings.json
sudo mkdir -p aelf/aelf/keys
Expand Down

0 comments on commit 8e29ecb

Please sign in to comment.