Skip to content

Conversation

@imain
Copy link
Contributor

@imain imain commented Feb 27, 2019

Needed to build some go repositories.

Needed to build some go repositories.
@celebdor
Copy link
Collaborator

which repo building fails without this?

@imain
Copy link
Contributor Author

imain commented Feb 28, 2019

None of these directly. The operator-sdk needs it.

@dhellmann
Copy link
Member

The operator-sdk needs it, and operator-sdk is needed by metalkube/baremetal-operator

@dhellmann
Copy link
Member

/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
Copy link

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?

Copy link
Member

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
Copy link
Member

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

Copy link

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

Copy link
Contributor

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.

@hardys
Copy link

hardys commented Mar 18, 2019

Obsoleted by #139

@hardys hardys closed this Mar 18, 2019
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.

6 participants