ocaml-dune / binary-distribution

A web page for dune binary distribution
https://preview.dune.build/
ISC License
2 stars 5 forks source link

feat: certify the builds #4

Closed maiste closed 1 month ago

maiste commented 1 month ago

Summary :notebook:

I was finally able to complete this PR after some deployment issues. The goal of this PR is to ensure we are more transparent in the way we build our binaries. To achieve this goal, we are now doing two things:

  1. We use artifact certificates for each build thanks to GitHub Actions (documentation here) :lock: The certificates are uploaded to the server and can be verified using gh from GitHub. I didn't add the SHA256 as the certificate mechanism is stronger than the SHA256. Don't hesitate to tell me if you think it is a must to have!
  2. It displays the commit when we build dune. It is easier for the user to check in the dune repository with the commit than with the git-describe version.

To simplify the usability, I have introduced a command line interface (simple one):

Preview :paintbrush:

I have changed a bit of the CSS, but most of the diff comes from a preinstallation prettier.

preview image

The visual changes are:

Tracking

Apart from the compile time configuration to activate the feature from the developer preview by default, this is the last step before adding the banner to ocaml.org for the distribution preview website.

Closes tarides/team-build-system#38