Commit Graph

47 Commits (1eb04f6a2a16b3b8642184db62719451c3e84d2a)

Author SHA1 Message Date
Jordan Liggitt 125a840445
Target godep script change verifications 2017-08-09 22:34:13 -04:00
Christoph Blecker 8b3bf13806
Fix godep verify to use godep restore script 2017-07-07 23:16:54 -07:00
Christoph Blecker 2b111c5a55
Run verify-godeps.sh fully if hack/ dir changes 2017-07-07 23:16:37 -07:00
Christoph Blecker 3ad13293bc
Export patch files to artifacts 2017-03-25 12:16:50 -07:00
Christoph Blecker 4d85a54027
Change verify-godeps.sh use ensure_godep_version 2017-03-15 10:32:44 -07:00
Solly Ross 77069cd9ec Add staging repos to GOPATH in verify-godeps
This commit adds the staging repos to the GOPATH in
hack/verify-godeps.sh.  This allows vendored librarys
to depend on staging repos and not break verify-godeps.

This also adds `hack/godep-restore.sh`, which acts like
`godep restore`, but sets the GOPATH appropriate as well.
2017-03-01 10:23:30 -05:00
Eric Paris cc4a357664 Fix undefined KEEP_TMP in verify-godeps.sh 2017-01-24 14:45:20 -05:00
Eric Paris 57b12c9d09 Make verify-godeps.sh easier to debug
This does 3 things:

1. env var to retain the /tmp/godep
2. env var to use a specified /tmp/godep
3. rework of preload-dep to support more non-github things, like go4.org
2017-01-13 13:42:58 -05:00
saadali 62ee8b9d49 Move godeps to version v74 instead of v73 2016-11-03 00:43:06 -07:00
saadali 9e9a66ed22 Ensure verify-godep passes godep to godep-save 2016-11-02 23:49:30 -07:00
saadali 87636fdd78 Fix godep to v73 in verify-godeps 2016-11-02 21:08:26 -07:00
Saad Ali d41b3b0929 Revert "Add missing vendor files to make godeps happy" 2016-11-02 20:56:06 -07:00
saadali e9afbd5cdf Add missing vendor files to make godeps happy 2016-11-02 18:55:10 -07:00
saadali 683ea197be Hard code godep version to v74
See issue #36111
2016-11-02 16:33:53 -07:00
Mike Danese b250a8809d don't check BUILD file when verifying godeps 2016-10-21 17:32:33 -07:00
Daniel Smith 4eeebf76ae make verify godeps help you fix your problems 2016-09-21 18:08:41 -07:00
Tim Hockin b9d68ab566 Make verify-godeps check the results 2016-08-02 09:06:14 -07:00
Antoine Pelisse b681b17bb0 Revert "Fix working_set calculation in kubelet" 2016-07-20 17:04:32 -07:00
Vishnu kannan feb732195f run godeps twice in validation to include recursive dependencies
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-07-20 11:11:56 -07:00
David McMahon ef0c9f0c5b Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
k8s-merge-robot 421c12e69e Merge pull request #26458 from david-mcmahon/godep-version
Automatic merge from submit-queue

Check for a valid godep version.
2016-06-03 11:04:38 -07:00
David McMahon d038c53c0b Check for a valid godep version. 2016-06-02 16:35:14 -07:00
David McMahon 12edc97862 Verify changes against upstream vendor/ as well. 2016-05-27 16:27:42 -07:00
Michael Rubin 7900d0897d Adding "Pass/Fail" echo 2016-05-23 12:03:56 -07:00
Eric Paris b4f5108d39 Ignore godep version used to created Godep.json 2016-05-12 22:04:24 -04:00
Eric Paris ad3e18d60c Stop pinning to version v53 2016-05-12 22:04:24 -04:00
Eric Paris 5543e2e3fd Create a script to update godeps
Since its hard for an individual to remember that we need codecgen and
ginkgo in godeps but don't actually have that dependancy listed in a way
that godep can automatically find.
2016-05-12 22:04:19 -04:00
saadali 07f1e58d9a Modify verify-godeps to use v63 and hack 2016-05-11 17:59:29 -07:00
Tim Hockin 833770d9ac Fix verify-godeps 2016-05-08 20:30:39 -07:00
Tim Hockin cbf886c7f4 Convert everything to use vendor/ 2016-05-08 20:30:37 -07:00
Random-Liu 3876972d3f Clean up go-dockerclient reference. 2016-04-29 13:32:19 -07:00
Joe Finney 7fb8a8e46c Disable the vendor experiment in hack/verify-godeps.sh 2016-03-22 13:50:15 -07:00
Jeff Grafton 59a91326fa Automatically determine remote upstream name.
Also add option to force Godeps verification checks on post-commit
Jenkins.
2016-03-09 16:22:28 -08:00
Jeff Grafton 24b3223141 Make skipping logic more robust in hack/verify-godep*
Also add an environment variable, KUBE_VERIFY_GIT_BRANCH, used with this
logic.
2016-03-09 15:20:36 -08:00
Eric Paris 784d264c4a Pin Godep to version v53
which isn't horribly broken
2016-02-23 14:01:52 -05:00
laushinka 7ef585be22 Spelling fixes inspired by github.com/client9/misspell 2016-02-18 06:58:05 +07:00
Eric Paris 4034b5db24 Stop needlessly preloading 2016-01-05 10:19:23 -05:00
Eric Paris 2646b4c933 Revert "Pin godep to version 32"
This reverts commit 7d5acfb923.

This was hopefully fixed in
https://github.com/tools/godep/pull/362
2016-01-05 10:15:04 -05:00
Tim Hockin e48f99e2cf Bump godep release - bugs seem to be fixed. 2015-12-30 15:45:23 -08:00
Jonathan Boulle 70fddfdf80 Preload camlistore godep in verify-godeps
Similar to 62eb82d6fc, this works around
package refactoring and godep incompatibility
2015-12-25 23:10:52 +01:00
Jimmi Dyson 62eb82d6fc Preload docker dep to work around Docker package refactoring & godep incompatibility
Fixes #18833
2015-12-21 17:07:29 +00:00
Eric Paris 7d5acfb923 Pin godep to version 32
33, 34, 35 are all broken differently.
https://github.com/tools/godep/issues/359
2015-12-14 14:22:07 -05:00
Eric Paris 363d8a6fec Remove all _test.go files in Godep 2015-10-15 11:17:04 -04:00
Tim St. Clair 8d49c8e29a Update prometheus libraries to new versions. 2015-10-06 12:56:14 -07:00
Eric Paris 6766b732a5 Update verify-godeps.sh to actually work
The diff was incorrect. It was doing `diff -NIaupr`. And so diff was
interpreting the argument to -I to be `aupr`. So it was not running
recursively. The fix is not so simple because there is an intentionally
broken symlink in one of the godeps. Which diff -r fails on by default.
On linux there is an options to not dereference symlink and just make
sure they point to the same thing. No so on OS X. So we have to exclude
all files called "symlink". Which thankfully there is only one of.
2015-09-19 16:55:12 -04:00
Eric Paris ed5668f405 Hack to make godep work again 2015-09-18 11:03:29 -05:00
Eric Paris 823392e4e3 New test and commit hook to make sure changes to Godeps are reproducable
It is a pretty slow test (it downloads fresh) all of kube's Godeps, so only
run it when needed in pre-commit hook.

This also means that random changes to other non-kube repositories could
cause travis/shippable to just randomly stop working for all PRs which touch
Godeps after that moment (even though no changes have been made to Godeps by
us).  Examples would be things like other repos completely disappearing. Or
even the directory we include disappearing in master in the remote
project (even though the directory may exist at the commit we care
about) This is a bugwin godep, but it is a problem we have seen happen
with kube Godeps.
2015-08-14 14:21:43 -04:00