Commit Graph

1913 Commits

Author SHA1 Message Date
Debanjan Basu
f1418a6d41 added capnp to earthfile - deprecated version 2024-05-18 18:41:23 +10:00
Debanjan Basu
b44b5064dc minor capnp version bump 2024-05-17 17:27:52 +10:00
Debanjan Basu
293119ace6 updated hash comparison mechanism 2024-05-17 17:07:13 +10:00
Debanjan Basu
29d4de05ea Merge branch veilid:main into main 2024-05-17 07:06:48 +00:00
Christien Rioux
93d0031158 fix doc comment 2024-05-16 14:45:57 -04:00
Christien Rioux
6282bfd1c5 add lengths to typedkey 2024-05-15 21:20:39 -04:00
Debanjan Basu
93f9401222 removed sudo and removed source code after build 2024-05-15 15:32:29 +10:00
Debanjan Basu
c593212379 updated earthfile to install 1.0.2 of capnproto 2024-05-15 15:25:02 +10:00
Debanjan Basu
10d705dd95 updated earthfile to reflect build dependency 2024-05-15 13:24:02 +10:00
Debanjan Basu
f6772a2894 updated to reflect changes if installed capnp versions get changed 2024-05-15 12:26:58 +10:00
Debanjan Basu
27d0037c56 updated capnp version 2024-05-14 22:46:44 +10:00
Christien Rioux
81134bad67 update async_tools 2024-05-09 09:49:14 -05:00
Adam Leskis
3dc015fe24 update details of "why" we need port 5150 and what veilid nodes expect 2024-05-07 11:41:17 +01: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