Commit graph

59 commits

Author SHA1 Message Date
c1cfe52cb0 Update to tar 3.0.0
Also embed a comment in the archive what software produced it.
2024-08-14 16:13:35 +02:00
e73f7c5aa3 Set upper bound on tar 2024-08-13 13:16:31 +02:00
4461a91f87 Update to caqti>=2.1.1
The tuple type constructors are renamed from tupN to tN. Also, except
for migrations, use the wider tuple types (up to 12 since caqti.2.1.0).
2024-08-13 13:16:31 +02:00
7f3a6719e2 require cmarkit 0.3
work around the issue reported at https://github.com/dbuenzli/cmarkit/issues/14
add a second table test, fix the tests for the 0.3 fixed layouting
2023-12-14 15:10:12 +01:00
e0bc795735 further CI fixes: require alcotest 1.2.0 (for check'), disable formatting (no .ocamlformat) 2023-09-18 10:52:02 +02:00
2b30ab6bf9 lower-bounds: add one for decompress (needing the gz subpackage) 2023-09-12 13:13:51 +02:00
665bd0dfe8 add yojson with-test dependency 2023-09-12 13:11:14 +02:00
1dc9a7b0fc Merge pull request 'builder-web is compatible with dream.1.0.0~alpha5' (#172) from dream.1.0.0-alpha5 into main
Reviewed-on: #172
2023-09-11 09:08:41 +00:00
0699473333 builder-web is compatible with dream.1.0.0~alpha5 2023-09-11 11:02:23 +02:00
5feb615e12 replace omd with cmarkit 2023-09-11 10:22:16 +02:00
e6af891748 roburio -> robur-coop 2023-09-09 11:42:34 +02:00
6f30d5d144 Fix build of builder-web with more recent packages:
Cstruct.copy is deprecated
Mirage_crypto_rng_unix.initialize requires the RNG module as paramater (since mirage-crypto-rng 0.11.0)
Lwt_result.catch takes a function (unit -> 'a Lwt.t) since lwt 5.7.0
2023-08-25 10:09:21 +02:00
02dbe1af37 adapt to omd 2.0.0 alpha3, which adds a Table constructor 2023-03-10 15:48:04 +01:00
76f96b47b2 map_err and bind_lwt_err will be deprecated with lwt.5.6.0 2022-07-12 13:23:23 +02:00
535e3c33fa Update builder-web.opam
New test dependencies, remove old unnecessary pins
2022-07-12 13:14:52 +02:00
bc692c46c6 Update builder-web.opam
- We no longer directly depend on modulectomy and opam-graph
- We expect ocaml-solo5-elftool >= 0.3.0 that doesn't raise exceptions
  (inshallah)
2022-06-23 12:24:04 +02:00
071183ff6c Add GZip support when we generate a tar archive (#119)
Fixes #116.

Co-authored-by: Romain Calascibetta <romain.calascibetta@gmail.com>
Co-authored-by: Reynir Björnsson <reynir@reynir.dk>
Reviewed-on: https://git.robur.io/robur/builder-web/pulls/119
Co-authored-by: dinosaure <romain.calascibetta@gmail.com>
Co-committed-by: dinosaure <romain.calascibetta@gmail.com>
2022-06-21 15:17:50 +00:00
9c3a4002af opam: requires dream 1.0.0~alpha4 now 2022-05-16 12:57:41 +02:00
6e75a653bc Update to caqti 1.8.0 2022-04-22 12:20:43 +01:00
rand
0f493e9b47 Removing trailing slashes (#80)
This PR solves the issue of there being both "<url>/" and "<url>" paths, that in the builder-web context shouldn't mean different things.

The slashes are now removed using a `Dream` middleware, and the request is redirected using a permanent redirect (that doesn't change the method used): https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Location

Notable changes:
* Trailing slashes from the hardcoded link urls were removed, as unneccesary redirects are then avoided.
* All links in `Views` were rewritten to be absolute instead of relative.
* As `Dream` deprecated `path` - `Utils.Path` was created containing some helpers for manipulating paths. *Note that `String.split_on_char` has a different semantics.*
* A blacklist `routeprefix_blacklist_when_removing_trailing_slash` was added, containing `Dream` route-prefixes to ignore.
* Only `GET` and `HEAD` requests are redirected.
* `redirect_parent` helper was rewritten using new `Utils.Path` functions to avoid brittle string manipulation + fixed the edgecase of redirecting to `/`.
* Added `Uri` dependency to make URL manipulation safer.

Co-authored-by: rand00 <oth.rand@gmail.com>
Co-authored-by: Reynir Björnsson <reynir@reynir.dk>
Reviewed-on: https://git.robur.io/robur/builder-web/pulls/80
Co-authored-by: rand <rand@r7p5.earth>
Co-committed-by: rand <rand@r7p5.earth>
2022-04-21 10:40:21 +00:00
b6f6090ce5 Merge branch '20220221_fix_cmdliner_deprecations'
Reviewed-on: https://git.robur.io/robur/builder-web/pulls/87
2022-03-16 10:42:35 +00:00
rand00
f68f383ba6 Fixed all binaries using cmdliner to avoid newly deprecated functions 2022-03-16 10:40:35 +00:00
923bc3d9d4 Add Solo5 device manifest to job_build
A user browsing a build can view what network and block devices the
unikernel expects before downloading the unikernel.
2022-02-23 14:09:09 +00:00
485515e47a opam: depend on exactly dream.1.0.0~alpha2
There are breaking changes in 1.0.0~alpha3
2022-02-22 15:40:08 +00:00
rand00
338fa9dea3 builder-web.opam: Modulectomy pin-depend now points to master, as changes got merged 2022-02-10 17:23:19 +01:00
6a645b7358 Merge branch 'tar' 2022-02-01 12:21:56 +00:00
d67aedd5aa Add modulectomy, opam-graph as opam deps 2022-02-01 12:03:09 +00:00
993d1171c2 Add pin-depends on opam-graph, modulectomy
Until they are released.
2022-02-01 11:57:07 +00:00
92a43fbfdd Add .../all.tar endpoint with artifacts
One stop shop for all the build artifacts!
2022-01-25 20:01:08 +00:00
Robur
294a46df86 opam: require metrics 0.3.0 and above 2021-11-12 14:31:42 +00:00
Robur
6dc2b89cb6 opam: require tyxml 4.3.0 (needs 'txt') 2021-11-12 14:20:56 +00:00
Robur
0df7da0af8 opam: require lwt >= 5.3.0 (for Lwt.Syntax, let* and let+) 2021-11-12 14:12:42 +00:00
Robur
13686ceae5 opam: require tyxml 4.0.0 2021-11-12 14:10:34 +00:00
Robur
2ad04e97dd opam: require opam-format 2.1.0 (for OpamPackage.Name.equal) 2021-11-12 13:58:19 +00:00
Robur
fb9391fe61 Prepare for initial public release 2021-11-12 13:42:26 +00:00
a9ff2dd033 Remove rresult 2021-11-05 10:10:44 +00:00
Alain Armand
fa1cf92702 avoid deprecated functions from Fmt (strf is now str) 2021-10-18 13:22:07 +00:00
c9f8a16896 builder is released to opam, remove pin-depends 2021-10-06 14:20:46 +02:00
f9fcd2c733 Use Cstruct.length and require cstruct >= 6.0.0 2021-08-03 09:26:07 +02:00
fc734dc2cd improve packaging: use sh -ex 2021-08-02 15:44:38 +02:00
Robur
009fa49e9e render README from latest build (preserved as a tag value in job_tag table) 2021-06-30 12:47:30 +00:00
robur
0d1b00b13c builder-web.opam: add dream lower bound 2021-06-29 09:49:39 +00:00
robur
2ada9881ff debian packaging 2021-06-29 09:41:05 +00:00
Robur
987230c15f improve FreeBSD and orb packaging 2021-06-24 10:46:27 +00:00
Robur
d088597c01 add explicit package dependencies 2021-06-09 16:03:03 +00:00
Robur
c2377dedd7 FreeBSD packaging and rc script 2021-06-09 15:40:58 +00:00
1ce4c11c05 Add dependency on metrics-rusage 2021-06-04 11:26:22 +02:00
Robur
10351c65bd Migrate to dream 2021-06-01 14:06:36 +00:00
User Builder
8a8dd9a14b Add influx metrics reporting 2021-06-01 08:38:25 +00:00
ba60cc4170 Add opam dependencies 2021-04-23 09:46:20 +02:00