Commit Graph

32 Commits

Author SHA1 Message Date
Salvatore Testa
205be49eec
Run cargo clippy with unit tests 2024-02-02 11:03:03 -08:00
Christien Rioux
7917dadd30 merge 2024-01-19 13:53:42 -05:00
Salvatore Testa
dca57abe16
Use $CI_REGISTRY_IMAGE for the registry path
GitLab will return an error if you have an upper case letter at the
start of your username.

```
invalid reference format: repository name must be lowercase
```

The built-in `$CI_REGISTRY_IMAGE` variable does the right thing.

Closes https://gitlab.com/veilid/veilid/-/issues/352
2023-12-25 14:02:40 -08:00
Christien Rioux
425b31c023 make capnp only necessary if modifying generated files 2023-11-07 19:27:08 -05:00
Δ ǀ Ξ ȼ
d38f3cb42f
Refactored Earthfile to improve caching
Targets have been parallelized so that initial push of the container cache should build the whole build a little quicker, plus the container should now use the cache for more of the build and so speed up normal builds to just the compilation and test of the code that has changed

The `build_cache` target now builds a `build-cache:latest` container that is stored in the GitLab project Container Registry, and then used (if it exists) by the `test_build` target.  The `build_cache` task runs under 3 conditions, 1. the container does not exist, 2. if scheduled, 3. if run manually from the Pipelines page in the GitLab interface.

It is recommended that the build is set up to run on a weekly schedule via the `Pipeline schedules` page in GitLab with the schedule of `0 2 * * 6`.
2023-10-31 11:17:13 +00:00
Christien Rioux
0bf595c53a simplify version checking 2023-09-19 19:12:51 -04:00
John Smith
c13135d389 newer capnp protoc and earthfile 2023-09-16 16:51:58 -04:00
Christien Rioux
c01be8f62d capnp and protoc versioning 2023-09-16 16:51:57 -04:00
Christien Rioux
0fba3a1906
Merge branch 'fix-earthfile' into 'main'
Fix targets for earthfiles so package-linux works again

See merge request veilid/veilid!169
2023-09-03 00:28:17 +00:00
John Smith
7871dc7405 test fix 2023-09-02 20:15:04 -04:00
ken restivo
9b1991a2ee Fix targets for earthfiles so package-linux works again 2023-09-02 16:26:16 -07:00
Christien Rioux
a77f80a8a9 repo fixes 2023-09-02 15:47:19 -04:00
Δ ǀ Ξ ȼ
ab51f68c4d Earthly Build Caching in GitLab Container Registry 2023-08-27 17:17:29 +00:00
John Smith
eae839e484 decompression fix for OOM 2023-08-19 18:13:30 -04:00
Christien Rioux
77303d5751 earthfile update 2023-07-22 14:24:43 -04:00
John Smith
a06f24e287 temp fix for Earthfile 2023-07-13 09:35:57 -04:00
TC Johnson
96a73bc04e Rpm building 2023-07-03 02:59:50 +00:00
John Smith
925fdbcd5f simplify earthfile 2023-06-21 02:08:15 -04:00
John Smith
0daffab4a7 prereq script 2023-03-05 15:42:31 +00:00
Adam Shamblin
6e0673a385
fix typo 2023-02-20 16:06:38 -07:00
Adam Shamblin
f224fb90ef
parameterize install capnproto 2023-02-20 15:56:53 -07:00
John Smith
8b026f4756 fix earthfile 2023-01-20 12:37:01 -05:00
John Smith
26311e96c5 route caching 2022-12-17 22:09:08 -05:00
John Smith
0427922116 remove cruft
fix earthfile
2022-12-01 18:25:53 -05:00
John Smith
672d750f8f wasm fixes 2022-11-29 22:51:51 -05:00
John Smith
74dc92c657 updates 2022-11-02 20:42:07 -04:00
John Smith
997eca05b6 igd 2022-08-22 13:27:26 -04:00
John Smith
182af30b97 checkpoint 2022-06-06 13:27:16 -04:00
John Smith
ef1f5d7b52 refactoring, more config, packaging 2022-05-16 11:52:48 -04:00
John Smith
d979f7f504 make android unit tests and earthly build work 2022-01-11 21:48:37 -05:00
John Smith
02c0d065ef updates and aarch64-unknown-linux-gnu build in earthly 2022-01-10 22:36:54 -05:00
John Smith
8e20228529 add eartly build 2022-01-09 15:17:36 -05:00