e2f7fa381b
* Utilize Ginkgo and replace `testing` library. * Add TOC to docs * Add Docker specific files * Remove -e * Update on-pr-manual.yml * Add depth * Add repositories * Remove $ from path * Update path for make * Setup Go and Ginkgo * Use go mod download * Use go install * Update on-pr-manual.yml * Use latest * Remove install of GINKGO * Add explicit gopath * Explicitly specify the gopath * Update on-pr-manual.yml * Update on-pr-manual.yml * Update on-pr-manual.yml * Update on-pr-manual.yml * Update on-pr-manual.yml * Update on-pr-manual.yml * Use which ginkgo * Try with make now * Final working Make
31 lines
703 B
Bash
Executable File
31 lines
703 B
Bash
Executable File
#!/bin/bash
|
|
echo "Starting ipld-ethcl-indexer"
|
|
|
|
echo /root/ipld-ethcl-indexer capture head --db.address $DB_ADDRESS \
|
|
--db.password $DB_PASSWORD \
|
|
--db.port $DB_PORT \
|
|
--db.username $DB_USER \
|
|
--db.name $DB_NAME \
|
|
--db.driver $DB_DRIVER \
|
|
--bc.address $BC_ADDRESS \
|
|
--bc.port $BC_PORT \
|
|
--log.level $LOG_LEVEL
|
|
|
|
/root/ipld-ethcl-indexer capture head --db.address $DB_ADDRESS \
|
|
--db.password $DB_PASSWORD \
|
|
--db.port $DB_PORT \
|
|
--db.username $DB_USER \
|
|
--db.name $DB_NAME \
|
|
--db.driver $DB_DRIVER \
|
|
--bc.address $BC_ADDRESS \
|
|
--bc.port $BC_PORT \
|
|
--log.level $LOG_LEVEL
|
|
|
|
rv=$?
|
|
|
|
if [ $rv != 0 ]; then
|
|
echo "ipld-ethcl-indexer startup failed"
|
|
exit 1
|
|
fi
|
|
|
|
tail -f /dev/null |