InfraBox icon indicating copy to clipboard operation
InfraBox copied to clipboard

Allow description for each job in the infrabox.json

Open abner-math opened this issue 5 years ago • 3 comments

Description for each job is interesting because it provides information about what each job is supposed to do, as well as making it easier to maintain.

Something along those lines:

{
  "version": 1,
  "jobs": [
    {
      "type": "docker",
      "name": "bot-ts-lint",
      "description": "Run typescript lint in the bot codeline",
      "docker_file": "tests/infrabox/bot-ts-lint/Dockerfile",
      "build_only": false,
      "resources": {
        "limits": {
          "cpu": 1,
          "memory": 1024
        }
      }
    }
}

abner-math avatar Apr 22 '19 18:04 abner-math

should it only be allowed in the infrabox.json or is the information supposed to be shown somewhere in the UI as well?

ib-steffen avatar Apr 24 '19 10:04 ib-steffen

Using infrabox.yaml may be a solution for this issue.

iberryful avatar May 15 '19 02:05 iberryful

I think displaying in the UI would be good as well

abner-math avatar May 29 '19 12:05 abner-math