Is that passable to customise the repo clone path?
Due to a build a Golang project. I need to move the whole project under some particular path for the build.
Here is my build yaml.
build:linux:
stage: build
before_script:
- mkdir -p $GOPATH/src/GITLAB_HOST/GROUP/PROJECT_NAME
- rsync -az ${CI_PROJECT_DIR}/ $GOPATH/src/GITLAB_HOST/GROUP/PROJECT_NAME/
- export CI_PROJECT_DIR=$GOPATH/src/GITLAB_HOST/GROUP/PROJECT_NAME
script:
# deps
- go get github.com/BurntSushi/toml
- go get github.com/parnurzeal/gorequest
- go get github.com/Sirupsen/logrus
- go get github.com/codegangsta/cli
- go get github.com/xarg/imap
- "go build $CI_PROJECT_DIR/cmd/cm/cm.go"