Uploaded image for project: 'Mender'
  1. Mender
  2. MEN-2586

Implement read and write support for zero-payload artifacts

    XMLWordPrintable

    Details

    • Sprint:
      MEN Sprint 166, MEN Sprint 167
    • Story Points:
      13
    • Remaining Story Points:
      3
    • Backlog:
      yes
    • Days in progress:
      16

      Description

      Acceptance criteria:

      • Mender-artifact must be able to write an artifact with zero payloads
      • It must also be able to read this artifact
      • It must be tested with the client to make sure it can also read and install it correctly
        • This can be a manual test for now. It will be tested automatically later on with the test in MEN-2585 and MEN-5594.
      • The artifact_depends and artifact_provides headers in the artifact formation specification must be changed to accept free form string pairs, just like the version in type-info.
        • Remember to update the spec as well, not just the code!
        • There must be command line options to fill these headers, just like there is a --depends and --provides option when writing a payload (like in the write module-image help page). If you are unsure about this one, best to discuss the flags with the client team.

      The motivation for having zero payloads is to install a bootstrap artifact with only artifact_provides and artifact_name headers.

      Feature branch: automatic_bootstrap_artifact

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              MaciejTe Maciej Tomczuk
              Reporter:
              a10040 Kristian Amlie
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support