Uploaded image for project: 'CORD'
  1. CORD
  2. CORD-2539

Imagebuilder doesn't exit when sys.exit(1) is run

    XMLWordPrintable

    Details

      Description

      imagebuilder doesn't die when an error occurs when building an image:

      INFO:__main__:Building image: xosproject/xos-gui
      ERROR:__main__:The command '/bin/sh -c npm install  && npm run typings  && npm run build' returned a non-zero code: 137
      ERROR:__main__:Error building docker image
      Traceback (most recent call last):
        File "./scripts/imagebuilder.py", line 1297, in _build_image
          sys.exit(1)
      SystemExit: 1
      

      Make it die and stop the `make build` when an image creation fails catastrophically.

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            zdw Zack Williams
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes