Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-9697

KN CLI - fix `build:prod` binaries being overwritten by IT

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • Kogito Tooling 0.32.0
    • Kogito Tooling 0.31.0
    • None
    • None
    • 2
    • False
    • None
    • False
    • ---
    • ---

      Summary
      When executing KN CLI workflow plugin `build:prod` with integration tests, they are later overwritten with `build:dev` executed by the IT tests. It would be much better to improve the tests to check whether the binaries present in `dist` are up to date and rebuild them only when needed. This would also speed up IT tests when running the without changing the plugin code.

      AC
      Binaries are checked before rebuilding and `build:prod` works as expected.

            zdrapela@redhat.com Zbynek Drapela
            zdrapela@redhat.com Zbynek Drapela
            Dominik Hanak Dominik Hanak
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: