Skip to content

An Instance for Each Pull Request #1098

@cuihtlauac

Description

@cuihtlauac

Currently, ocamlorg has two instances: ocaml.org (a.k.a. live) and staging.ocaml.org

Staging is ok, but it requires manual merges and rebases.

Whenever a PR is filled, the corresponding docker image is built, but only as a check. The resulting image is discarded. It would be nice to run those images if their build were successful. They would be updated at each git push to its branch and remain online as long as the corresponding PR isn't closed. URL could be something like pullsXXX.ocaml.org

That would automatically expose the changes proposed by each PR. Many PR wouldn't even have to be compiled locally to be reviewed. For instance, it would be the case for content and UI/UX changes. It would also allow us to check tricky issues such as the one raised by enabling git lfs.

EDIT: To save resources, it may make sense to bring online and offline pr instances manually, using a GH action triggered online. Project members with sufficient rights would bring pr instances up by entering the PR number in “Actions” and down by clicking inside a list of live instances.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions