Update your dependencies, with hooks, for developers.
eg, in jenkins:
wget https://github.com/coveo/Lure/releases/download/v1.0/lure-linux-amd64
chmod +x lure-linux-amd64
./lure-linux-amd64 -auth env -config <yourconfig>
You need bitbucket api-key and api-secret, see, the bitbucket documentation for OAuth setup.
IGNORE_DECLINED_PR=1
Will ignore declined PR when looking if the PR existsBITBUCKET_CLIENT_ID
the bitbucket OAuth Key previously createdBITBUCKET_CLIENT_SECRET
the bitbucket OAuth Secret previously createdBITBUCKET_REPO_NAME
https ://bitbucket.org/owner/nameBITBUCKET_REPO_OWNER
https ://bitbucket.org/owner/nameDRY_RUN
won't create a PR
if you're an old time go user you already know what to do
mkdir -p $HOME/go/
go get github.com/coveo/lure/
cd $GOPATH/src/github.com/coveo/lure
# or $HOME/go/src/coveo/lure if you don't have a $GOPATH set up which is perfectly fine
go get ./...
go run lure.go
Build:
go build lure.go