istio-tutorial icon indicating copy to clipboard operation
istio-tutorial copied to clipboard

./install-microservices.sh script breaks when using git apply

Open tomturnerdesign opened this issue 6 years ago • 0 comments

The shell script does this....

git clone https://github.com/redhat-developer-demos/istio-tutorial /root/projects/istio-tutorial -b katacoda

cp -Rvf /root/projects/istio-tutorial/recommendation/java/vertx /root/projects/istio-tutorial/recommendation-v2 git apply /root/recommendation-v2.diff --unsafe-paths --directory=/root/projects/istio-tutorial/

After git apply it gives this error: fatal: corrupt patch at line 11

The effect, I think, is that the new container does not get the code change that changes v1 to v2. And thus the tutorial behaves poorly, printing out recommendation v1 instead of v2.

Specifically this tutorial. https://learn.openshift.com/servicemesh/5-advanced-routerules

tomturnerdesign avatar Aug 12 '19 23:08 tomturnerdesign