Simplify Makefiles
What does this MR do?
Simplifies Makefiles and removes need to use .GOPATH
symlink.
Updates test.yaml
to reuse the Go cache in between jobs instead of
removing and downloading all the dependencies for every job.
Before this change, every job would remove the .GOPATH
and redownload dependencies instead of reusing them from the cache
rm -rf bin .GOPATH gitlab-pages
mkdir -p ".GOPATH/src/gitlab.com/gitlab-org/"
ln -s ../../../.. ".GOPATH/src/gitlab.com/gitlab-org/gitlab-pages"
mkdir -p .GOPATH/test .GOPATH/cover
mkdir -p bin
ln -s ../bin .GOPATH/bin
touch .GOPATH/.ok
go get github.com/wadey/gocovmerge@v0.0.0-20160331181800-b5bfa59ec0ad
go: downloading github.com/wadey/gocovmerge v0.0.0-20160331181800-b5bfa59ec0ad
go: downloading golang.org/x/tools v0.0.0-20200502202811-ed308ab3e770
This MR unblocks !452 (merged)
TODO
-
Added the Changelog
(e.g.Changelog: feature
) trailer to the commits that need to be included in the changelog -
Added unit tests (if required) -
Added acceptance tests (if required) -
Documentation (if required) -
Code review guidelines -
Go Style guidelines
Edited by Jaime Martinez