Skip to content

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

Description

@tomturnerdesign

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions