Commit Graph

1774 Commits

Author SHA1 Message Date
TC Johnson
c33f0f19da
Added Earthfile condition and RPM spec fix
Dry run will now trigger for Earthfile changes. I also reordered the
changelog in veilid-server.spec to descending to correct that error.

Commented out the crates.io publishing dry run. This branch does not
have access to the protected variables.
2024-04-29 15:26:03 -05:00
TC Johnson
038f4d2121
Added CICD dry run
This is the first attempt at setting up a dry run pipeline
to test changes to the CICD config without actually publishing
the compiled binaries and packages built by the process.

The dry run should be triggered by any changes to .gitlab-ci.yml
or changes to any of the scripts under scripts/cicd/.
2024-04-29 14:40:07 -05:00
TC Johnson
6c6be00feb
Calling bash explicitly
The paths work now, but the scripts are not set with execute permission.
I don't know if that permission will survive the transfer from my machine
across the git and runner stuff so I added an explicit call for bash instead.
2024-04-28 20:39:18 -05:00
TC Johnson
2821e4ee18
It was a typo in the script name
Was missing the r in ctrl then spread via copy paste. Fixed the typo and
reverted the paths to relative because that should work just fine.
2024-04-28 19:24:45 -05:00
TC Johnson
4644b7a401
Hardcoded runner IDs into script paths
The runner ID CI variable resolved to the runners' numeric ID whereas
the project path uses the runners' alpha-numeric formatted ID. Both
IDs show in Gitlab's settings->cicd->runners. For the time being, I've
hardcoded the alpha-numeric ID into the script paths in the CI config.
If we have to retate runners, we will need to update these entries.
2024-04-28 18:58:28 -05:00
TC Johnson
2a73946246
Modified path to CICD scripts in CI config
I thought CICD's working directory was in the project root but the release
failed to find the scripts. I've changed the script executions to absolute
paths. There's a directory is named for the runner's ID, is different on
each machine, and changes if the runner is replaced. There's a variable
that should overcome this, CI_RUNNER_ID, which I've used in the asbolute
paths. Fingers crossed, let's try it again.
2024-04-28 18:21:39 -05:00
TC Johnson
bdb7ad32f2
Version update: v0.3.1 → v0.3.2 2024-04-28 17:33:07 -05:00
TC Johnson
b1fc71f5db
Updated changelog for v0.3.2 2024-04-28 17:26:27 -05:00
John Smith
c8bb574948 fix warning on windows 2024-04-28 17:37:47 -04:00
Christien Rioux
49e6eace8e add IPC directory to rpm and deb packaging
add config verify step after all command line options have been processed

closes #366
2024-04-28 17:31:04 -04:00
Christien Rioux
b0ccd04a9f fix WASM build
improve Earthfile with better unit tests and updated dependencies
2024-04-28 16:15:09 -04:00
Christien Rioux
eba349d22c integration test for dht records 2024-04-28 12:42:13 -04:00
Christien Rioux
612921a34d Merge branch 'improved-relaying' into 'main'
Native IPV4-IPV6 bridging support

Closes #371

See merge request veilid/veilid!275
2024-04-28 02:49:47 +00:00
Christien Rioux
bac12131c6 fix bug where messages sent to a private route without a safety route would not receive replies
fix verbose-tracing feature flag
improve route allocation to avoid co-located nodes
2024-04-27 22:05:19 -04:00
Christien Rioux
7c7ea4e3c7 fix contact method for nodes on the same ipblock 2024-04-27 19:06:30 -04:00
Christien Rioux
b3c7c93f97 add support for maintaining AddressType-translation relays 2024-04-27 16:41:26 -04:00
John Smith
19a1e0cf1b cargo update 2024-04-26 20:21:19 -04:00
Christien Rioux
4d9ad5fac0 fix inbound protocol map for discovery 2024-04-26 19:56:33 -04:00
Christien Rioux
4bd2ee51b7 Merge branch 'refactor-net-bind' into 'main'
Refactor low level network

See merge request veilid/veilid!274
2024-04-26 21:09:08 +00:00
John Smith
06aa4cfa69 windows fix 2024-04-26 16:34:58 -04:00
John Smith
4906c5df78 more refactor and clean up low level networking 2024-04-26 15:23:38 -04:00
John Smith
03e872c128 refactor net bind, wip 2024-04-25 21:32:35 -04:00
Christien Rioux
82d107f446 watchvalue debugging and improved timeout 2024-04-24 22:43:48 -04:00
Christien Rioux
d3b596a70e fix fanout regression 2024-04-23 18:52:38 -04:00
Christien Rioux
6373cc0e9d more offline subkey write improvements 2024-04-23 12:22:54 -04:00
Christien Rioux
3268836a5b improve offline subkey writes to ensure failed setvalue even when online tries again
add help for record list opened as well as active watch debugging
2024-04-22 22:16:41 -04:00
Christien Rioux
7daf351608 Merge branch 'watchvalue-fixes' into 'main'
Fixes for watchvalue

See merge request veilid/veilid!272
2024-04-22 02:26:15 +00:00
Christien Rioux
43e6be2912 add ping validator every 10 seconds for active watch nodes 2024-04-21 20:24:20 -04:00
John Smith
80e2007fff minor nit 2024-04-21 18:02:14 -04:00
Christien Rioux
ee040b32b9 don't fan out for watch value changes or cancels
fix fanout pop ordering
2024-04-21 18:01:06 -04:00
TC
5dbf647b95 Merge branch 'add-cicd-scripts' into 'main'
Migrating CICD scripts to Veilid repo

See merge request veilid/veilid!271
2024-04-21 18:51:49 +00:00
TC Johnson
c969df33d8
Merge branch 'main' into add-cicd-scripts
[ci skip]
2024-04-21 13:47:17 -05:00
TC Johnson
06f344ebb4
Migrating CICD scripts to Veilid repo
Copied CICD scripts into the repository so that the community can make
contributions to the build system. Wrote a brief description of the
build and distribute process. Modified the CICD config to use the repo
hosted scripts. [ci skip]
2024-04-21 13:37:45 -05:00
Christien Rioux
39c47dbd66 harden assembly buffer unit test 2024-04-20 12:25:49 -04:00
Christien Rioux
a0de48771e Merge branch 'main' into 'main'
removed hotfix, as this has been integrated into cargo-ndk already

See merge request veilid/veilid!269
2024-04-20 15:14:33 +00:00
Christien Rioux
18050a5f86 Merge branch 'dht-optimization' into 'main'
DHT optimization and bugfixes

See merge request veilid/veilid!270
2024-04-20 15:11:30 +00:00
Christien Rioux
62c38a7642 valuechange now fires for offline writes 2024-04-19 15:00:43 -04:00
Debanjan Basu
54b7be1eea updated indentation hoping to match what was already there 2024-04-14 15:52:32 +10:00
Debanjan Basu
339f2e8372 finxed indentation 2024-04-14 15:50:23 +10:00
Debanjan Basu
70bc2235d7 upgraded the ndk version 2024-04-14 15:31:16 +10:00
Christien Rioux
4a190a6853 add offline subkeys to dht record report 2024-04-13 14:15:09 -04:00
Debanjan Basu
0756107d95 removed hotfix, as this has been integrated into cargo-ndk already 2024-04-13 19:34:47 +10:00
Christien Rioux
e89359e1f5 fix deprecated function 2024-04-10 13:37:47 -04:00
Christien Rioux
ce3d333397 fanout seeding 2024-04-07 16:19:22 -04:00
Christien Rioux
918cd0de95 seed dht fanout 2024-04-07 11:43:34 -04:00
Christien Rioux
98786ca827 fix wasm log ignore bug 2024-04-07 10:54:24 -04:00
Christien Rioux
fa4d779ec5 Merge branch 'watch-work' into 'main'
Fix set_dht_value and watch_value

See merge request veilid/veilid!268
2024-04-07 03:03:48 +00:00
Christien Rioux
149aa49575 fix set dht value during a sequence number conflict 2024-04-06 22:33:00 -04:00
Christien Rioux
6f49acffbb watch member check bugfix 2024-04-06 20:20:10 -04:00
Christien Rioux
0b587e8f04 minor android fixes 2024-04-05 21:22:42 -04:00