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

Extend "/deployments/artifacts/generate" endpoint to support generating docker-compose Artifacts

    XMLWordPrintable

    Details

      Description

      Acceptance criteria:

      • The /deployments/artifacts/generate is extended to support generating docker-compose Artifacts.
      • create-artifact-worker is extended to support docker-compose artifacts
      • Must use docker-compose-artifact-gen from MEN-3837.
      • The input parameters are:
        • An uploaded docker-compose file. Main argument to generator.
        • A string which contains the directory to install it in, passed to generator with -d.
        • A boolean, unpinned, which turns the flag with the same name on and off in the generator. Default if missing is off.
      • If the artifact generator returns error code 5, return message that repository is inaccessible, and the user may consider using an unpinned Artifact instead.
      • Other errors produce generic error messages.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                a10040 Kristian Amlie
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Summary Panel