Nabarun
a322d6eed4
Some checks failed
Lint Checks / Run linter (push) Successful in 1m5s
Publish / Build and publish (push) Successful in 2m27s
Webapp Test / Run webapp test suite (push) Successful in 7m1s
Smoke Test / Run basic test suite (push) Successful in 7m30s
Deploy Test / Run deploy test suite (push) Successful in 9m23s
Fixturenet-Laconicd-Test / Run Laconicd fixturenet and Laconic CLI tests (push) Successful in 24m12s
Fixturenet-Eth-Plugeth-Test / Run an Ethereum plugeth fixturenet test (push) Failing after 51m33s
K8s Deploy Test / Run deploy test suite on kind/k8s (push) Successful in 6m56s
Fixturenet-Eth-Plugeth-Arm-Test / Run an Ethereum plugeth fixturenet test (push) Failing after 1h40m25s
Database Test / Run database hosting test on kind/k8s (push) Successful in 9m3s
Container Registry Test / Run contaier registry hosting test on kind/k8s (push) Successful in 4m4s
External Stack Test / Run external stack test suite (push) Successful in 4m31s
Part of [Deploy v2 and updated v3 sushiswap subgraphs](https://www.notion.so/Deploy-v2-and-updated-v3-sushiswap-subgraphs-e331945fdeea487c890706fc22c6cc94) - Add param `GRAPH_ETHEREUM_BLOCK_INGESTOR_MAX_CONCURRENT_JSON_RPC_CALLS_FOR_TXN_RECEIPTS` in graph-node stack - <https://github.com/graphprotocol/graph-node/blob/v0.31.0/docs/environment-variables.md#json-rpc-configuration-for-evm-chains> - Add dashboard for subgraphs deployment in graph-node - Show subgraph names in dashboard - Add watcher dashboard panel for showing watcher release version and commit hash Reviewed-on: #832 Co-authored-by: Nabarun <nabarun@deepstacksoft.com> Co-committed-by: Nabarun <nabarun@deepstacksoft.com>
23 lines
684 B
Docker
23 lines
684 B
Docker
FROM node:18.16.0-alpine3.16
|
|
|
|
RUN apk --update --no-cache add git python3 alpine-sdk jq
|
|
|
|
WORKDIR /app
|
|
|
|
COPY . .
|
|
|
|
# Get the latest Git commit hash and set it in package.json of all watchers
|
|
RUN COMMIT_HASH=$(git rev-parse HEAD) && \
|
|
find . -name 'package.json' -exec sh -c ' \
|
|
for packageFile; do \
|
|
jq --arg commitHash "$0" ".commitHash = \$commitHash" "$packageFile" > "$packageFile.tmp" && \
|
|
mv "$packageFile.tmp" "$packageFile"; \
|
|
done \
|
|
' "$COMMIT_HASH" {} \;
|
|
|
|
RUN echo "Building azimuth-watcher-ts" && \
|
|
yarn && yarn build
|
|
|
|
RUN echo "Install toml-js to update watcher config files" && \
|
|
yarn add --dev --ignore-workspace-root-check toml-js
|