Uploaded image for project: 'Migration Toolkit for Red Hat Openshift Project Lead'
  1. Migration Toolkit for Red Hat Openshift Project Lead
  2. MTRHO-88

[BUG] crane does not return an non-zero exit code when plugins are not found

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • No

      *What version of crane are you running, and what are your clutsters+platform*
      ```
      crane:
      Version: v0.0.3
      crane-lib:
      Version: v0.0.6
      ```

      *What did you expect to happen?*
      Crane should have returned an exit code other than 0 and the container should have failed to build.

      *What actually happened?*
      The build proceeded and pushed without the plugins

      *Please include any relevant logs or errors*
      ```
      [3/3] STEP 9/12: RUN crane plugin-manager add OpenShiftPlugin --version v0.0.3
      Run "crane plugin-manager list" to list all the available plugins

      time="2022-07-06T20:21:48Z" level=error msg="The plugin OpenShiftPlugin is not found"
      --> 525f12999ed
      [3/3] STEP 10/12: RUN crane plugin-manager add ImagestreamPlugin
      Run "crane plugin-manager list" to list all the available plugins

      time="2022-07-06T20:21:49Z" level=error msg="The plugin ImagestreamPlugin is not found"
      ```

            rhn-engineering-jmontleo Jason Montleon
            migeng.robot MigEng Robot
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: