-
Notifications
You must be signed in to change notification settings - Fork 204
Add go dep command to requirements. #103
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
Conversation
Needed to build some go repositories.
|
which repo building fails without this? |
|
None of these directly. The operator-sdk needs it. |
|
The operator-sdk needs it, and operator-sdk is needed by metalkube/baremetal-operator |
|
/lgtm |
| sudo yum install yarn nodejs -y | ||
|
|
||
| # Install go dep command. The packaged version is too old. This is for development only atm. | ||
| export GOPATH=$HOME/go |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rather than hard-coding this, should we either do eval "$(go env)" or source ocp_install_env.sh which already does that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 to eval "$(go env)"
| mkdir -p $GOPATH/go/bin | ||
| curl -o /tmp/install-go-dep.sh https://raw.githubusercontent.com/golang/dep/master/install.sh | ||
| chmod 755 /tmp/install-go-dep.sh | ||
| /tmp/install-go-dep.sh |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
instead of the tmp file, how about
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this has been obsoleted by #139 which did exactly that
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, #139 takes care of installing dep and operator-sdk.
|
Obsoleted by #139 |
Needed to build some go repositories.