Commit Graph

14963 Commits (e7907e3caaf85effdf97a353428e6a5b308a96da)

Author SHA1 Message Date
Anders F Björklund e746eb8a2c Upgrade buildroot minor version 2021-04-23 08:13:50 +02:00
Steven Powell 29745438da add opt-in notifications for beta releases 2021-04-22 14:35:19 -07:00
Anders F Björklund 13e1e15caa Don't parse again if the image name didn't change 2021-04-22 19:26:32 +02:00
Anders F Björklund dc5d69e792 Don't check local or canonical images with remote 2021-04-22 19:19:26 +02:00
Anders F Björklund b16799b29c Use canonical image name if one exists remotely
When adding an image to the cache, check if it exists remote.
If it does, then use the canonical name when saving to cache.

If not checking with the remote registry, or it doesn't exist,
then use the short name when saving to cache - like before...
2021-04-22 18:10:56 +02:00
Anders F Björklund 93c40d1f31 Make sure to start buildkit socket for containerd 2021-04-22 09:02:42 +02:00
Anders F Björklund a5f835bb02 Add skeleton for minikube image integration test 2021-04-22 08:53:34 +02:00
Andriy Dzikh 810f7ab108 Change 'minikube version --short' to only print the version without a prompt. 2021-04-21 19:01:55 -07:00
Steven Powell 68171b4dbe improved failure messages 2021-04-21 16:57:09 -07:00
Steven Powell cd93ee9eb4 added message to box 2021-04-21 16:43:06 -07:00
Anders F Björklund 98d2389a3d Log error from getting the preload checksum 2021-04-21 21:46:09 +02:00
Anders F Björklund 943561b24d Clean up the order of the image commands 2021-04-21 20:26:28 +02:00
Anders F Björklund f7e07770c0 Clean up duplicated function etc after merge 2021-04-21 20:26:28 +02:00
Anders F Björklund c7153247f9 Regenerate documentation for the unit test 2021-04-21 20:26:28 +02:00
Anders F Björklund 9516122d70 Add example parameters to the usage help text 2021-04-21 20:26:28 +02:00
Anders F Björklund e230f023a0 Address lint append suggestions from gocritic 2021-04-21 20:26:28 +02:00
Anders F Björklund 947e31aead Add git url support to containerd runtime 2021-04-21 20:26:28 +02:00
Anders F Björklund c961190ed8 Allow passing environ and options to build 2021-04-21 20:26:28 +02:00
Anders F Björklund db203cd0e2 Allow building tarball from stdin stream 2021-04-21 20:26:28 +02:00
Anders F Björklund 9f9958f7ea Allow building image from an url as well 2021-04-21 20:26:28 +02:00
Anders F Björklund 40cbe652ea Improve comments and remove docker daemon 2021-04-21 20:26:28 +02:00
Anders F Björklund 02b4267fd0 Add option for pushing image to registry 2021-04-21 20:26:28 +02:00
Anders F Björklund a8a8788c11 Don't fail when the default file is passed 2021-04-21 20:26:28 +02:00
Anders F Björklund 22150fbf98 Don't add build context to the default file 2021-04-21 20:26:28 +02:00
Anders F Björklund f670368023 Move absolute file path handling to machine 2021-04-21 20:26:28 +02:00
Anders F Björklund c94a6d7968 Make sure to pass any file param to build 2021-04-21 20:26:28 +02:00
Anders F Björklund 844c6965cc Make sure to show output from build cmd 2021-04-21 20:26:28 +02:00
Anders F Björklund 6cfbf2cc3d Move minikube build cmd to minikube image build
Use the long name also for examples and usage
2021-04-21 20:26:28 +02:00
Anders F Björklund 6f26e4b8ec Generate documentation for the build command 2021-04-21 20:26:28 +02:00
Anders F Björklund 9ef5d255d2 Add support for build directory and Dockerfile
Will create a temporary tarball, if given a dir

Some code from github.com/fsouza/go-dockerclient
(but not exported as a library, for some reason)

Upgrade docker client and cherry-pick windows

From v18.09.0 to v19.03.15, plus c3a0a37446
Update go-dockerclient and remove internal deps
2021-04-21 20:26:06 +02:00
Medya Ghazizadeh 24a759fb51
Merge pull request #11114 from Nordix/increase-kvm2-virsh-timeout-ctx
Increase timeout value in kvm2 driver validation to 6 seconds
2021-04-21 11:22:45 -07:00
Anders F Björklund a2744827c3 Add some basic support for setting the image tag 2021-04-21 19:56:58 +02:00
Anders F Björklund af5828dff9 Add initial re-implementation of the build command
Currently only handles tarballs, not directories
2021-04-21 19:56:55 +02:00
Anders F Björklund 22a52e7d2e Make preload survive without a checksum
Need to download to a temporary file, and only replace
the original after explicitly validating the checksum.
2021-04-21 19:48:57 +02:00
Anders F Björklund 609b01eaae Only show warning when checksum is missing 2021-04-21 18:21:24 +02:00
Michael Captain fbf80ed1a6
Increase timeout in kvm2 driver validation
Increase the timeout in kvm2 driver validation for virsh commands to 6
seconds. This resolves an issue where the libvirtd socket can block for
about 3 seconds following a restart.

We also catch the timeout case and return a registry.State with a more
helpful error message.
2021-04-21 14:04:21 +03:00
Tobias Klauser 112792fba0 Use golang.org/x/term
The golang.org/x/crypto/ssh/terminal package is deprecated and merely a
wrapper around golang.org/x/term. Thus, use the latter directly.
2021-04-21 12:50:48 +02:00
Medya Ghazizadeh bf1aa5f46e
Merge pull request #11154 from medyagh/timeout_arm
ci: bump timeout for github action
2021-04-20 23:12:13 -07:00
Medya Ghazizadeh 284ab15837
Update functional_test.go 2021-04-20 17:01:35 -07:00
Steven Powell d17e47ca7f made test file generation Windows compatible as well 2021-04-20 16:21:36 -07:00
Steven Powell c8422c0b6e properly join dir and file 2021-04-20 16:10:02 -07:00
Steven Powell 411f934bae found Windows compatible way to get latest log file 2021-04-20 16:02:41 -07:00
Medya Gh 3e9d2e0c0c lint 2021-04-20 15:29:03 -07:00
Medya Gh c082aa2fe8 func test memory 2021-04-20 14:29:34 -07:00
Medya Ghazizadeh 6faf2411fa
Merge pull request #11157 from afbjorklund/test-report-html
test: Add target for the test report as html
2021-04-20 14:22:19 -07:00
Medya Ghazizadeh 366fa7e272
Merge pull request #11160 from afbjorklund/profile-test-docker-mock
Mock the docker call when calling it from tests
2021-04-20 14:21:06 -07:00
Steven Powell e108b0a1b3 create tmp log file for testing 2021-04-20 14:16:45 -07:00
Steven Powell c651e9614d add path to lastStart.txt if user runs start command 2021-04-20 13:49:07 -07:00
Anders F Björklund ef036e9297 Mock the docker call when calling it from tests 2021-04-20 22:13:26 +02:00
Anders F Björklund d53e497e33 Rename test-report.* to out/unittest.* 2021-04-20 21:31:49 +02:00