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
b6f87dc597
Add runtest to opam
2021-03-23 10:36:20 +01:00
396ace1140
Add Builder_db.User tests
2021-03-16 13:09:31 +01:00
7b81d78554
Use scrypt ( #32 )
...
Switch to using scrypt for password hashing
Co-authored-by: Reynir Björnsson <reynir@reynir.dk>
Reviewed-on: https://git.robur.io/robur/builder-web/pulls/32
Co-Authored-By: reynir <reynir@reynir.dk>
Co-Committed-By: reynir <reynir@reynir.dk>
2021-02-23 15:20:18 +00:00
23ca1beb05
Add sexplib dep
2021-01-21 10:12:39 +01:00
0530b31fe3
Add mirage-crypto-rng dep
2021-01-21 10:11:37 +01:00
1771c47989
Add pbkdf dependency
2021-01-19 12:53:56 +01:00
5298108d1a
Implement sqlite database backed builder-web
2021-01-19 10:44:32 +01:00
37a916517d
Display SHA256 digest only, and in hex
2021-01-06 11:48:24 +01:00
0a92bdae65
Initial commit
2020-12-04 18:10:21 +01:00