Skip to content

Commit

Permalink
Merge branch 'develop' into fix-nilerr
Browse files Browse the repository at this point in the history
  • Loading branch information
BarryTong65 committed Aug 1, 2023
2 parents 077a6bf + 5f66f55 commit 0a99691
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:

env:
GreenfieldTag: v0.2.3
GreenfieldStorageProviderTag: v0.2.3-alpha.18
GreenfieldStorageProviderTag: 30ca7aff82951156db76b475327d6d3c5bf93e48
GOPRIVATE: github.com/bnb-chain
GH_ACCESS_TOKEN: ${{ secrets.GH_TOKEN }}
MYSQL_USER: root
Expand Down Expand Up @@ -92,11 +92,35 @@ jobs:
bash ./deployment/localup/localup.sh --reset
bash ./deployment/localup/localup.sh --start
sleep 60
./deployment/localup/local_env/sp0/gnfd-sp0 update.quota --quota 5000000000 -c deployment/localup/local_env/sp0/config.toml
./deployment/localup/local_env/sp1/gnfd-sp1 update.quota --quota 5000000000 -c deployment/localup/local_env/sp1/config.toml
./deployment/localup/local_env/sp2/gnfd-sp2 update.quota --quota 5000000000 -c deployment/localup/local_env/sp2/config.toml
./deployment/localup/local_env/sp3/gnfd-sp3 update.quota --quota 5000000000 -c deployment/localup/local_env/sp3/config.toml
./deployment/localup/local_env/sp4/gnfd-sp4 update.quota --quota 5000000000 -c deployment/localup/local_env/sp4/config.toml
./deployment/localup/local_env/sp5/gnfd-sp5 update.quota --quota 5000000000 -c deployment/localup/local_env/sp5/config.toml
./deployment/localup/local_env/sp6/gnfd-sp6 update.quota --quota 5000000000 -c deployment/localup/local_env/sp6/config.toml
./deployment/localup/local_env/sp7/gnfd-sp7 update.quota --quota 5000000000 -c deployment/localup/local_env/sp7/config.toml
ps -ef | grep gnfd-sp | wc -l
tail -n 1000 deployment/localup/local_env/sp0/gnfd-sp.log
cd ../greenfield-go-sdk
# Run E2E Test
- name: start e2e
run: |
set +e
make e2e_test
exit_status_command=$?
if [ $exit_status_command -eq 0 ]; then
echo "make e2e_test successful."
else
cd ../greenfield-storage-provider
cat ./deployment/localup/local_env/sp0/log.txt
cat ./deployment/localup/local_env/sp1/log.txt
cat ./deployment/localup/local_env/sp2/log.txt
cat ./deployment/localup/local_env/sp3/log.txt
cat ./deployment/localup/local_env/sp4/log.txt
cat ./deployment/localup/local_env/sp5/log.txt
cat ./deployment/localup/local_env/sp6/log.txt
cat ./deployment/localup/local_env/sp7/log.txt
exit $exit_status_command
fi
cd ..

0 comments on commit 0a99691

Please sign in to comment.