Commit Graph

776 Commits (0a0a47c2ba901b6f860a5c58a99b745f44301f90)

Author SHA1 Message Date
Medya Ghazizadeh 7f4e7ee317
Merge pull request #9384 from prezha/update-kubernetes-version-i1
update_kubernetes_version: standalone script v2
2020-10-12 17:41:43 -05:00
Priya Modali ab4a0ab558 Cleaning up flags parsing. 2020-10-08 11:18:50 -07:00
Priya Modali ef2090ac31 Merge branch 'master' of https://github.com/kubernetes/minikube into klog 2020-10-08 10:27:04 -07:00
priyawadhwa 82a5189b93
Merge pull request #9334 from afbjorklund/multiarch-storage-provisioner-manifest
Make storage-provisioner available for all arch
2020-10-07 14:43:47 -04:00
Predrag Rogic b926b802cf
reverting back from klog to glog 2020-10-07 02:21:55 +01:00
Predrag Rogic 5ba07d547b
fix wrongly reported "nothing changed"
when there are changes that has been made in the local filesystem repo
and make the issue mentioned in the PR message ("fixes: ") a parameter
2020-10-04 01:25:27 +01:00
Predrag Rogic 61a579a8f9
update_kubernetes_version: standalone script v2
polls GitHub for the current Kubernetes Stable release and latest RC or Beta pre-release, then automatically updates local repo and/or creates a unique PR in kubernetes/minikube repo
2020-10-03 01:37:18 +01:00
Priya Modali 43cc1a2581 Resolved merg conflicts. 2020-10-02 14:10:55 -07:00
Priya Modali 43ea47f4e0 Fixed merge conflicts. 2020-09-29 16:17:31 -07:00
Priya Modali 97d96bf925 Switching from glob library to klog library. 2020-09-29 15:49:41 -07:00
Medya Gh f0f10d6135 first version 2020-09-29 14:14:24 -07:00
Till Hoffmann 5965b68733
Improved file-filter for github-release-assets 2020-09-29 10:31:34 +02:00
Anders F Björklund 92cce721aa Make storage-provisioner available for all arch
Always use architecture when building the image.

When developing locally, tag the image with version
(this tag now refers to the local host architecture)

When making a release, make a manifest with version
(this manifest now lists all supported architectures)

Don't use architecture, when specifying "image:".
2020-09-27 19:40:42 +02:00
Predrag Rogic 1444ce37d7 update_kubernetes_version: refactor
- add context.WithTimeout - limit the time spent on quering GitHub
  APIs
- extract Kubernetes GitHub Releases API quering into a separate
  fetchKubernetesReleases func
- extract Kubernetes Version Update logic into a separate
  updateKubernetesVersions func
- extract file patching instructions into a separate replaceAllString
  func
- patch '../../site/content/en/docs/commands/start.md' => remove the
  need to run 'make generate-docs' before 'make test'
- resolve 'ERROR: logging before flag.Parse'
- consolidate and add more verbose logging
- add more descriptive code comments
- removed TODO - will stick to the '0' patch version for all testData
  sets
- ensure 'make test' completes w/o any issues
2020-09-22 21:46:18 +01:00
Predrag Rogic 19cc40f420 update_kubernetes_version: implement a standalone program that polls GitHub for the latest Kubernetes release 2020-09-22 03:41:27 +01:00
Sharif Elgamal d0f17a4886 skip building gvisor and storage provisioner on release for now 2020-09-03 12:11:50 -07:00
Medya Ghazizadeh 62b54fb609
Merge pull request #8879 from MaXinjian/test
check_install_golang.sh: fix "HOST_VERSION: command not found" issue
2020-08-10 12:25:02 -07:00
Sharif Elgamal 382629a891 Bump Makefile for 1.12.2 release and add release notes 2020-08-03 14:21:15 -07:00
root d1e8d47f80 fix typos 2020-07-30 12:47:08 +00:00
Ma Xinjian db830c355c check_install_golang.sh: fix "HOST_VERSION: command not found" issue
HOST_VERSION is defined in if, we can't use it in else

Signed-off-by: Ma Xinjian <maxj.fnst@cn.fujitsu.com>
2020-07-30 14:05:00 +08:00
Medya Gh e89b0b4757 move dockerfile to a different folder 2020-07-27 15:59:56 -07:00
Medya Gh 47ed4bc23c update lint version 2020-07-24 14:45:15 -07:00
Medya Ghazizadeh a53f0ffb75
Merge pull request #8779 from priyawadhwa/skaffold
Add integration test to test against latest skaffold release
2020-07-24 12:56:37 -07:00
Medya Ghazizadeh ad7f87fc21
Merge pull request #8774 from afbjorklund/podman-build-downgrade
Podman downgrade to 1.9.3 for the build command
2020-07-22 10:58:44 -07:00
Medya Ghazizadeh 515095a2d2
Merge pull request #8780 from afbjorklund/kic-automount
Add minimal minikube-automount to the kic image
2020-07-21 15:50:16 -07:00
Priya Wadhwa 9627b586bf fix merge conflict 2020-07-21 18:30:02 -04:00
Medya Gh 87bd99c6c7 bump gopogh 2020-07-21 11:23:35 -07:00
Medya Gh 1e526fa300 update gopogh to have sorted test duration 2020-07-20 20:18:49 -07:00
Medya Ghazizadeh 2183c90de0
Merge pull request #8781 from medyagh/update_go_ver
update golang version
2020-07-20 16:02:24 -07:00
Medya Ghazizadeh 79088e6ed2
Merge pull request #8581 from afbjorklund/preload-crio
Generate cri-o container runtime preload tarball
2020-07-20 15:55:31 -07:00
Medya Gh 77c94988eb update golang version 2020-07-20 14:45:26 -07:00
Priya Wadhwa dc9f5c18ab include test in github actions; don't run boilerplate on testdata 2020-07-20 17:03:58 -04:00
Anders F Björklund af6b6db44b Make the kicbase image build by updating dnsutils
(cherry picked from commit 4e4dcbbe80)
2020-07-20 23:02:13 +02:00
Anders F Björklund 302a6b05f2 Add minimal minikube-automount to the kic image
This only needs to mount the required paths for the
storage provisioner, not for docker and minikube etc.
2020-07-20 23:01:56 +02:00
Anders F Björklund 4e4dcbbe80 Make the kicbase image build by updating dnsutils 2020-07-20 18:22:34 +02:00
Anders F Björklund 789a907f8b Downgrade kicbase podman to 1.9.3 for build cmd 2020-07-20 18:21:54 +02:00
RA489 39a4268317 Upgrade go version to 1.14.4 2020-07-08 23:27:38 +05:30
Anders F Björklund b3e5e709fa Need to test storage driver of container runtime 2020-06-30 18:56:30 +02:00
Anders F Björklund 6adf11a888 Upgrade golang version from 1.13.8 to 1.13.9 2020-06-28 20:33:32 +02:00
Anders F Björklund b87a837f2e Use the actual storage driver name for cri-o 2020-06-28 09:49:50 +02:00
Anders F Björklund 1bf268c9f6 Generate cri-o container runtime preload tarball 2020-06-27 20:20:35 +02:00
Thomas Stromberg 5680774f42 Remove unused hack scripts 2020-06-23 20:18:59 -07:00
Thomas Stromberg 9e95435e00 Add --cni flag, fix --network-plugin=kubenet 2020-06-23 20:10:25 -07:00
Priya Wadhwa 561939ce12 Add set -x to entrypoint 2020-06-12 12:20:03 -07:00
Medya Gh 50d7148db3
bump gopogh 2020-06-04 23:49:54 -07:00
Marcin Niemira 1dde16ce48
rm old python scripts 2020-05-28 22:51:26 +10:00
Medya Gh 123d1b6a74 add default versions to preload generation 2020-05-12 18:57:49 -07:00
Thomas Stromberg 60f8386f82 release scripts: use dash instead of underscore for RPM filenames 2020-05-12 08:58:18 -07:00
Thomas Stromberg 436cee2d84 Fix minikube/kubernetes capitalization, make short help consistent 2020-05-07 14:12:10 -07:00
Thomas Stromberg c89b2f5943 Add unversioned names to avoid updating upstream docs each release 2020-05-01 16:13:25 -07:00
Thomas Strömberg dee6d518ce
Merge pull request #7631 from afbjorklund/podman-sudo
Add "sudo" to podman calls
2020-04-29 08:53:41 -07:00
Thomas Strömberg 2f78bff4ed
Merge pull request #7858 from priyawadhwa/upgrade-kic
Upgrade docker driver base image to v0.0.10
2020-04-29 08:48:45 -07:00
Anders F Björklund 78a22f5056 Remove prefix parameter and add prefix command
Move the "sudo" prefix to a central location, instead of
having it all over the place. Assume only needed on Linux.
2020-04-28 13:52:52 +02:00
Anders F Björklund f78e00e99b Merge branch 'master' into podman-sudo 2020-04-28 07:55:38 +02:00
Priya Wadhwa 90b029e359 Add varlink for podman-env
'
2020-04-27 10:45:34 -07:00
Anders F Björklund 28106fa2d7 Use constants instead of the KIC prefix strings 2020-04-26 15:22:57 +02:00
Anders F Björklund 6644c5cc64 Merge branch 'master' into podman-sudo 2020-04-25 18:05:33 +02:00
Priya Wadhwa cfb1d21982 fix lint 2020-04-23 16:10:20 -07:00
Priya Wadhwa 82886dff44 change env to arg 2020-04-23 12:09:58 -07:00
Priya Wadhwa b90a28cc52 Download crio from GCS bucket 2020-04-23 11:05:47 -07:00
Priya Wadhwa 96e03d68e8 Merge branch 'master' of https://github.com/kubernetes/minikube into upgrade-kic 2020-04-23 10:55:07 -07:00
Medya Ghazizadeh 8327b230ac
Merge pull request #7859 from tstromberg/release-everything
release: Replace hardcoded list of assets to upload with a glob
2020-04-22 16:00:00 -07:00
Thomas Stromberg 056af16aab Replace hardcoded list of assets to upload with a glob 2020-04-22 15:06:50 -07:00
Priya Wadhwa 7a3db5078e Update crio and podman in docker driver base image
The dockerfile currently doesn't build because it can't find the specified versions of crio and podman to install.
2020-04-22 14:41:49 -07:00
Priya Wadhwa ac5ef8b0ee fix container runtime in params 2020-04-21 18:17:20 -07:00
Sharif Elgamal 831052032a
Merge pull request #7837 from sharifelgamal/podman_exp
mark podman tests as experimental
2020-04-21 15:19:44 -07:00
Sharif Elgamal 1dcfbc67af mark podman tests as experimental 2020-04-21 14:53:30 -07:00
Priya Wadhwa e068a498f5 Verify ISO exists before releasing binaries 2020-04-21 10:59:01 -07:00
Medya Gh dc84091d59
fix preload script 2020-04-20 21:39:08 -07:00
Medya Gh a14f846a8c add one more delete 2020-04-20 18:00:43 -07:00
Medya Gh 3e97301fe8 clean up at start too 2020-04-20 17:55:10 -07:00
Medya Gh d6ad34b920 missed one 2020-04-20 17:54:06 -07:00
Medya Gh 95eba3f734 delete prune 2020-04-20 17:51:59 -07:00
Medya Gh 3bd1608954 move exec inside func 2020-04-20 17:37:56 -07:00
Medya Gh 9eae9e544c hack preload tune pull 2020-04-20 17:36:11 -07:00
Medya Gh b774db38f3 retry up to 5 times 2020-04-20 16:29:07 -07:00
Medya Gh f7ff943f78 retry image pull 2020-04-20 16:25:58 -07:00
Medya Gh ef134c8519 err message improve 2020-04-20 16:20:10 -07:00
Medya Gh 3cd9a09fe4 return intead of exit 2020-04-20 16:18:33 -07:00
Medya Gh cdd0944723 preload script clean up minikube 2020-04-20 16:17:38 -07:00
Medya Gh 22c2850102
revert unrelated changes 2020-04-20 13:35:15 -07:00
Medya Gh c504f2febd
spell 2020-04-20 13:33:42 -07:00
Medya Gh 366dc8d127
add helper for img plull command 2020-04-20 13:13:37 -07:00
Medya Gh 1bdd9ff7e8 add docker back 2020-04-20 12:25:19 -07:00
Anders F Björklund 45ec38d2e6 Fix hack binary, as pointed out by golangci-lint 2020-04-19 09:45:16 +02:00
Anders F Björklund d7dc7bf7b2 The podman driver should not be run as root
Use sudo for the podman commands instead

Wrap the docker commands with env prefix
2020-04-19 09:42:17 +02:00
Medya Gh 3823304d21
generate preload for containerd 2020-04-18 06:31:15 -07:00
Medya Ghazizadeh 2c4ba8ba9c
Merge pull request #7763 from kubernetes/bump_gopopgh
ci: bump gopogh version for open in new window feature
2020-04-18 01:42:34 -07:00
Medya Gh fb6f68e71d
bump gopogh version for open in new window feature 2020-04-17 22:57:25 -07:00
Medya Ghazizadeh 40442ba281
Merge pull request #7716 from tstromberg/conformance2
conformance: add --wait=all, reduce quirks
2020-04-17 19:57:59 -07:00
Medya Ghazizadeh e0db24d414
Merge pull request #7713 from tstromberg/jenkins-job
Add Docker for Windows to pending job list
2020-04-16 23:25:11 -07:00
Thomas Strömberg 13895fa1da
Merge pull request #7681 from tstromberg/windows-tests
Remove hyperv-virtual-switch argument, delete all profiles
2020-04-16 09:17:13 -07:00
Thomas Stromberg 5b30fd64f4 conformance: add --wait=all, reduce quirks 2020-04-16 07:52:46 -07:00
Thomas Stromberg 42d2b49b17 Add Docker for Windows to pending job list 2020-04-16 07:02:14 -07:00
Thomas Strömberg 1f4f2095a1
Merge pull request #7682 from tstromberg/windows-docker-test
Add Windows integration test for Docker
2020-04-16 06:51:10 -07:00
Medya Ghazizadeh 442c2dc7c3
Merge pull request #7240 from medyagh/macos_ci_docker
fix ci machine for docker on macos
2020-04-15 12:55:39 -07:00
Thomas Stromberg 19ee19d20e Add Windows integration test for Docker 2020-04-15 09:53:50 -07:00
Thomas Stromberg 1dc1ea45f5 Remove hyperv-virtual-switch argument, delete all profiles 2020-04-15 09:51:58 -07:00
Medya Gh 4dd2152fae update crio version in kicbase 2020-04-10 01:42:58 -07:00
Thomas Stromberg 16a8c38682 none: Add support for OpenRC init (Google CloudShell) 2020-04-08 18:20:30 -07:00
Medya Gh f82c2f2dd3 add copy to clipboard to test results 2020-04-07 17:08:34 -07:00
Medya Gh deb16d6751 copy kic overlay image only for docker run time tarball 2020-04-06 18:56:19 -07:00
Medya Gh f72132b5ec lint 2020-04-06 18:56:19 -07:00
Thomas Stromberg 29dbb5c033 cd to SRC_DIR to avoid brew error 2020-04-02 20:55:11 -07:00
Priya Wadhwa 721a57c25a Rebased 2020-03-26 11:01:28 -07:00
Priya Wadhwa e293b38431 Set --preload flag to true so that download.PreloadExists doesn't immeditely return false 2020-03-26 10:42:45 -07:00
Priya Wadhwa c9c324242c add newlines 2020-03-26 10:37:29 -07:00
Priya Wadhwa 2a1ee51083 add logging 2020-03-26 10:31:46 -07:00
Priya Wadhwa 2768552361 Use download.TarballExists to make sure tarball is publicly accessible in script generator 2020-03-26 10:23:30 -07:00
Priya Wadhwa efbe113a94 Add more logging to preload 2020-03-26 10:15:02 -07:00
Medya Gh 7d5b854541 fix ci machine for docker on macos 2020-03-25 15:11:03 -07:00
Medya Gh 093b7c29be improve comments 2020-03-25 13:30:08 -07:00
Medya Gh d18cb6fe09 install socat 2020-03-25 13:26:47 -07:00
Priya Wadhwa d2171be291 rebased' 2020-03-24 16:39:54 -07:00
Medya Ghazizadeh afa09ad5d4
Merge pull request #7182 from priyawadhwa/issue-7172
Upgrade podman and add libglib2.0-0 to kicbase image v0.0.8
2020-03-23 23:01:53 -07:00
Medya Gh 90de1d4c7f install conntrack on integeration machines 2020-03-23 18:37:13 -07:00
Priya Wadhwa abf35cfbc1 Upgrade podman and add libglib2.0-0 to kicbase image
The `TestOffline/group/crio` integration test was failing with the error:

```
crio load image: sudo podman load -i /var/lib/minikube/images/storage-provisioner_v1.8.1: exit status 125
```

I tried SSH'ing into minikube and running the command myself, and got the error:

```
Error: could not get runtime: please update to v2.0.1 or later: outdated conmon version
```

I then tried updating conmon, but got the error:

```
conmon: error while loading shared libraries: libglib-2.0.so.0: cannot open shared object file: No such file or directory
```

I then tried adding the libglib2.0-0 library to the kic base image and upgrading podman, which seems to have resolved the issue.
2020-03-23 17:41:06 -07:00
Priya Wadhwa bfe8aee3b5 Pass in container runtime to preload tarball name
This way we don't have to individually check if we support a container runtime
2020-03-23 12:29:49 -07:00
Thomas Strömberg 8e9d8a221c
Merge pull request #7134 from tstromberg/test-download-only
download_only_test: Fix non-docker runtimes, remove expected-driver test
2020-03-21 14:48:01 -07:00
Thomas Stromberg d75dc6a229 Remove broken ExpectedDefaultDriver test, fix call to PreloadExists 2020-03-21 10:22:45 -07:00
Tacio Costa beadb8626e Fix script to update kubernetes version looking for wrong files and regex 2020-03-21 04:07:10 -03:00
Priya Wadhwa 68baafccf0 fix lint 2020-03-18 10:41:24 -07:00
priyawadhwa 1c9e63312c
Merge pull request #7042 from priyawadhwa/preload-release-script
Refactor preload_images.go to function as an automated release script for preloaded tarballs
2020-03-18 10:33:18 -07:00
Priya Wadhwa 579ac4411c Use one tarballName function for consistency and add amd64 to the name 2020-03-17 13:58:03 -07:00
Priya Wadhwa 5659a1df6e Remove cloudbuild stuff, run preload generation in jenkins 2020-03-17 13:54:00 -07:00
Priya Wadhwa 0acb06bd34 add flag for kubernetes version 2020-03-16 17:51:41 -07:00
Priya Wadhwa c9c597c2e1 get last 30 releases of k8s from github 2020-03-16 17:48:00 -07:00
Priya Wadhwa 316eef44d1 Run preloaded images release script in jenkins 2020-03-16 10:44:19 -07:00
Priya Wadhwa 9c8102dd58 Refactor preload_images.go to generate and upload a preloaded tarball
This script is now responsible for making sure that the DefaultK8sVersion, NewestK8sVersion, and OldestK8sVersion supported by minikube have preloaded tarballs. It will be run on every PR as an automated release script for preloaded tarballs.
2020-03-13 16:05:46 -07:00
Medya Ghazizadeh fb2ec883b4
Merge pull request #6949 from afbjorklund/go-1.13.8
Upgrade go version 1.13.6 -> 1.13.8
2020-03-13 15:14:00 -07:00
Medya Gh 94092c8d6a sudo systemctl 2020-03-12 11:43:34 -07:00
Thomas Strömberg d8f5e769bb
Merge pull request #7013 from tstromberg/debug-preload-upload
Extra debugging for preload generation process
2020-03-11 13:53:13 -07:00
Thomas Stromberg 43ce409e79 Extra debugging for preload generation process 2020-03-11 13:09:55 -07:00
Medya Gh e4a05cd15c fix jenkins commit status duplicate wording 2020-03-10 19:27:05 -07:00
Anders F Björklund ff07ab8bd1 Upgrade go version 1.13.6 -> 1.13.8 2020-03-08 12:32:46 +01:00
Medya Ghazizadeh d5bc3fdc65
Merge pull request #6888 from sharifelgamal/driver
Switch --vm-driver paramter to --driver
2020-03-04 19:04:43 -08:00
Sharif Elgamal ac0c1bad42 missing files 2020-03-04 13:48:21 -08:00
Priya Wadhwa a03c239c93 Add k8s binaries to preloaded tarball
Include k8s binaries in preloaded tarball so that we can skip tranferring this over.

This increases the size of the tarball from around 430 MB to 500MB, but saves a couple seconds on start time.
2020-03-03 11:35:47 -08:00
Priya Wadhwa 3d291fd69e Only add necessary directories to tarball 2020-03-02 17:20:46 -08:00
Priya Wadhwa 59615132a8 Include container runtime and tarball version in preloaded tarball name 2020-03-02 17:04:50 -08:00
Priya Wadhwa 4996b14a28 check for preloaded images before loading again 2020-03-02 15:10:40 -08:00
Priya Wadhwa 481010d8dc added overlay2 to preloaded images tarball name 2020-03-02 14:10:41 -08:00
Priya Wadhwa 742b3e44d6 remove transfer binaries 2020-03-02 13:53:23 -08:00
Priya Wadhwa 697359b4f3 Fixed lint 2020-03-02 13:37:22 -08:00
Priya Wadhwa 6b0e942e7e Rebased on master 2020-03-02 13:33:27 -08:00
Medya Gh e2161049a7 restart docker on mac 2020-02-25 15:55:35 -08:00
Medya Gh 30a926f043 ls volumes 2020-02-25 15:16:18 -08:00
Medya Gh 72a355389d add mac os integration test for docker driver 2020-02-25 13:25:57 -08:00
Priya Wadhwa aefbf2cd18 Rebased on master 2020-02-24 13:41:06 -08:00
sayboras 5626934b0a Upgrade to 1.13.6 2020-02-23 23:10:13 +11:00