1
0
mirror of https://github.com/oceanprotocol-archive/squid-js.git synced 2024-02-02 15:31:51 +01:00

removed waiting for keeper artifacts script

This commit is contained in:
Pedro Gutiérrez 2019-01-15 11:36:05 +01:00
parent b6713bfc81
commit c5d26f2709
3 changed files with 0 additions and 23 deletions

1
.gitignore vendored
View File

@ -2,7 +2,6 @@ node_modules/
dist/ dist/
.nyc_output/ .nyc_output/
coverage/ coverage/
artifacts/
doc/ doc/
test/**/*.js test/**/*.js
src/**/*.js src/**/*.js

View File

@ -29,7 +29,6 @@ script:
- npm run report-coverage - npm run report-coverage
- npm run build - npm run build
- npm run doc - npm run doc
# - ./scripts/wait_for_migration_and_extract_keeper_artifacts.sh
- ./src/examples/fire_lazers.sh - ./src/examples/fire_lazers.sh
after_script: after_script:

View File

@ -1,21 +0,0 @@
#!/bin/bash
RETRY_COUNT=0
COMMAND_STATUS=1
mkdir -p artifacts
until [ $COMMAND_STATUS -eq 0 ] || [ $RETRY_COUNT -eq 120 ]; do
keeper_contracts_docker_id=$(docker container ls | grep keeper-contracts | awk '{print $1}')
docker cp ${keeper_contracts_docker_id}:/keeper-contracts/artifacts/ready ./artifacts/
COMMAND_STATUS=$?
sleep 5
let RETRY_COUNT=RETRY_COUNT+1
done
if [ $COMMAND_STATUS -ne 0 ]; then
echo "Waited for more than two minutes, but keeper contracts have not been migrated yet. Did you run an Ethereum RPC client and the migration script?"
exit 1
fi
docker cp ${keeper_contracts_docker_id}:/keeper-contracts/artifacts/. ./artifacts/