ocurrent / current-bench

Experimental benchmarking infrastructure using OCurrent pipelines
Apache License 2.0
33 stars 17 forks source link

Worker's name #355

Open art-w opened 2 years ago

art-w commented 2 years ago

In the UI, the environments are listed as "docker-image (server name)" (for example ocaml/opam:debian-11-ocaml-4.14 (autumn) or bench.Dockerfile (grumpy)). With the addition of docker build arguments, this causes an issue: how to differentiate between two configurations running the same docker image and on the same server?

In the environments/production.conf, it would be nicer if we could give a friendly name to the environments, that speaks to the project's owner:

{
  "repositories": [
    {
      "name": "owner/repo",
      "alias": "ocaml 4.14",
      "worker": "autumn", "image": "ocaml/opam:debian-11-ocaml-4.14",
    },

It would also help the environments selector as the current naming scheme is too long to fit in the sidebar..