Skip to content

Commit 9cbc2ca

Browse files
authored
feat: implement kademlia boot node logic (#6)
* feat: implement kademlia boot node logic * ci: remove armv7 build * chore: add more logging * chore: rename project from relay-server to boot-node
1 parent 0f6286b commit 9cbc2ca

File tree

10 files changed

+287
-170
lines changed

10 files changed

+287
-170
lines changed

.github/workflows/release-chat-example.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ on:
33
push:
44
branches:
55
- master
6-
- feat/chat-example
76
permissions: write-all
87
jobs:
98
metadata:
@@ -25,7 +24,7 @@ jobs:
2524
env:
2625
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2726
run: |
28-
RELEASE_URL=$(curl --silent "https://api.github.com/repos/calimero-network/relay-server/releases/tags/${{ steps.get_version.outputs.version }}" \
27+
RELEASE_URL=$(curl --silent "https://api.github.com/repos/calimero-network/boot-node/releases/tags/${{ steps.get_version.outputs.version }}" \
2928
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
3029
-H "Accept: application/vnd.github.v3+json" | jq -r '.url')
3130
if [[ "$RELEASE_URL" != "null" ]]; then

.github/workflows/release-dcutr-example.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
env:
2525
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2626
run: |
27-
RELEASE_URL=$(curl --silent "https://api.github.com/repos/calimero-network/relay-server/releases/tags/${{ steps.get_version.outputs.version }}" \
27+
RELEASE_URL=$(curl --silent "https://api.github.com/repos/calimero-network/boot-node/releases/tags/${{ steps.get_version.outputs.version }}" \
2828
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
2929
-H "Accept: application/vnd.github.v3+json" | jq -r '.url')
3030
if [[ "$RELEASE_URL" != "null" ]]; then

.github/workflows/release.yml

+3-7
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
env:
2525
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2626
run: |
27-
RELEASE_URL=$(curl --silent "https://api.github.com/repos/calimero-network/relay-server/releases/tags/${{ steps.get_version.outputs.version }}" \
27+
RELEASE_URL=$(curl --silent "https://api.github.com/repos/calimero-network/boot-node/releases/tags/${{ steps.get_version.outputs.version }}" \
2828
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
2929
-H "Accept: application/vnd.github.v3+json" | jq -r '.url')
3030
if [[ "$RELEASE_URL" != "null" ]]; then
@@ -57,15 +57,11 @@ jobs:
5757
- name: Build for Aarch Linux
5858
run: cross build --release --target=aarch64-unknown-linux-gnu
5959

60-
- name: Build for ARMv7 Linux
61-
run: cross build --release --target=armv7-unknown-linux-gnueabihf
62-
6360
- name: Create artifacts directory
6461
run: |
6562
mkdir -p artifacts
66-
cp target/x86_64-unknown-linux-gnu/release/relay-server artifacts/relay-server-x86_64-unknown-linux
67-
cp target/aarch64-unknown-linux-gnu/release/relay-server artifacts/relay-server-aarch64-unknown-linux
68-
cp target/armv7-unknown-linux-gnueabihf/release/relay-server artifacts/relay-server-armv7-unknown-linux
63+
cp target/x86_64-unknown-linux-gnu/release/boot-node artifacts/boot-node-x86_64-unknown-linux
64+
cp target/aarch64-unknown-linux-gnu/release/boot-node artifacts/boot-node-aarch64-unknown-linux
6965
7066
- name: Create GitHub Release
7167
uses: softprops/action-gh-release@v2

0 commit comments

Comments
 (0)