mirror of
https://github.com/cerc-io/watcher-ts
synced 2025-01-08 12:28:05 +00:00
Rename to watcher-ts (#140)
This commit is contained in:
parent
bd3113069a
commit
74f798b5c4
1
.github/workflows/on-main.yaml
vendored
1
.github/workflows/on-main.yaml
vendored
@ -4,7 +4,6 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
- graph-watcher
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lint:
|
lint:
|
||||||
|
6
.github/workflows/publish.yaml
vendored
6
.github/workflows/publish.yaml
vendored
@ -15,8 +15,8 @@ jobs:
|
|||||||
- name: Docker Login to Registry
|
- name: Docker Login to Registry
|
||||||
run: echo ${{ secrets.GITHUB_TOKEN }} | docker login ghcr.io -u vulcanize --password-stdin
|
run: echo ${{ secrets.GITHUB_TOKEN }} | docker login ghcr.io -u vulcanize --password-stdin
|
||||||
- name: Docker Pull
|
- 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
|
- 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
|
- 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}}
|
||||||
|
2
Makefile
2
Makefile
@ -1,4 +1,4 @@
|
|||||||
## Build docker image
|
## Build docker image
|
||||||
.PHONY: docker-build
|
.PHONY: docker-build
|
||||||
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)
|
- `TOKEN`: Personal access token (configured above)
|
||||||
- `PUBLIC-EMAIL-ADDRESS`: Email address
|
- `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/).
|
This project uses [yarn workspaces](https://classic.yarnpkg.com/en/docs/workspaces/).
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# Demo for IPLD statediff and checkpointing
|
# Demo for IPLD statediff and checkpointing
|
||||||
|
|
||||||
* In the root of `graph-watcher-ts`, run:
|
* In the root of `watcher-ts`, run:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
yarn && yarn build
|
yarn && yarn build
|
||||||
|
@ -90,7 +90,7 @@
|
|||||||
|
|
||||||
* In the [config file](./environments/local.toml) update the `database` connection settings.
|
* 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
|
```bash
|
||||||
# After setup
|
# After setup
|
||||||
|
@ -79,7 +79,7 @@
|
|||||||
|
|
||||||
* In the [config file](./environments/local.toml) update the `database` connection settings.
|
* 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
|
```bash
|
||||||
# After setup
|
# After setup
|
||||||
|
Loading…
Reference in New Issue
Block a user