Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-19770

Using settings.xml from Secret slow down s2i build process

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • OpenShift
    • None
    • ---
    • ---

      If I use in s2i build on openshift with wildfly images and custom settings.xml (even empty) through secret MAVEN_ARGS, e.g.

      .addEnvVariable("MAVEN_ARGS", "install -s /etc/" + SECRET_NAME + "/" + SETTINGS_XML)
      

      I experience significant increase (approximately 7x bigger) in build time

      EAP OpenShift E2E Testsuite ........................ SUCCESS [16:35 min]
      

      compared to

      EAP OpenShift E2E Testsuite ........................ SUCCESS [02:31 min]
      

      Without -s option.

      We did not experienced similar situation with EAP 8 images. Where build time is about 5 minutes. And if "-s" is used or not does not make difference.

              jdenise@redhat.com Jean Francois Denise
              mchoma@redhat.com Martin Choma
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: