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

Whitespace in Artifact name silently fails

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2.0, 1.1.1
    • Labels:
    • Sprint:
      MEN Sprint 42, MEN Sprint 43
    • Story Points:
      3
    • Backlog:
      yes

      Description

      When building in Yocto using a whitespace in MENDER_ARTIFACT_NAME, the build succeeds but deployments using this Artifact do not work. See the relevant mailing list topic for details.

      As there could be other side-effects of allowing whitespace in the Artifact name, I propose to disallow it and failing the build if there is whitespace. We should also have a sanity check on the length (e.g. 60 chars).

      We also need to update the docs with any restrictions, most notably the variable reference: https://docs.mender.io/1.1/artifacts/variables#mender_artifact_name

        Attachments

          Activity

            People

            Assignee:
            oleorhagen Ole Petter Orhagen
            Reporter:
            a10003 Eystein Maloy Stenberg
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: