-
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -62,3 +62,10 @@ fi | |
| curl --silent --location https://dl.yarnpkg.com/rpm/yarn.repo | sudo tee /etc/yum.repos.d/yarn.repo | ||
| curl --silent --location https://rpm.nodesource.com/setup_10.x | sudo bash - | ||
| 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 | ||
| 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 | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. instead of the tmp file, how about There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think this has been obsoleted by #139 which did exactly that
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, #139 takes care of installing dep and operator-sdk. |
||
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)"