Medya Ghazizadeh
53b37e2beb
Separate make lint targets for developers vs travis ( #4852 )
...
* Lowering memory for golangci-lint
* ci 2 jobs , gogc 5
* change ci jobs number
* added a new make target for ci and for developers
* reuse golint options for two targets
2019-07-24 10:34:53 -07:00
Anders Björklund
65dd2d0d6a
Merge pull request #4850 from afbjorklund/lint-jobs
...
Limit the number of golangci-lint jobs to one
2019-07-23 17:32:32 +02:00
Anders F Björklund
7da86459c5
Increase garbage collection for golangci-lint
...
This will again increase the total test time.
But hopefully make it use less memory as well.
2019-07-23 15:42:56 +02:00
Anders F Björklund
bb5736b0a3
Limit the number of golangci-lint jobs to one
...
If you want the old behaviour back, use:
e.g. make lint GOLINT_JOBS=`nproc`
Running multiple linters takes a lot of RAM.
And it only saves us like 15 seconds anyway ?
2019-07-23 15:42:50 +02:00
Anders Björklund
e22b605e72
Merge pull request #4525 from afbjorklund/distro
...
Show info about the minikube linux distribution
2019-07-23 12:50:00 +02:00
Medya Ghazizadeh
66938da612
Merge pull request #4843 from medyagh/travis_update
...
pinning go version in travis
2019-07-22 16:29:57 -07:00
Medya Gh
c6636bf832
pinning go version in travis
2019-07-22 16:20:55 -07:00
Jose Donizetti
6a5fbbac34
Warn if hyperkit version is old ( #4691 )
...
* Add warn if hyperkit driver version is old
* Add hyperkit upgrade documentation
* Improve kvm/hyperkit upgrade warn message
* Move validateDriverVersion to before downloading ISO
* Change executable to use constants
2019-07-22 15:35:42 -07:00
Anders Björklund
bcf3597851
Merge pull request #4817 from afbjorklund/machine-master
...
Upgrade libmachine to master
2019-07-21 13:58:28 +02:00
Anders F Björklund
d1cca9544c
Return empty struct instead of nil pointer
...
Not very friendly to return nil without error
2019-07-20 12:29:02 +02:00
Anders F Björklund
f11fc22d9c
Use "OS release" instead of "distribution"
...
Makes it more clear that it is os-release(5)
2019-07-20 12:28:01 +02:00
Anders F Björklund
60ff459cde
Show information about the linux distribution
...
Taking from /etc/os-release, via libmachine provision
Failure to show it is not fatal, just log an error...
2019-07-20 09:47:31 +02:00
Sharif Elgamal
6552436311
Console output cleanup ( #4825 )
...
* Console output cleanup
* comment fix
* Fixing out.Out stutter
* Fix invalid template
* Change profile_list.go to new console functions
* more merge stuff
2019-07-19 17:00:51 -07:00
Thomas Strömberg
784717c007
Merge pull request #4813 from tstromberg/cluster_test
...
Make cluster_test and utils_test run in isolation
2019-07-19 16:48:26 -07:00
Thomas Stromberg
4076eb15d6
Remove unused imports
2019-07-19 16:40:34 -07:00
Thomas Stromberg
a9309c3237
Remove unused ParseSHAFromURL function
2019-07-19 16:36:26 -07:00
Medya Ghazizadeh
eb32dfc23a
Merge pull request #4828 from medyagh/profile_patch
...
Fix profile list error handling
2019-07-19 16:24:53 -07:00
Medya Gh
5d5c193743
Fix profile list error handling
2019-07-19 16:24:23 -07:00
Thomas Strömberg
042af2a0dc
Merge pull request #4823 from tstromberg/sshutil_test2
...
Make TestNewSSHClient and ssh_mock race-proof
2019-07-19 16:17:49 -07:00
Medya Ghazizadeh
f9dbcb604d
Merge pull request #4827 from medyagh/profile_none_msg
...
Improve usage message when there is no profile found
2019-07-19 16:17:04 -07:00
Medya Gh
605a549de4
Improve usage message when there is no profile found
2019-07-19 16:15:11 -07:00
Medya Gh
7ef6b80a16
Add usage message when no profile found and avoid showing empty table
2019-07-19 16:10:03 -07:00
Medya Ghazizadeh
9f42df6209
Merge pull request #4811 from medyagh/add_profile_list_cmd
...
Add a new command (profile list)
2019-07-19 15:43:50 -07:00
Thomas Strömberg
c3ace3a6cd
Merge pull request #4818 from afbjorklund/docker-18.09.8
...
Upgrade Docker, from 18.09.7 to 18.09.8
2019-07-19 14:16:52 -07:00
Thomas Stromberg
251a2147b8
Lint issues
2019-07-19 14:11:16 -07:00
Thomas Stromberg
e958850a32
ssh mock: Raise errors rather than log them
2019-07-19 14:04:35 -07:00
Thomas Stromberg
6b3eb21be1
Add cleanup to TestNewSSHClient so that it can survive -race -count=100
2019-07-19 12:57:58 -07:00
Thomas Stromberg
a4ce31f116
Merge branch 'master' into cluster_test
2019-07-19 12:30:42 -07:00
Thomas Strömberg
21cd69e2ac
Merge pull request #4821 from tstromberg/registry-tests
...
Refactor TestFunctional/Registry to handle new labels
2019-07-19 12:29:45 -07:00
Medya Gh
136aa61463
Added integeration tests for profile list
2019-07-19 11:31:00 -07:00
Medya Gh
a2d4c9e14e
using ReadDir instead of walk
2019-07-19 11:16:20 -07:00
Medya Gh
51a19625bc
Lint and add optional arg to other loaders
2019-07-19 10:45:56 -07:00
Thomas Stromberg
caa2719b86
Reduce log noise in TestRegistry
2019-07-19 10:38:33 -07:00
Thomas Stromberg
56ae84b921
Refactor TestRegistry for new label configuration
2019-07-19 10:35:41 -07:00
Medya Gh
14fcdaa98b
make constant profile funcs more testable
2019-07-19 10:21:47 -07:00
Anders F Björklund
e2e5a50b3b
Upgrade Docker, from 18.09.7 to 18.09.8
2019-07-19 14:49:57 +02:00
Anders F Björklund
8cd98f9ad0
Upgrade libmachine to master
...
This includes the fixes that was previously on
the github.com/machine-drivers/machine master:
6f34be4 Allow localized names for Virtual Switch
3a0d935 Fix broken IsVTXDisabled detection on AMD CPU
2019-07-19 13:52:35 +02:00
Medya Gh
cd80371aad
Addded unit test for profile list
2019-07-18 22:13:32 -07:00
tstromberg
6f27d77748
Log command, pass T
2019-07-18 18:26:46 -07:00
Medya Gh
b17376cccf
Refactor profile, detect invalid profiles
2019-07-18 18:23:26 -07:00
tstromberg
22ae10c267
Remove unused getTestArgs struct
2019-07-18 18:17:19 -07:00
tstromberg
a3d32758f8
Add mock.Logf functions to avoid panics
2019-07-18 18:12:48 -07:00
tstromberg
14c67d46a5
Remove TestParseSHAFromURL (not well isolated, takes 30 seconds)
2019-07-18 18:12:28 -07:00
tstromberg
172fa046cf
Merge
2019-07-18 17:43:00 -07:00
Thomas Strömberg
79628d309c
Merge pull request #4807 from medyagh/translation2
...
Adding translating formatting
2019-07-18 17:39:55 -07:00
tstromberg
2b49a8d8d9
Segregate cluster_test from existing profiles
2019-07-18 17:28:17 -07:00
Thomas Strömberg
186d2416be
Merge branch 'master' into translation2
2019-07-18 16:27:52 -07:00
Thomas Strömberg
e373639d13
Merge pull request #4809 from tstromberg/template2
...
Add LowPrefix to Empty style, move to beginning of list
2019-07-18 16:27:16 -07:00
Medya Gh
63a6754f9d
Add testdata for profile
2019-07-18 16:17:26 -07:00
Medya Gh
0d16ab38b9
boilerplate format
2019-07-18 14:50:37 -07:00