Skip to content

(docs) add a page about the OCaml Infrastructure #3107

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

sabine
Copy link
Collaborator

@sabine sabine commented May 16, 2025

No description provided.

@sabine sabine marked this pull request as ready for review May 19, 2025 12:02
@sabine sabine force-pushed the infrastructure_page branch from aca3dab to 952fedc Compare May 20, 2025 11:14
Copy link
Contributor

@shonfeder shonfeder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you very much for writing this up!


### Services for Individual Projects

These services used for your own projects to help with reproducible builds, testing, benchmarking, and continuous integration:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
These services used for your own projects to help with reproducible builds, testing, benchmarking, and continuous integration:
These services can be used for your own projects to help with reproducible builds, testing, benchmarking, and continuous integration:

Comment on lines +25 to +27
**Service:** [docker-base-images](https://github.com/ocurrent/docker-base-images)

**Website:** [images.ci.ocaml.org](https://images.ci.ocaml.org)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if this should be something like

Suggested change
**Service:** [docker-base-images](https://github.com/ocurrent/docker-base-images)
**Website:** [images.ci.ocaml.org](https://images.ci.ocaml.org)
**Source:** [docker-base-images](https://github.com/ocurrent/docker-base-images)
**Service:** [images.ci.ocaml.org](https://images.ci.ocaml.org)

or maybe "Repo"/"Service" or somtehing? I'm thinking this because the "Website" is actually a view into the running service, but the github repo is just the source code from which the service is deployed.


**Website:** [images.ci.ocaml.org](https://images.ci.ocaml.org)

This service builds the official `ocaml/opam` Docker images for various Linux distributions, OCaml versions, compiler flags, and architectures (including x86, ARM, PowerPC, s390x, and RISC-V). These images provide a consistent environment for development and testing and are used by many other CI services.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since I think it is nice to link the first time something is mentioned:

Suggested change
This service builds the official `ocaml/opam` Docker images for various Linux distributions, OCaml versions, compiler flags, and architectures (including x86, ARM, PowerPC, s390x, and RISC-V). These images provide a consistent environment for development and testing and are used by many other CI services.
This service builds the official [`ocaml/opam`](https://hub.docker.com/r/ocaml/opam) Docker images for various Linux distributions, OCaml versions, compiler flags, and architectures (including x86, ARM, PowerPC, s390x, and RISC-V). These images provide a consistent environment for development and testing and are used by many other CI services.


This service builds the official `ocaml/opam` Docker images for various Linux distributions, OCaml versions, compiler flags, and architectures (including x86, ARM, PowerPC, s390x, and RISC-V). These images provide a consistent environment for development and testing and are used by many other CI services.

**Using the pre-built OCaml Docker images:** You can view the available [pre-built Docker images for various OCaml configurations at DockerHub](https://hub.docker.com/r/ocaml/opam).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we are linking the main docker hub page when first mentioned above, maybe it is then helpful to have this go to

Suggested change
**Using the pre-built OCaml Docker images:** You can view the available [pre-built Docker images for various OCaml configurations at DockerHub](https://hub.docker.com/r/ocaml/opam).
**Using the pre-built OCaml Docker images:** You can view the available [pre-built Docker images for various OCaml configurations at DockerHub](https://hub.docker.com/r/ocaml/opam/tags).

Which presents people with the list of platforms that is the topic here?

Comment on lines +43 to +51
#### Continuous Benchmarking

**Service:** [current-bench](https://github.com/ocurrent/current-bench)

**Website:** [bench.ci.dev](https://bench.ci.dev)

Provides continuous benchmarking for OCaml projects to track performance across different commits and branches.

**How to enable current-bench on your GitHub project:** Check out the [current-bench User Manual](https://github.com/ocurrent/current-bench/blob/main/doc/user_manual.md).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know that we should be listing and advertising this. The readme of current-bench says:

current-bench doesn't accept enrollment for community projects at this time, but feel free to open an issue to tell us you're interested.

At least, this is not actually something that we are inviting people to use in their personal projects?

Comment on lines +53 to +61
#### OCaml-Multicore-CI

**Service:** [ocaml-multicore-ci](https://github.com/ocurrent/ocaml-multicore-ci)

**Website:** [ocaml-multicore.ci.dev](https://ocaml-multicore.ci.dev)

Tests OCaml projects against multicore OCaml versions - particularly useful if you want to ensure your code is compatible with OCaml 5.x.

**How to enable OCaml-Multicore-CI on your GitHub project:** Check out the [OCaml-Multicore-CI README on GitHub](https://github.com/ocurrent/ocaml-multicore-ci).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have not been involved with this, but I don't know what its use case is beyond ocaml-ci now that 5 is out for some time and we are running ocaml 5.x in ocaml-ci.

It doesn't seem to me that this is a service we want people thinking is maintained and available for their use on individual projects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants