Commit Graph

1782 Commits

Author SHA1 Message Date
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
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