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

Incremental builds are not working on OpenShift

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 0.6.0
    • 0.5.0
    • Image
    • Hide

      Turn off incremental builds

      Show
      Turn off incremental builds
    • Hide

      Just build any Kogito Service twice by setting any .Spec.Build parameter in the kogitoApp CR.

      Show
      Just build any Kogito Service twice by setting any .Spec.Build parameter in the kogitoApp CR.
    • 2019 Week 44-46 (from Okt 28)

      When running incremental builds, some scripts are not found:

      Generating dockerfile with builder image image-registry.openshift-image-registry.svc:5000/openshift/kogito-quarkus-ubi8-s2i@sha256:2d18c994f32da15cd6560be81719da7e294372bc93796ad2a9067a6bae9a5f40
      STEP 1: FROM image-registry.openshift-image-registry.svc:5000/cloud-operations/drools-profile-repro-builder:latest AS cached
      STEP 2: USER 1001
      STEP 3: RUN if [ -s /usr/local/s2i/save-artifacts ]; then /usr/local/s2i/save-artifacts > /tmp/artifacts.tar; else touch /tmp/artifacts.tar; fi
      /usr/local/s2i/save-artifacts: line 3: /home/kogito/.m2/configure-maven.sh: No such file or directory
      /usr/local/s2i/save-artifacts: line 4: s2i_save_build_artifacts: command not found
      subprocess exited with status 127
      subprocess exited with status 127
      error: build error: error building at STEP "RUN if [ -s /usr/local/s2i/save-artifacts ]; then /usr/local/s2i/save-artifacts > /tmp/artifacts.tar; else touch /tmp/artifacts.tar; fi": exit status 127
      

      Incremental builds are only working on s2i local runs. Might be worth a close look into this, might be a bug there also.

            rhn-support-fspolti Filippe Spolti
            rhn-support-zanini Ricardo Zanini Fernandes
            Tristan Radisson Tristan Radisson
            Tristan Radisson Tristan Radisson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: