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

Update the swf devmode image to handle arm data-index and jobs-service addons

XMLWordPrintable

      With the embedded-postgresql quarkus extension available for arm arch, we need to correct select the extension based on the architecture that the given image will be built.

      The kogito-addons-quarkus-jobs-service-embedded and kogito-addons-quarkus-data-index-inmemory needs to be correctly picked for the amd64 and arm64 iamge builds.

       

      Handle the exclusions of the zonky dependencies library from the swf-dev image.

       
      the linux arm extension must be only in the dev image:

       

      <dependency>
         <groupId>io.zonky.test.postgres</groupId>
         <artifactId>embedded-postgres-binaries-linux-arm64v8</artifactId>
      </dependency>
      

      All the others must be filtered out:

      embedded-postgres-binaries-darwin-arm64v8
      embedded-postgres-binaries-linux-amd64
      embedded-postgres-binaries-linux-amd64-alpine
      embedded-postgres-binaries-darwin-amd64
      embedded-postgres-binaries-windows-amd64
      

      And, in the x86 image, all needs to be excluded, except the amd64.

            rhn-support-fspolti Filippe Spolti
            rhn-support-fspolti Filippe Spolti
            Tristan Radisson Tristan Radisson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: