Commit Graph

4850 Commits (4835945839823e8828698c7d2e93427022d42558)

Author SHA1 Message Date
Marek Schwarz 4835945839 Bugfix
Refactor
2019-08-18 19:44:09 +02:00
Marek Schwarz 229c9b7ee9 Fixed lint errors 2019-08-08 23:21:05 +02:00
Marek Schwarz f0dd5a7e35 Added unit test for deletion of all profiles
Improved logging
2019-08-08 23:16:46 +02:00
Marek Schwarz 6ed4262849 Resolved import cycle
Added unit test for machine.go
2019-08-08 21:41:58 +02:00
Marek Schwarz 50329ed870 Added machine.go to Load and Validate machines
Added empty machine_test.go
Added testdata for machine.go
2019-08-07 21:48:46 +02:00
Marek Schwarz a1d73a7a34 Added method to delete invalid profiles
Added unit tests for DeleteProfiles
deleteProfile for not part of api anymore
Added more validation for profiles
2019-07-29 23:19:13 +02:00
Marek Schwarz 342584ab93 Fixed testdata 2019-07-25 23:31:25 +02:00
Marek Schwarz fa0cdbf64b Fixed testdata 2019-07-25 22:46:35 +02:00
Marek Schwarz 59eb974088 Fixed testdata 2019-07-25 22:44:37 +02:00
Marek Schwarz 1d9a61f31e Changed username 2019-07-25 18:54:19 +02:00
Marek Schwarz d7d05b7494 Added more testdata 2019-07-25 16:33:46 +02:00
Marek Schwarz a4fd88514b Added valid configs for delete_test 2019-07-25 13:15:27 +02:00
Marek Schwarz 6f81089dfb Fixed review findings 2019-07-24 20:35:58 +02:00
Marek Schwarz d4d8cc43f0 Refactor error init 2019-07-24 17:28:57 +02:00
Marek Schwarz 96ef740782 Improved logging 2019-07-24 15:01:52 +02:00
Marek Schwarz 1ef11bfea8 Fix test 2019-07-23 17:53:14 +02:00
Marek Schwarz 6dcb45ad52 Refactor 2019-07-23 17:26:27 +02:00
Marek Schwarz 6d9ae13990 Fixed Test 2019-07-23 13:50:36 +02:00
Marek Schwarz cb589740c3 Added testdata for unit tests
Reorganized testdata file structure
2019-07-23 09:08:16 +02:00
Marek Schwarz 45161fabc4 Keep deleting when profiles when the deletion of one profile fails
Added deletionError struct
Added function to handle deletion errors for logging
2019-07-23 00:58:02 +02:00
Marek Schwarz e237a1314d Fixed merge error 2019-07-20 20:02:40 +02:00
Marek Schwarz 48bd69c895 Integrated ListProfiles()
Removed GetAllProfiles()
Made LoadProfile public
2019-07-20 18:57:27 +02:00
Marek Schwarz 70f4cb99ce Merge branch 'master' into DELETE_ALL_PROFILES
# Conflicts:
#	cmd/minikube/cmd/delete.go
2019-07-20 18:18:30 +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
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