mirror of
https://github.com/cerc-io/watcher-ts
synced 2026-09-01 13:59:20 +00:00
Rename to watcher-ts (#140)
This commit is contained in:
@@ -4,7 +4,6 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- graph-watcher
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
|
||||
@@ -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}}
|
||||
|
||||
@@ -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) .
|
||||
|
||||
@@ -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/).
|
||||
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user