From 2431e6711c526e643566cd661694a4f20e4c10df Mon Sep 17 00:00:00 2001 From: Pranay Valson Date: Mon, 4 Apr 2022 13:03:18 -0700 Subject: [PATCH] updates golang-ci linter version and entry scripts Signed-off-by: Pranay Valson --- .github/workflows/golangci-lint.yml | 2 +- docker-compose-local.yml | 2 +- entry.sh | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index ab56ca54..852f7b9b 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -22,7 +22,7 @@ jobs: uses: golangci/golangci-lint-action@v2 with: # Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version - version: v1.43 + version: v1.44 # Optional: working directory, useful for monorepos # working-directory: somedir diff --git a/docker-compose-local.yml b/docker-compose-local.yml index ca6ee776..94e3be68 100644 --- a/docker-compose-local.yml +++ b/docker-compose-local.yml @@ -95,7 +95,7 @@ services: sleep 1; done; echo proof-chain contracts deployed!; - ./bsp-agent --redis-url=redis://username:@redis:6379/0?topic=replication#replicate --avro-codec-path=./codec/block-ethereum.avsc --binary-file-path=./bin/block-ethereum/ --gcp-svc-account=./gcloud/bsp-2.json --replica-bucket=covalenthq-geth-block-specimen --segment-length=10 --proof-chain-address=0xEa2ff902dbeEECcc828757B881b343F9316752e5 --consumer-timeout=15; + ./bsp-agent --redis-url=redis://username:@redis:6379/0?topic=replication#replicate --avro-codec-path=./codec/block-ethereum.avsc --binary-file-path=./bin/block-ethereum/ --gcp-svc-account=./gcloud/bsp-2.json --replica-bucket=covalenthq-geth-block-specimen --segment-length=1 --proof-chain-address=0xEa2ff902dbeEECcc828757B881b343F9316752e5 --consumer-timeout=15; exit 0;" environment: - ETH_PRIVATE_KEY=${PRIVATE_KEY} diff --git a/entry.sh b/entry.sh index 02a318ca..24d18423 100755 --- a/entry.sh +++ b/entry.sh @@ -4,7 +4,7 @@ then timeout 120s ./bsp-agent --redis-url=redis://username:@redis:6379/0?topic=replication-1#replicate \ --avro-codec-path=./codec/block-elrond.avsc \ --binary-file-path=./bin/block-elrond/ \ - --segment-length=10 \ + --segment-length=1 \ --proof-chain-address=0xea2ff902dbeeeccc828757b881b343f9316752e5 \ --consumer-timeout=15 \ --websocket-urls="34.66.210.112:20000 34.66.210.112:20001 34.66.210.112:20002 34.66.210.112:20003" @@ -12,7 +12,7 @@ else ./bsp-agent --redis-url=redis://username:@redis:6379/0?topic=replication-1#replicate \ --avro-codec-path=./codec/block-ethereum.avsc \ --binary-file-path=./bin/block-ethereum/ \ - --segment-length=10 \ + --segment-length=1 \ --proof-chain-address=0xea2ff902dbeeeccc828757b881b343f9316752e5 \ --consumer-timeout=15 fi