Skip to content

Add a provisioning comment field #966

@fginther

Description

@fginther

This request is to add a comment or similar field to the provisioning section of a job request. The purpose of this field is to allow passing a message about the job which would then be visible from the WebUI. The primary use case is to provide a way to track jobs created by automation back to the automation which created it. for example:

job_queue: my-favorite-queue
provision_data:
  distro: focal
  comment: "Provisioned by primus team. url: https://automation.url/test-runner"

test_data:
  test_cmds: |
    echo "run a test"

This would then show up under the Provision Data for the job url https://testflinger.canonical.com/jobs/job_id:

{'distro': 'focal', 'comment': 'Provisioned by primus team. url: https://automation.url/test-runner'}

Currently, we do this by adding content to the test_cmds to echo out the same kind of information to a provisioned_by file. But with recent UI changes, having an explicit field for this would be helpful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions