Skip to content

Latest commit

 

History

History
51 lines (36 loc) · 1.41 KB

README.md

File metadata and controls

51 lines (36 loc) · 1.41 KB

lure

Build Status Go Report Card

Update your dependencies, with hooks, for developers.

Run

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 exists
  • BITBUCKET_CLIENT_ID the bitbucket OAuth Key previously created
  • BITBUCKET_CLIENT_SECRET the bitbucket OAuth Secret previously created
  • BITBUCKET_REPO_NAME https ://bitbucket.org/owner/name
  • BITBUCKET_REPO_OWNER https ://bitbucket.org/owner/name
  • DRY_RUN won't create a PR

Develop

GO environment setup

if you're an old time go user you already know what to do

mkdir -p $HOME/go/

Project setup

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