Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install script fixes #46

Merged
merged 2 commits into from Feb 19, 2018
Merged

Install script fixes #46

merged 2 commits into from Feb 19, 2018

Conversation

cfcosta
Copy link
Contributor

@cfcosta cfcosta commented Feb 19, 2018

This PR fixes some of the errors I've got when trying to run oc+istio with the provided hack scripts.

@abonas
Copy link
Contributor

abonas commented Feb 19, 2018

@cfcosta I don't recall having issues with the istio scripts, so I am wondering - if this is going to be merged, will I now experience errors? :) (specifically the paths fix)

@cfcosta
Copy link
Contributor Author

cfcosta commented Feb 19, 2018

@abonas it was not working for me at all, can you check this branch to see if it does work?

@@ -8,7 +10,7 @@ if [ "$?" != 0 ]; then
fi

# find istio that we installed from the install script
INSTALL_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )/.." && pwd )/_output/istio"
INSTALL_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )/../.." && pwd )/_output/istio"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are you sure about this? The script is in the hack directory. Go up to the parent and there is our build's "_output" directory. Going up two parent directories seems incorrect. Am I missing something?

What we want is to reuse the _output directory that is used by the Makefile. This directory: <root>/src/github.com/swift-sunshine/swscore/_output

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jmazzitelli that was my ask too.

@jmazzitelli jmazzitelli merged commit 82db34d into kiali:master Feb 19, 2018
@cfcosta cfcosta deleted the install-script-fixes branch February 19, 2018 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants