cdn icon indicating copy to clipboard operation
cdn copied to clipboard

Use make to always get latest dependent libs

Open marcoarthur opened this issue 7 years ago • 4 comments

Write dependency rules to modules, so we guarantee we build gorjun against the latest go modules. Since this is the rule for Jenkins build

marcoarthur avatar Jan 05 '18 11:01 marcoarthur

make should follow same approach used to build gorjun in Jenkins. This way we garantee that won't crash when official building. Reference:

https://github.com/subutai-io/gorjun/blob/dev/Jenkinsfile

marcoarthur avatar Jan 05 '18 11:01 marcoarthur

@marcoarthur basically single go get -u execution on dev's host should bring you latest libraries. This is not used in jenkins file due to it's go environment. go get -u just won't work on jenkins.

crioto avatar Jan 05 '18 11:01 crioto

Yeah I think so, but the problem here is that go get -u takes too long since that potentially could update all system. Better approach is needed

marcoarthur avatar Jan 05 '18 11:01 marcoarthur

Look at vendoring in go dependency management

dilshat avatar Jan 05 '18 11:01 dilshat