Commit Graph

4917 Commits (7ed6710eda27db6b6f69b32a228e868321d15752)

Author SHA1 Message Date
Anders Björklund bcf3597851
Merge pull request #4817 from afbjorklund/machine-master
Upgrade libmachine to master
2019-07-21 13:58:28 +02:00
Jituri, Pranav ed94288ac7 Fixed the code as per review comments 2019-07-20 23:05:46 +05:30
Jituri, Pranav c96a3bf1db Add conditional to poweroff on Hyper-V using SSH 2019-07-20 23:05:45 +05:30
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
Thomas Stromberg 1ba2cd865f merge conflict 2019-07-19 19:25:32 -07:00
Thomas Stromberg 774832b22f Address boilerplate and mixed content linter issues 2019-07-19 19:23:41 -07:00
Thomas Stromberg e756c193d1 Switch hugo themes from whisper to docsy 2019-07-19 19:04:51 -07: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
Medya Gh 5b22779d99 Add comments 2019-07-18 14:31:11 -07:00
Medya Gh a0e515a770 Added cobra command for profile list 2019-07-18 14:29:47 -07:00
Medya Gh 9efc2f579d Added all profile funcs 2019-07-18 14:29:13 -07:00