Skip to content

Commit a42c70f

Browse files
committed
cleanup
1 parent e9faa34 commit a42c70f

File tree

3 files changed

+17
-9
lines changed

3 files changed

+17
-9
lines changed

.github/workflows/build.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,18 @@ jobs:
2727
run: |
2828
npm ci
2929
npm run build
30-
- name: Run immudb
31-
run: |
32-
docker run -d --rm --health-cmd "immuadmin status" --health-interval 10s --health-timeout 5s --health-retries 5 -p 3322:3322 codenotary/immudb:1.3.2
33-
- name: Run showcase
30+
- name: Run overview showcase
3431
run: |
32+
docker run -d --rm --health-cmd "immuadmin status" --health-interval 10s --health-timeout 5s --health-retries 5 -p 3322:3322 --name immudb codenotary/immudb:1.3.2
3533
npx ts-node --esm ./immudb-node-showcase/src/overview-showcase.ts
34+
docker stop immudb
35+
- name: Run sql showcase
36+
run: |
37+
docker run -d --rm --health-cmd "immuadmin status" --health-interval 10s --health-timeout 5s --health-retries 5 -p 3322:3322 --name immudb codenotary/immudb:1.3.2
38+
npx ts-node --esm ./immudb-node-showcase/src/sql-showcase.ts
39+
docker stop immudb
40+
- name: Run zSet showcase
41+
run: |
42+
docker run -d --rm --health-cmd "immuadmin status" --health-interval 10s --health-timeout 5s --health-retries 5 -p 3322:3322 --name immudb codenotary/immudb:1.3.2
43+
npx ts-node --esm ./immudb-node-showcase/src/zSet-showcase.ts
44+
docker stop immudb

immudb-node-showcase/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,19 @@ best to restart immudb docker image before every showcase run):
2222

2323
```sh
2424
$ docker run -d -it --rm -p 8080:8080 -p 3322:3322 -p 9497:9497 -p 5432:5432 --name immudb codenotary/immudb:1.3.2
25-
$ npx ts-node --esm .\immudb-node-schowcase\src\overview-showcase.ts
25+
$ npx ts-node --esm ./immudb-node-showcase/src/overview-showcase.ts
2626
$ docker stop immudb
2727
```
2828

2929
```sh
3030
$ docker run -d -it --rm -p 8080:8080 -p 3322:3322 -p 9497:9497 -p 5432:5432 --name immudb codenotary/immudb:1.3.2
31-
$ npx ts-node --esm .\immudb-node-schowcase\src\sql-showcase.ts
31+
$ npx ts-node --esm ./immudb-node-showcase/src/sql-showcase.ts
3232
$ docker stop immudb
3333
```
3434

3535
```sh
3636
$ docker run -d -it --rm -p 8080:8080 -p 3322:3322 -p 9497:9497 -p 5432:5432 --name immudb codenotary/immudb:1.3.2
37-
$ npx ts-node --esm .\immudb-node-schowcase\src\zSet-showcase.ts
37+
$ npx ts-node --esm ./immudb-node-showcase/src/zSet-showcase.ts
3838
$ docker stop immudb
3939
```
4040

immudb-node/src/immu-api/sql-exec.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,10 @@ export function createSqlExec(client: igrpc.ImmuServiceClient) {
8686
const firstPK = igs.grpcSqlObjectNamedValueToNamedValues(
8787
grpcCommitedSqlTx.firstInsertedPKs
8888
)
89-
console.log('grpcCommitedSqlTx.firstInsertedPKs', grpcCommitedSqlTx.firstInsertedPKs)
89+
9090
const lastPK = igs.grpcSqlObjectNamedValueToNamedValues(
9191
grpcCommitedSqlTx.lastInsertedPKs
9292
)
93-
console.log('grpcCommitedSqlTx.lastInsertedPKs', grpcCommitedSqlTx.lastInsertedPKs)
9493

9594
return {
9695
tx,

0 commit comments

Comments
 (0)