-
Bug
-
Resolution: Done
-
Major
-
None
-
JAVA8 1.6.0.GA
-
None
-
Openshift Contianer Platform: 3.7
RED HAT CONFIDENTIAL
Description of problem:
Customer has a working pipeline, where they were able to successfully perform s2i till redhat-openjdk-18/openjdk18-openshift 1.5, which broke after 1.6,
Using the new 1.6 image customer get :
21:32:57 Receiving source from STDIN as archive ...
21:33:07 INFO S2I source build with plain binaries detected
21:33:07 INFO Copying binaries from /tmp/src to /deployments ...
21:33:07 skipping directory .
21:33:15 Pushing image customerdomain.com/user-preferences-service:37c7d432qsngkfdsmfsadf3ab7b1ce2d081d ...
Actual results:
Upon investigating there is a change that are noticed between redhat-openjdk-18/openjdk18-openshift 1.5 and 1.6 images:
broken(1.6) image runs: $ rsync -l --out-format=%n /tmp/src/ /deployments
working(1.5) image runs: $ cp a /tmp/src/user-preferences-service<verison>-SNAPSHOT.jar /deployment
Related git link:
https://github.com/jboss-openshift/cct_module/commit/1ff1d9637979b1d0b116f247640f5330b20a7a45#diff-9c6f9f90f3792a35d51232b0732fdc8f
Expected results:
rsync should include "-r" switch to copy the files recursively which will successfully copy the source files in to deployment directory,
$ rsync -rl --out-format=%n /tmp/src/ /deployments