Commit Graph

216 Commits (a6ec05e35a946528c83dc19fa4aa2d112710d148)

Author SHA1 Message Date
Thomas Strömberg 5568ab005a
Merge branch 'master' into unthread-start 2020-01-10 09:54:02 -08:00
Thomas Stromberg e5fd7a6a81 Replace integration-test specific hacks with actual protection against racey events 2020-01-09 12:58:10 -08:00
Medya Gh f80572bb4c code review 2020-01-07 13:59:41 -08:00
Medya Gh 860ce25bf2 Add podSubnet to templates 2020-01-07 13:54:00 -08:00
Medya Gh a358aff093 fix ocibinary 2020-01-07 13:52:47 -08:00
Zhou Hao 2167655006 add unit test for GetDNSIP
Signed-off-by: Zhou Hao <zhouhao@cn.fujitsu.com>
2019-12-20 17:32:50 +08:00
Zhou Hao 6a5497510a add unit test for GetServiceClusterIP
Signed-off-by: Zhou Hao <zhouhao@cn.fujitsu.com>
2019-12-20 17:27:24 +08:00
Zhou Hao d864ac3f04 pkg/util: add CalculateSizeInMB test
Signed-off-by: zhouhao <zhouhao@cn.fujitsu.com>
2019-12-19 18:36:05 +08:00
Thomas Stromberg d811f6e428 Remove unused forceID var 2019-12-11 12:10:28 -08:00
Thomas Stromberg 3171493e51 Rename to PathMutexSpec 2019-12-11 12:01:32 -08:00
Thomas Stromberg c5f65baf61 Remove uid from hash name, as it is not necessary now that we lock on filenames rather than descriptive names 2019-12-11 11:52:36 -08:00
Thomas Stromberg 129b6a870b Update log messages 2019-12-11 09:54:44 -08:00
Thomas Stromberg af4e690837 Use sha1 for a larger hash, truncated to 40 chars 2019-12-11 09:14:20 -08:00
Thomas Stromberg cfe0f5a5b7 Use md5 to generate unique lock names 2019-12-11 08:13:12 -08:00
Thomas Stromberg bb28d5c346 Make lock names more specific to avoid conflicts 2019-11-14 10:57:11 -08:00
Medya Gh 6bd5d9b157 Merge remote-tracking branch 'upstream/master' into NewCmdRunner 2019-10-21 11:17:28 -07:00
Thomas Strömberg ce2b0a3b9a
Merge pull request #5471 from xichengliudui/redundantCode
remove the redundant code in util.go
2019-10-17 15:16:40 -07:00
Medya Gh eaa01716ea move unit tests from util to command_runner 2019-10-02 15:56:21 -07:00
Medya Gh 88183240ca move teePrefix from util to ssh_runner 2019-10-02 15:09:42 -07:00
xichengliudui 7ebef128f3 Remove the redundant code in util.go
update pull request
2019-09-27 09:35:59 +08:00
Anders F Björklund 869c08a5bc Address some minor comment issues raised by golint 2019-09-21 09:24:35 +02:00
serhatcetinkaya 20a439de02 replaced constants.GetMinipath() with localpath.MiniPath() 2019-09-19 23:28:20 +03:00
tstromberg d2b675a7fb Indent progress bar to fit under a status item 2019-09-17 17:47:45 -07:00
Thomas Stromberg 3b394df815 Add mutex around generateCerts to avoid TOCTOU race 2019-09-11 13:10:21 -07:00
josedonizetti 30e75c3c39 Download kvm2 driver 2019-09-11 11:34:29 -03:00
Sharif Elgamal 14f3aa9244
Merge pull request #5165 from sharifelgamal/cfg
Replace file lock with mutex
2019-08-26 15:25:47 -07:00
AllenZMC b73c8505b4
cleanup: fix mis-spelling in retry.go 2019-08-26 20:26:35 +08:00
Sharif Elgamal 172d5933f1 Merge branch 'master' of github.com:kubernetes/minikube into cfg 2019-08-22 16:29:25 -07:00
Sharif Elgamal 4733ebd1c3 formatting 2019-08-22 13:19:56 -07:00
Sharif Elgamal 534b2e9ec4 add test for getMutexName 2019-08-22 12:45:04 -07:00
Sharif Elgamal 8b4365e51d change confusing variable name 2019-08-21 18:55:35 -07:00
Sharif Elgamal 0cd49b8a32 more massaging around mutex name 2019-08-21 15:42:57 -07:00
Sharif Elgamal 020167617a add comments for clarity 2019-08-21 15:21:10 -07:00
Sharif Elgamal 43e39618a2 Replace file lock with mutex 2019-08-21 15:17:32 -07:00
Thomas Stromberg 62a452edab Merge master 2019-08-21 10:26:10 -07:00
Medya Gh 5811610697 refactor util/kuberentes and ExtraOptions 2019-08-17 19:05:54 -07:00
Guangming Wang 8fb12d3a61
cleanup: lock.go error message typo fix
Signed-off-by: Guangming Wang <guangming.wang@daocloud.io>
2019-08-17 23:29:21 +08:00
Thomas Stromberg 282dcc9503 Merge branch 'master' into persistent 2019-08-16 16:38:56 -07:00
Guangming Wang 39d055431d
cleanup: fix error message in crypto.go
Signed-off-by: Guangming Wang <guangming.wang@daocloud.io>
2019-08-16 23:23:21 +08:00
Medya Gh 9fad24aa37 defer release the lock 2019-08-14 11:05:03 -07:00
Thomas Stromberg b983c47145 Merge branch 'master' into persistent 2019-08-14 08:12:25 -07:00
Medya Gh fb24d04fef remove unused code 2019-08-14 00:35:39 -07:00
Medya Gh c8e6f61bc1 convert all util.Retry to retry.Expo 2019-08-14 00:24:51 -07:00
Medya Gh f17f3408a8 convert all RetryAfter to retry.Expo 2019-08-13 23:48:30 -07:00
Medya Gh 998d305af3 Adding lock to most ioutil.WriteFile 2019-08-13 21:12:34 -07:00
Medya Gh 9d44601ede Addeed file lock for kubeconfig 2019-08-13 20:56:28 -07:00
Medya Gh d264d7d553 adding retry subpackage 2019-08-13 19:59:21 -07:00
Medya Ghazizadeh 7bb085ad24
Merge pull request #5003 from medyagh/kubeconfig
Refactor Kubeconfig
2019-08-13 14:57:49 -07:00
Thomas Strömberg 345ed1b85d
Merge pull request #5025 from blueelvis/4996-fix-download-progress-bars
Upgrade cheggaaa/pb from v1.0.27 to v3.0.1
2019-08-12 08:31:20 -07:00
Pranav Jituri 42f5b11fb3
Fixed as per review comments 2019-08-10 12:48:49 +05:30