Skip to content

Commit 115cdd2

Browse files
authored
chore: update hardcoded version of nwaku to 0.36.0, remove unused ci job (#2710)
* fix: update hardcoded version of nwaku to 0.36.0 * fix: remove unused/outdated rln-sync-tree job
1 parent 0daa81d commit 115cdd2

File tree

6 files changed

+6
-110
lines changed

6 files changed

+6
-110
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -71,65 +71,18 @@ jobs:
7171
- run: npm run build:esm
7272
- run: npm run test:browser
7373

74-
build_rln_tree:
75-
if: false # This condition disables the job
76-
runs-on: ubuntu-latest
77-
steps:
78-
- uses: actions/checkout@v3
79-
with:
80-
repository: waku-org/js-waku
81-
- uses: actions/setup-node@v3
82-
with:
83-
node-version: ${{ env.NODE_JS }}
84-
- name: Check for existing RLN tree artifact
85-
id: check-artifact
86-
uses: actions/github-script@v6
87-
with:
88-
script: |
89-
const artifact = await github.rest.actions.listWorkflowRunArtifacts({
90-
owner: context.repo.owner,
91-
repo: context.repo.repo,
92-
run_id: context.runId
93-
});
94-
console.log(artifact);
95-
const foundArtifact = artifact.data.artifacts.find(art => art.name === 'rln_tree.tar.gz');
96-
if (foundArtifact) {
97-
core.setOutput('artifact_id', foundArtifact.id);
98-
core.setOutput('artifact_found', 'true');
99-
} else {
100-
core.setOutput('artifact_found', 'false');
101-
}
102-
- name: Download RLN tree artifact
103-
if: steps.check-artifact.outputs.artifact_found == 'true'
104-
uses: actions/download-artifact@v4
105-
with:
106-
name: rln_tree.tar.gz
107-
path: /tmp
108-
- uses: ./.github/actions/npm
109-
- name: Sync rln tree and save artifact
110-
run: |
111-
mkdir -p /tmp/rln_tree.db
112-
npm run build:esm
113-
npm run sync-rln-tree
114-
tar -czf rln_tree.tar.gz -C /tmp/rln_tree.db .
115-
- name: Upload artifact
116-
uses: actions/upload-artifact@v4
117-
with:
118-
name: rln_tree.tar.gz
119-
path: rln_tree.tar.gz
120-
12174
node:
12275
uses: ./.github/workflows/test-node.yml
12376
secrets: inherit
12477
with:
125-
nim_wakunode_image: ${{ inputs.nim_wakunode_image || 'wakuorg/nwaku:v0.35.1' }}
78+
nim_wakunode_image: ${{ inputs.nim_wakunode_image || 'wakuorg/nwaku:v0.36.0' }}
12679
test_type: node
12780
allure_reports: true
12881

12982
node_optional:
13083
uses: ./.github/workflows/test-node.yml
13184
with:
132-
nim_wakunode_image: ${{ inputs.nim_wakunode_image || 'wakuorg/nwaku:v0.35.1' }}
85+
nim_wakunode_image: ${{ inputs.nim_wakunode_image || 'wakuorg/nwaku:v0.36.0' }}
13386
test_type: node-optional
13487

13588
node_with_nwaku_master:

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,7 @@
4545
"doc": "run-s doc:*",
4646
"doc:html": "typedoc --options typedoc.cjs",
4747
"doc:cname": "echo 'js.waku.org' > docs/CNAME",
48-
"publish": "node ./ci/publish.js",
49-
"sync-rln-tree": "node ./packages/tests/src/sync-rln-tree.js"
48+
"publish": "node ./ci/publish.js"
5049
},
5150
"devDependencies": {
5251
"@size-limit/preset-big-lib": "^11.0.2",

packages/reliability-tests/src/run-tests.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { promisify } from "util";
33

44
const execAsync = promisify(exec);
55

6-
const WAKUNODE_IMAGE = process.env.WAKUNODE_IMAGE || "wakuorg/nwaku:v0.35.1";
6+
const WAKUNODE_IMAGE = process.env.WAKUNODE_IMAGE || "wakuorg/nwaku:v0.36.0";
77

88
async function main() {
99
try {

packages/tests/src/lib/service_node.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const WAKU_SERVICE_NODE_PARAMS =
3434
const NODE_READY_LOG_LINE = "Node setup complete";
3535

3636
export const DOCKER_IMAGE_NAME =
37-
process.env.WAKUNODE_IMAGE || "wakuorg/nwaku:v0.35.1";
37+
process.env.WAKUNODE_IMAGE || "wakuorg/nwaku:v0.36.0";
3838

3939
const LOG_DIR = "./log";
4040

packages/tests/src/run-tests.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { promisify } from "util";
33

44
const execAsync = promisify(exec);
55

6-
const WAKUNODE_IMAGE = process.env.WAKUNODE_IMAGE || "wakuorg/nwaku:v0.35.1";
6+
const WAKUNODE_IMAGE = process.env.WAKUNODE_IMAGE || "wakuorg/nwaku:v0.36.0";
77

88
async function main() {
99
try {

packages/tests/src/sync-rln-tree.js

Lines changed: 0 additions & 56 deletions
This file was deleted.

0 commit comments

Comments
 (0)