From 74f798b5c47a2db12f5c59ab1a20e6288af635c1 Mon Sep 17 00:00:00 2001 From: nikugogoi Date: Thu, 7 Jul 2022 12:38:32 +0530 Subject: [PATCH] Rename to watcher-ts (#140) --- .github/workflows/on-main.yaml | 1 - .github/workflows/publish.yaml | 6 +++--- Makefile | 2 +- README.md | 2 +- ipld-demo.md | 2 +- packages/erc721-watcher/demo.md | 2 +- packages/mobymask-watcher/demo.md | 2 +- 7 files changed, 8 insertions(+), 9 deletions(-) diff --git a/.github/workflows/on-main.yaml b/.github/workflows/on-main.yaml index 9a71af3d2..34012bf0c 100644 --- a/.github/workflows/on-main.yaml +++ b/.github/workflows/on-main.yaml @@ -4,7 +4,6 @@ on: push: branches: - main - - graph-watcher jobs: lint: diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 2b6ec2725..75d703fdd 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -15,8 +15,8 @@ jobs: - name: Docker Login to Registry run: echo ${{ secrets.GITHUB_TOKEN }} | docker login ghcr.io -u vulcanize --password-stdin - name: Docker Pull - run: docker pull ghcr.io/vulcanize/graph-watcher-ts:${{steps.vars.outputs.sha}} + run: docker pull ghcr.io/vulcanize/watcher-ts:${{steps.vars.outputs.sha}} - name: Tag docker image - run: docker tag ghcr.io/vulcanize/graph-watcher-ts:${{steps.vars.outputs.sha}} ghcr.io/vulcanize/graph-watcher-ts:${{steps.vars.outputs.tag}} + run: docker tag ghcr.io/vulcanize/watcher-ts:${{steps.vars.outputs.sha}} ghcr.io/vulcanize/watcher-ts:${{steps.vars.outputs.tag}} - name: Docker Push to Github Hub - run: docker push ghcr.io/vulcanize/graph-watcher-ts:${{steps.vars.outputs.tag}} + run: docker push ghcr.io/vulcanize/watcher-ts:${{steps.vars.outputs.tag}} diff --git a/Makefile b/Makefile index 97322cbd4..bf5466a5c 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ ## Build docker image .PHONY: docker-build docker-build: - docker build -t vulcanize/graph-watcher-ts --build-arg NPM_AUTH_TOKEN=$(NPM_AUTH_TOKEN) . + docker build -t vulcanize/watcher-ts --build-arg NPM_AUTH_TOKEN=$(NPM_AUTH_TOKEN) . diff --git a/README.md b/README.md index e9feff56e..4ab5a02a7 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ There are packages used from github so we need to follow the following steps to - `TOKEN`: Personal access token (configured above) - `PUBLIC-EMAIL-ADDRESS`: Email address -4. When authenticating to github packages for the first time, yarn install may throw Unauthorized error. To overcome this we need to run yarn install in `packages/graph-node` directory of graph-watcher repo. After this yarn install for graph-watcher-ts works properly even from root of the repo. +4. When authenticating to github packages for the first time, yarn install may throw Unauthorized error. To overcome this we need to run yarn install in `packages/graph-node` directory. After this yarn install for watcher-ts works properly even from root of the repo. This project uses [yarn workspaces](https://classic.yarnpkg.com/en/docs/workspaces/). diff --git a/ipld-demo.md b/ipld-demo.md index dea1bf42b..53f8134e0 100644 --- a/ipld-demo.md +++ b/ipld-demo.md @@ -1,6 +1,6 @@ # Demo for IPLD statediff and checkpointing -* In the root of `graph-watcher-ts`, run: +* In the root of `watcher-ts`, run: ```bash yarn && yarn build diff --git a/packages/erc721-watcher/demo.md b/packages/erc721-watcher/demo.md index ec2834bbd..baba013bf 100644 --- a/packages/erc721-watcher/demo.md +++ b/packages/erc721-watcher/demo.md @@ -90,7 +90,7 @@ * In the [config file](./environments/local.toml) update the `database` connection settings. -* In `graph-watcher` repo, follow the instructions in [Setup](../../README.md#setup) for installing and building packages. +* In `watcher-ts` repo, follow the instructions in [Setup](../../README.md#setup) for installing and building packages. ```bash # After setup diff --git a/packages/mobymask-watcher/demo.md b/packages/mobymask-watcher/demo.md index 7976b5616..7c0c0f5b6 100644 --- a/packages/mobymask-watcher/demo.md +++ b/packages/mobymask-watcher/demo.md @@ -79,7 +79,7 @@ * In the [config file](./environments/local.toml) update the `database` connection settings. -* In `graph-watcher` repo, follow the instructions in [Setup](../../README.md#setup) for installing and building packages. +* In `watcher-ts` repo, follow the instructions in [Setup](../../README.md#setup) for installing and building packages. ```bash # After setup