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

recent docker compose updates break demo script

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.0, 3.2.0-report, 3.0.2, 3.1.1, 2.6.4
    • Labels:
    • Environment:
      docker-desktop for mac 4.1.1, docker-compose 1.29.2
    • Days in progress:
      3

      Description

      Due to a recent change in the way the docker compose version is reported (from x.x.x to vx.x.x), the version detection in the demo script broke, causing an error to be produced

      ERROR: Actual version is empty (hint: is it installed, or version format change?).
      ERROR: Docker Compose must be on version 1.6 or larger, but found version 1. installed.
      DOCKER_COMPOSE_VERSION_STRING=v2.0.0

      This alone is not a problem, however the container naming was changed too, to pure kebab-case causing the scheme expected in the demo script to no longer work (e.g. <projectName>_mender-useradm_1 became <projectName>-mender-useradm-1 and breaks the environment setup).

      Acceptance criteria:

      • once done, the demo script and tests work independent of the installed compose version

        Attachments

          Activity

            People

            • Assignee:
              oleorhagen Ole Petter Orhagen
              Reporter:
              mzedel Manuel Zedel
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Zendesk Support