Skip to content

Commit 5684bdd

Browse files
LordKubayaRafaelAPB
authored andcommitted
chore: fix dependencies and ci disk usage
Signed-off-by: Carlos Amaro <[email protected]>
1 parent 44f3bb4 commit 5684bdd

File tree

20 files changed

+223
-5044
lines changed

20 files changed

+223
-5044
lines changed

.github/workflows/ci.yaml

Lines changed: 44 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,9 @@ jobs:
551551
JEST_TEST_RUNNER_DISABLED: false
552552
JEST_TEST_COVERAGE_PATH: ./code-coverage-ts/cactus-common-example-server
553553
JEST_TEST_CODE_COVERAGE_ENABLED: true
554-
TAPE_TEST_RUNNER_DISABLED: true
554+
TAPE_TEST_RUNNER_DISABLED: true,
555+
DUMP_DISK_USAGE_INFO_DISABLED: false
556+
FREE_UP_GITHUB_RUNNER_DISK_SPACE_DISABLED: false
555557
needs: build-dev
556558
runs-on: ubuntu-22.04
557559
steps:
@@ -588,6 +590,8 @@ jobs:
588590
JEST_TEST_COVERAGE_PATH: ./code-coverage-ts/cactus-common
589591
JEST_TEST_CODE_COVERAGE_ENABLED: true
590592
TAPE_TEST_RUNNER_DISABLED: true
593+
DUMP_DISK_USAGE_INFO_DISABLED: false
594+
FREE_UP_GITHUB_RUNNER_DISK_SPACE_DISABLED: false
591595
needs: build-dev
592596
runs-on: ubuntu-22.04
593597
steps:
@@ -623,6 +627,8 @@ jobs:
623627
JEST_TEST_COVERAGE_PATH: ./code-coverage-ts/cactus-core
624628
JEST_TEST_CODE_COVERAGE_ENABLED: true
625629
TAPE_TEST_RUNNER_DISABLED: true
630+
DUMP_DISK_USAGE_INFO_DISABLED: false
631+
FREE_UP_GITHUB_RUNNER_DISK_SPACE_DISABLED: false
626632
needs: build-dev
627633
runs-on: ubuntu-22.04
628634
steps:
@@ -657,6 +663,8 @@ jobs:
657663
JEST_TEST_COVERAGE_PATH: ./code-coverage-ts/cactus-core-api
658664
JEST_TEST_CODE_COVERAGE_ENABLED: true
659665
TAPE_TEST_RUNNER_DISABLED: true
666+
DUMP_DISK_USAGE_INFO_DISABLED: false
667+
FREE_UP_GITHUB_RUNNER_DISK_SPACE_DISABLED: false
660668
needs: build-dev
661669
runs-on: ubuntu-22.04
662670
steps:
@@ -693,6 +701,8 @@ jobs:
693701
JEST_TEST_CODE_COVERAGE_ENABLED: true
694702
TAPE_TEST_PATTERN: ./examples/cactus-example-carbon-accounting-backend/src/test/typescript/integration/admin-enroll-v1-endpoint.test.ts
695703
TAPE_TEST_RUNNER_DISABLED: false
704+
DUMP_DISK_USAGE_INFO_DISABLED: false
705+
FREE_UP_GITHUB_RUNNER_DISK_SPACE_DISABLED: false
696706
needs: build-dev
697707
runs-on: ubuntu-22.04
698708
steps:
@@ -832,6 +842,8 @@ jobs:
832842
JEST_TEST_COVERAGE_PATH: ./code-coverage-ts/ce-supply-chain-business-logic-plugin
833843
JEST_TEST_CODE_COVERAGE_ENABLED: true
834844
TAPE_TEST_RUNNER_DISABLED: true
845+
DUMP_DISK_USAGE_INFO_DISABLED: false
846+
FREE_UP_GITHUB_RUNNER_DISK_SPACE_DISABLED: false
835847
needs: build-dev
836848
runs-on: ubuntu-22.04
837849
steps:
@@ -901,6 +913,8 @@ jobs:
901913
JEST_TEST_COVERAGE_PATH: ./code-coverage-ts/cp-consortium-manual
902914
JEST_TEST_CODE_COVERAGE_ENABLED: true
903915
TAPE_TEST_RUNNER_DISABLED: true
916+
DUMP_DISK_USAGE_INFO_DISABLED: false
917+
FREE_UP_GITHUB_RUNNER_DISK_SPACE_DISABLED: false
904918
needs: build-dev
905919
runs-on: ubuntu-22.04
906920
steps:
@@ -937,6 +951,8 @@ jobs:
937951
TAPE_TEST_PATTERN: >-
938952
--files={./extensions/cactus-plugin-htlc-coordinator-besu/src/test/typescript/integration/plugin-htlc-coordinator/counterparty-htlc-endpoint.test.ts,./extensions/cactus-plugin-htlc-coordinator-besu/src/test/typescript/integration/plugin-htlc-coordinator/own-htlc-endpoint.test.ts,./extensions/cactus-plugin-htlc-coordinator-besu/src/test/typescript/integration/plugin-htlc-coordinator/refund.test.ts,./extensions/cactus-plugin-htlc-coordinator-besu/src/test/typescript/integration/plugin-htlc-coordinator/withdraw-counterparty-endpoint.test.ts}
939953
TAPE_TEST_RUNNER_DISABLED: true
954+
DUMP_DISK_USAGE_INFO_DISABLED: false
955+
FREE_UP_GITHUB_RUNNER_DISK_SPACE_DISABLED: false
940956
needs: build-dev
941957
runs-on: ubuntu-22.04
942958
steps:
@@ -971,6 +987,8 @@ jobs:
971987
JEST_TEST_COVERAGE_PATH: ./code-coverage-ts/cp-htlc-eth-besu
972988
JEST_TEST_CODE_COVERAGE_ENABLED: true
973989
TAPE_TEST_RUNNER_DISABLED: true
990+
DUMP_DISK_USAGE_INFO_DISABLED: false
991+
FREE_UP_GITHUB_RUNNER_DISK_SPACE_DISABLED: false
974992
needs: build-dev
975993
runs-on: ubuntu-22.04
976994
steps:
@@ -1005,6 +1023,8 @@ jobs:
10051023
JEST_TEST_COVERAGE_PATH: ./code-coverage-ts/cp-htlc-eth-besu-erc20
10061024
JEST_TEST_CODE_COVERAGE_ENABLED: true
10071025
TAPE_TEST_RUNNER_DISABLED: true
1026+
DUMP_DISK_USAGE_INFO_DISABLED: false
1027+
FREE_UP_GITHUB_RUNNER_DISK_SPACE_DISABLED: false
10081028
needs: build-dev
10091029
runs-on: ubuntu-22.04
10101030
steps:
@@ -1142,6 +1162,8 @@ jobs:
11421162
JEST_TEST_COVERAGE_PATH: ./code-coverage-ts/cpk-memory
11431163
JEST_TEST_CODE_COVERAGE_ENABLED: true
11441164
TAPE_TEST_RUNNER_DISABLED: true
1165+
DUMP_DISK_USAGE_INFO_DISABLED: false
1166+
FREE_UP_GITHUB_RUNNER_DISK_SPACE_DISABLED: false
11451167
needs: build-dev
11461168
runs-on: ubuntu-22.04
11471169
steps:
@@ -1176,6 +1198,8 @@ jobs:
11761198
JEST_TEST_CODE_COVERAGE_ENABLED: true
11771199
TAPE_TEST_PATTERN: ./packages/cactus-plugin-keychain-memory-wasm/src/test/typescript/unit/plugin-keychain-memory-wasm.test.ts
11781200
TAPE_TEST_RUNNER_DISABLED: true
1201+
DUMP_DISK_USAGE_INFO_DISABLED: false
1202+
FREE_UP_GITHUB_RUNNER_DISK_SPACE_DISABLED: false
11791203
needs: build-dev
11801204
runs-on: ubuntu-22.04
11811205
steps:
@@ -1210,6 +1234,8 @@ jobs:
12101234
JEST_TEST_CODE_COVERAGE_ENABLED: true
12111235
TAPE_TEST_PATTERN: '--files={./packages/cactus-plugin-keychain-vault/src/test/typescript/integration/cactus-keychain-vault-server.test.ts,./packages/cactus-plugin-keychain-vault/src/test/typescript/integration/openapi/openapi-validation.test.ts,./packages/cactus-plugin-keychain-vault/src/test/typescript/integration/plugin-keychain-vault.test.ts}'
12121236
TAPE_TEST_RUNNER_DISABLED: false
1237+
DUMP_DISK_USAGE_INFO_DISABLED: false
1238+
FREE_UP_GITHUB_RUNNER_DISK_SPACE_DISABLED: false
12131239
needs: build-dev
12141240
runs-on: ubuntu-22.04
12151241
steps:
@@ -1247,6 +1273,8 @@ jobs:
12471273
JEST_TEST_COVERAGE_PATH: ./code-coverage-ts/cpl-connector-aries
12481274
JEST_TEST_CODE_COVERAGE_ENABLED: true
12491275
TAPE_TEST_RUNNER_DISABLED: true
1276+
DUMP_DISK_USAGE_INFO_DISABLED: false
1277+
FREE_UP_GITHUB_RUNNER_DISK_SPACE_DISABLED: false
12501278
runs-on: ubuntu-22.04
12511279
steps:
12521280
- name: Use Node.js ${{ env.NODEJS_VERSION }}
@@ -1285,6 +1313,8 @@ jobs:
12851313
TAPE_TEST_PATTERN: >-
12861314
--files={./packages/cactus-plugin-ledger-connector-besu/src/test/typescript/integration/plugin-ledger-connector-besu/deploy-contract/private-deploy-contract-from-json-web3-eea.test.ts,./packages/cactus-plugin-ledger-connector-besu/src/test/typescript/integration/plugin-ledger-connector-besu/deploy-contract/v21-get-record-locator.test.ts}
12871315
TAPE_TEST_RUNNER_DISABLED: false
1316+
DUMP_DISK_USAGE_INFO_DISABLED: false
1317+
FREE_UP_GITHUB_RUNNER_DISK_SPACE_DISABLED: false
12881318
runs-on: ubuntu-22.04
12891319
steps:
12901320
- name: Use Node.js ${{ env.NODEJS_VERSION }}
@@ -1384,6 +1414,7 @@ jobs:
13841414
if: needs.compute_changed_packages.outputs.plugin-ledger-connector-corda-changed == 'true'
13851415
env:
13861416
FREE_UP_GITHUB_RUNNER_DISK_SPACE_DISABLED: false
1417+
DUMP_DISK_USAGE_INFO_DISABLED: false
13871418
FULL_BUILD_DISABLED: true
13881419
JEST_TEST_PATTERN: packages/cactus-plugin-ledger-connector-corda/src/test/typescript/(unit|integration|benchmark)/.*/*.test.ts
13891420
JEST_TEST_RUNNER_DISABLED: false
@@ -1448,6 +1479,8 @@ jobs:
14481479
TAPE_TEST_RUNNER_DISABLED: true
14491480
JEST_TEST_COVERAGE_PATH: ./code-coverage-ts/cpl-connector-stellar
14501481
JEST_TEST_CODE_COVERAGE_ENABLED: true
1482+
FREE_UP_GITHUB_RUNNER_DISK_SPACE_DISABLED: false
1483+
DUMP_DISK_USAGE_INFO_DISABLED: false
14511484
runs-on: ubuntu-22.04
14521485
steps:
14531486
- name: Use Node.js ${{ env.NODEJS_VERSION }}
@@ -2072,6 +2105,8 @@ jobs:
20722105
JEST_TEST_COVERAGE_PATH: ./code-coverage-ts/ctp-ledger-connector-besu
20732106
JEST_TEST_CODE_COVERAGE_ENABLED: true
20742107
TAPE_TEST_RUNNER_DISABLED: true
2108+
FREE_UP_GITHUB_RUNNER_DISK_SPACE_DISABLED: false
2109+
DUMP_DISK_USAGE_INFO_DISABLED: false
20752110
runs-on: ubuntu-22.04
20762111
steps:
20772112
- name: Use Node.js ${{ env.NODEJS_VERSION }}
@@ -2104,6 +2139,8 @@ jobs:
21042139
JEST_TEST_COVERAGE_PATH: ./code-coverage-ts/ctp-ledger-connector-ethereum
21052140
JEST_TEST_CODE_COVERAGE_ENABLED: true
21062141
TAPE_TEST_RUNNER_DISABLED: true
2142+
FREE_UP_GITHUB_RUNNER_DISK_SPACE_DISABLED: false
2143+
DUMP_DISK_USAGE_INFO_DISABLED: false
21072144
needs: build-dev
21082145
runs-on: ubuntu-22.04
21092146
steps:
@@ -2142,6 +2179,8 @@ jobs:
21422179
TAPE_TEST_PATTERN: >-
21432180
--files={./packages/cactus-test-tooling/src/test/typescript/integration/besu/besu-test-ledger/constructor-validates-options.test.ts,./packages/cactus-test-tooling/src/test/typescript/integration/fabric/fabric-test-ledger-v1/constructor-validates-options.test.ts,./packages/cactus-test-tooling/src/test/typescript/integration/substrate/substrate-test-ledger-constructor.test.ts,./packages/cactus-test-tooling/src/test/typescript/integration/substrate/substrate-test-ledger-multiple-concurrent.test.ts}
21442181
TAPE_TEST_RUNNER_DISABLED: false
2182+
FREE_UP_GITHUB_RUNNER_DISK_SPACE_DISABLED: false
2183+
DUMP_DISK_USAGE_INFO_DISABLED: false
21452184
runs-on: ubuntu-22.04
21462185
steps:
21472186
- name: Use Node.js ${{ env.NODEJS_VERSION }}
@@ -2174,6 +2213,8 @@ jobs:
21742213
JEST_TEST_COVERAGE_PATH: ./code-coverage-ts/cactus-verifier-client
21752214
JEST_TEST_CODE_COVERAGE_ENABLED: true
21762215
TAPE_TEST_RUNNER_DISABLED: true
2216+
FREE_UP_GITHUB_RUNNER_DISK_SPACE_DISABLED: false
2217+
DUMP_DISK_USAGE_INFO_DISABLED: false
21772218
needs: build-dev
21782219
runs-on: ubuntu-22.04
21792220
steps:
@@ -2207,6 +2248,8 @@ jobs:
22072248
JEST_TEST_COVERAGE_PATH: ./code-coverage-ts/cp-consortium-static
22082249
JEST_TEST_CODE_COVERAGE_ENABLED: true
22092250
TAPE_TEST_RUNNER_DISABLED: true
2251+
FREE_UP_GITHUB_RUNNER_DISK_SPACE_DISABLED: false
2252+
DUMP_DISK_USAGE_INFO_DISABLED: false
22102253
needs: build-dev
22112254
runs-on: ubuntu-22.04
22122255
steps:

examples/cactus-example-cbdc-bridging-backend/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@
132132
"typescript-optional": "2.0.1",
133133
"uuid": "10.0.0",
134134
"web3": "1.6.1",
135+
"web3-core": "1.6.1",
135136
"web3-utils": "1.6.1",
136137
"webpack": "5.94.0"
137138
},

examples/cactus-example-cbdc-bridging-backend/src/main/go/generated/openapi/.openapi-generator/FILES

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
.gitignore
2-
.openapi-generator-ignore
32
.travis.yml
43
README.md
54
api/openapi.yaml
@@ -43,11 +42,4 @@ model_transact_request.go
4342
model_transact_response.go
4443
model_transfer_request.go
4544
response.go
46-
test/api_approve_test.go
47-
test/api_get_amount_approved_test.go
48-
test/api_get_balance_test.go
49-
test/api_get_sessions_references_test.go
50-
test/api_mint_test.go
51-
test/api_transact_test.go
52-
test/api_transfer_test.go
5345
utils.go

examples/cactus-example-cbdc-bridging-backend/src/main/go/generated/openapi/client.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/cactus-example-cbdc-bridging-backend/src/main/go/generated/openapi/configuration.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/cactus-example-cbdc-bridging-backend/src/main/go/generated/openapi/response.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/cactus-example-cbdc-bridging-backend/src/main/go/generated/openapi/utils.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/cactus-example-cbdc-bridging-backend/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/FILES

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
.gitignore
22
.npmignore
3+
.openapi-generator-ignore
34
api.ts
45
base.ts
56
common.ts

examples/cactus-example-cbdc-bridging-backend/src/test/typescript/integration/cbdc-examples.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -657,10 +657,8 @@ describe("CBDC E2E API Scenarios", () => {
657657
expect(lockResult.success).toBe(true);
658658

659659
let transactionCompleted = false;
660-
let attempts = 0;
661660
while (!transactionCompleted) {
662661
await new Promise((resolve) => setTimeout(resolve, 3000));
663-
attempts++;
664662

665663
try {
666664
const aliceBalance = await getBalanceApi.getBalance(

packages/cactus-plugin-ledger-connector-fabric/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@
7575
"http-errors": "2.0.0",
7676
"http-status-codes": "2.1.4",
7777
"joi": "17.13.3",
78+
"json5": "2.2.3",
7879
"jsrsasign": "11.0.0",
7980
"lodash": "4.17.21",
8081
"long": "5.2.3",

0 commit comments

Comments
 (0)