Commit Graph

1800 Commits

Author SHA1 Message Date
Christien Rioux 81134bad67 update async_tools 2024-05-09 09:49:14 -05:00
TC 79a8614bcc Merge branch 'rebuild-new-earthfile' into 'main'
Rebuild container cache if Earthfile is newer than cache

See merge request veilid/veilid!278
2024-05-07 03:50:21 +00:00
Δ ǀ Ξ ȼ 35b1c7f847
Rebuild container cache if Earthfile is newer than cache 2024-05-06 21:55:27 +01:00
Christien Rioux aec31443a0 consider nodes with allocated relays as disqualified from being a relay themselves 2024-05-05 16:52:35 -04:00
Christien Rioux 55de1dcb5c set default port to 5150 for veilid-server in config
improve testing fixtures
2024-05-05 09:55:01 -04:00
John Smith a1b6da5ab4 keep retrying to start veilid-server 2024-05-04 16:38:36 -04:00
Christien Rioux f178ddcb7b Merge branch 'typos' into 'main'
Assorted comment typo and formatting fixes

See merge request veilid/veilid!277
2024-05-04 20:32:26 +00:00
John Smith a4becfec38 add punish clear command back in 2024-05-04 13:34:33 -04:00
Sashanoraa b71cb0ea6c Fix errors from new 1.78 clippy lints 2024-05-03 15:00:14 -04:00
Sashanoraa 5da287fae4 Assorted comment typo and formatting fixes 2024-05-03 15:00:14 -04:00
Christien Rioux 439d2641f1 cleanup veilid-flutter 2024-05-02 14:15:42 -04:00
Christien Rioux b948c53863 update lock 2024-05-01 20:59:25 -04:00
Christien Rioux bcee358a0e update ndk and gradle versions
add subpackage to veilid-flutter with test fixtures for writing veilid integration tests in dart
2024-04-30 17:44:12 -04:00
TC bcacaeb300 [ci dryrun] 2024-04-30 00:44:21 +00:00
TC 4242e6179d [ci dryrun] 2024-04-30 00:22:44 +00:00
TC 235ceee9f5 Merge branch 'create-cicd-dryrun' into 'main'
Added CICD dry run

See merge request veilid/veilid!276
2024-04-30 00:06:57 +00:00
TC 6a7afe9017 Uncommented crates.io section. 2024-04-30 00:04:30 +00:00
TC c3035a0406 Uncommented crates.io section. 2024-04-30 00:02:59 +00:00
TC 59d261b899 [ci dryrun] 2024-04-29 22:34:52 +00:00
TC 058df24933 [ci dryrun] 2024-04-29 22:16:38 +00:00
TC 31347f3ce0 [ci dryrun] 2024-04-29 22:15:19 +00:00
TC Johnson 4d9787fb86
Fixes scp from build machines to orchestrator
Each machine needed a script this specified that machine's arch
and OS type. Also added a rule on the cache and test jobs to not
run if the dry run trigger is present. [ci dryrun]
2024-04-29 17:07:40 -05:00
TC Johnson 37dbe70e05
Testing dry run trigger
The trigger is [ci dryrun]
2024-04-29 16:26:13 -05:00
TC Johnson bd4600576f
Switched to regex trigger
The previous trigger condition wasn't liked by Gitlab's
yaml parser. I'm switching to trying a commit message
based regex trigger. This message does not contain the
trigger and so should not fire the dry run.
2024-04-29 16:22:58 -05:00
TC Johnson 0a1a37f048
Replaced missing 'if:' on line 249. 2024-04-29 16:12:37 -05:00
TC Johnson fa1ca77d35
Further dry run trigger refinements
The dry run should now be configured if changes to .gitlab-ci.yml,
Earthfile, contents of scripts/cicd, or contents of package arrive
as the result of a push OR merge but NOT when a tag is present. I
think that will prevent the dry run executing alongside the actual
release process when a new release tag is pushed but that also
contains changes to the above mentioned files. <fingers crossed emoji>
2024-04-29 16:03:38 -05:00
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