Commit Graph

922 Commits (31f9ab55b4ee29ea14c0a1e2e94413d60780b018)

Author SHA1 Message Date
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
Medya Gh 5f8740a15e update kic sha 2020-02-22 15:41:12 -08:00
Medya Gh 73c4c4c323 bump kic version to 7 2020-02-22 14:07:43 -08:00
Medya Gh 95402af363 bump kic version 2020-02-22 13:51:42 -08:00
Medya Gh 9b91ef7590 Add CIO-o runtime to kic drivers and improve kic image 2020-02-22 13:46:17 -08:00
Medya Ghazizadeh 0d8eca677f
Merge pull request #6719 from medyagh/gopogh_update
bump gopogh version
2020-02-21 11:32:23 -08:00
Medya Gh da612a19c2 typo 2020-02-21 11:31:35 -08:00
Medya Gh a0ff852c2b install jq if not availble 2020-02-21 10:56:46 -08:00
Medya Gh 8b8f2c5f35 gopogh status 2020-02-21 09:30:01 -08:00
Medya Gh 644b01aa0e increase retry timeout for update commit 2020-02-20 22:14:11 -08:00
Medya Gh 60019e00ea typo 2020-02-20 17:07:32 -08:00
Priya Wadhwa 94737b4a14 Add lz4 to kic base image and upgrade to v0.0.6 2020-02-20 15:53:09 -08:00
Medya Gh c51dc15187 update gopogh and install by binary instead of compile 2020-02-20 14:19:03 -08:00
Priya Wadhwa 19fa296625 Compress with lz4 2020-02-20 14:07:03 -08:00
Priya Wadhwa 97ea1b0b85 Remove preloaded base image and add makefile rule to upload prelaoded tar to gcs 2020-02-20 11:55:47 -08:00
Priya Wadhwa be8f2c2ecd Clean up docker volumes in jenkins common script 2020-02-19 13:17:31 -08:00
Nguyen Hai Truong 44692fb411
trivial fix typo: kubelets -> kubelet (#6632)
Signed-off-by: Nguyen Hai Truong <truongnh@vn.fujitsu.com>
2020-02-13 21:10:32 -07:00
Medya Ghazizadeh 3bb1a57700
upload "per commit" logs for integration test (#6609)
* make set logs URLs per commit

* add logs per commit to commit status

* logs per commit

* add per commit logs for windows too

* fix windows test script virtualbox

* fix windows script

* forget about windows for now it errors

* fix pending script

* fix typo pending script
2020-02-13 11:27:32 -07:00
Thomas Strömberg d07412fa12
Fix unnecessary conversion (unconvert) (#6607) 2020-02-12 19:19:12 -07:00
Medya Ghazizadeh 398c7ef00b
Add podman driver (#6515) 2020-02-12 19:11:44 -07:00
priyawadhwa 434176ffad
Merge pull request #6531 from priyawadhwa/kic-preload-images
Provide images with pre-loaded Kubernetes images & binaries
2020-02-12 09:55:09 -08:00
priyawadhwa b0edc720b4
Don't install recommended packages in kic base image (#6589)
This reduces base image size from 816MB to 673MB (17.5% reduction)
2020-02-11 16:38:10 -07:00
Priya Wadhwa a2564e4eed Preload /var/lib/minikube/binaries 2020-02-10 18:51:05 -08:00
Priya Wadhwa 7f0f3dcbdd Addressed review comments, still need to copy over /var/lib/minikube/binaries 2020-02-10 17:55:04 -08:00
Thomas Stromberg 656ddf43ca Update script to use bump-formula-pr 2020-02-07 15:11:22 -08:00
Priya Wadhwa c35bd75b5c fix lint 2020-02-07 14:19:44 -08:00
Priya Wadhwa 4a0fb0eeb1 Add separate makefile target for preloaded images
and convert shell script to go script
2020-02-07 11:15:34 -08:00
Priya Wadhwa e055ee6929 Preload docker images into kic base image
Adds support for specifying kubernetes version and preloading docker
images into the kic base image.

Though this increases the kic base image by ~1.6G, it should improve
start latency in conjunction with removing 'kubeadm pull images' in
another PR.
2020-02-06 13:12:43 -08:00
tstromberg 4776bb7a2d Set GOPATH for the entire script 2020-02-05 10:18:17 -08:00
Medya Gh 6c95a28c10 remove default crictl setting 2020-02-03 23:25:55 -08:00
Medya Gh e231e7ae96 rever dockefile changes 2020-02-03 22:32:08 -08:00
Medya Gh a2f2df9f81 add options to docker service for kic 2020-02-03 20:21:41 -08:00
Medya Ghazizadeh 3dd5495d2f
trim kic base image (#6478) 2020-02-03 16:31:52 -07:00
Medya Ghazizadeh 4bf3fc422a
Add docker run-time for kic driver (#6436)
* Add docker container run time for kic
2020-01-30 14:30:04 -08:00
Anders Björklund a9af9d0bd3
Use the complete filenames for the packages (#6283)
Follow standard file naming practices, for each package manager.

This opens up for allowing additional architectures, in future.
2020-01-29 16:15:32 -08:00
Medya Gh 0760859e62 remove not needed check 2020-01-28 18:27:35 -08:00
Medya Gh 987e5dc91e set pending for docker driver too 2020-01-28 17:08:02 -08:00
Medya Gh d8a348c0c8 add integration test script for docker driver 2020-01-28 16:05:49 -08:00
Medya Gh 1e05b11703 Add ssh to kic image 2020-01-23 18:24:51 -08:00
Medya Gh 773510b9c1 Add ssh to kic container image 2020-01-23 17:45:50 -08:00
Sharif Elgamal b0968a37db
change github-release calls to verbose 2020-01-17 14:20:16 -08:00
Anders F Björklund d623f35d55 Move away from go.mod when installing gopogh tool 2020-01-13 20:21:58 +01:00
Medya Ghazizadeh 19c8ddee9f
Merge pull request #6151 from medyagh/kic_exp
Experimental verison of kic
2020-01-10 00:42:01 -08:00
Medya Gh 8a0c840e52 move kic docker image to minikube gcr 2020-01-08 13:52:07 -08:00
tstromberg 7632ff9731 Rebuild docker images for each release 2020-01-08 09:47:21 -08:00
Medya Gh 07c0e32954 improve kic image 2020-01-07 13:54:00 -08:00
Medya Gh 77394db9aa add Dockerfile for kic images 2020-01-07 13:54:00 -08:00
Medya Ghazizadeh 177099ec5e
typo 2019-12-20 10:00:34 -08:00
Medya Ghazizadeh 593249f277
Bump gopogh version 2019-12-20 08:40:23 -08:00
Medya Gh 45bc738b9f add number of failures to commit status 2019-12-20 03:27:08 -08:00
Medya Ghazizadeh 7a9dec9b83
Merge pull request #6081 from medyagh/pretty_logs
Generate prettier logs for integration tests
2019-12-20 00:47:41 -08:00
Medya Gh bfa7931659 skip prettifying windows for now 2019-12-19 23:58:09 -08:00
Medya Gh b4e43bbfe6 bump gopogh and attempt to fix windows script 2019-12-19 22:21:02 -08:00
Medya Gh f1933f44dd fix script 2019-12-19 19:03:59 -08:00
Medya Gh d23abdcd38 fix bash script 2019-12-19 18:26:30 -08:00
Medya Gh 7f79828f21 add -test.v back 2019-12-19 16:07:46 -08:00
Medya Gh 8174151a9c fix windows hyperscript 2019-12-19 16:03:44 -08:00
Medya Gh c8c5081e4a Fix wc -l logic 2019-12-19 15:57:35 -08:00
Medya Gh 2e113249f3 enable gomod 2019-12-19 15:15:11 -08:00
Medya Gh d626c93203 install gopogh by go get 2019-12-19 14:24:33 -08:00
Medya Gh 0ebe3646a0 add go path to path 2019-12-19 12:08:37 -08:00
Medya Gh ed4b6146e4 change file name for pending 2019-12-19 09:34:18 -08:00
Medya Gh 104d7c64cd resolve code review comments 2019-12-19 09:32:09 -08:00
Medya Gh 6e91e983d6 fix script 2019-12-18 11:08:17 -08:00
Medya Gh 7fa17934d8 install gopogh using binary 2019-12-17 14:21:23 -08:00
Medya Gh 26236f55b1 hyperv intg script 2019-12-17 11:21:51 -08:00
Medya Gh bf7db0775c fix sh command 2019-12-17 09:39:32 -08:00
Medya Gh cd7cac61d3 attempting to add gopogh for hyperv 2019-12-17 00:55:10 -08:00
Medya Gh a5ec6adafb fix bash 2019-12-16 19:47:46 -08:00
Medya Gh 17baddce45 typo 2019-12-16 18:38:50 -08:00
Medya Gh 502a433ff0 upgrade to gopogh 0.0.12 2019-12-16 17:33:02 -08:00
Thomas Stromberg 8a6e94de8f jenkins: delete all clusters 2019-12-16 15:41:22 -08:00
Medya Gh 2e19a6aa25 docker_bin 2019-12-15 01:10:37 -08:00
Medya Gh 62f435f24f fix public log url 2019-12-15 01:08:34 -08:00
Medya Gh e98e5794e9 docker path linux 2019-12-15 00:08:52 -08:00
Medya Gh 6478138c36 fix syntax 2019-12-15 00:07:21 -08:00
Medya Gh 9a2753d211 if no html put txt 2019-12-14 20:31:21 -08:00
Medya Gh 52b3615c5f upload test.out as well 2019-12-14 18:34:26 -08:00
Medya Gh ff12983411 mount testout files to docker 2019-12-14 18:11:43 -08:00
Medya Gh ed647e2e5f no tty for docker run 2019-12-14 17:09:51 -08:00
Medya Gh d6872b9b8b fix bash interpolation 2019-12-14 16:38:03 -08:00
Medya Gh 362d65a9f7 try to capture exit code 2019-12-14 15:54:10 -08:00
Medya Gh a151947307 add right folder 2019-12-14 15:14:28 -08:00
Medya Gh 7866712003 generate inside docker 2019-12-13 16:53:06 -08:00
Medya Gh 824ce7c255 chmod 2019-12-13 02:19:09 -08:00
Medya Gh 738a972d5e install golang for integration machines 2019-12-13 02:12:05 -08:00
Medya Gh 1c840d7d1f install go 2019-12-13 01:42:44 -08:00
Medya Gh 4eb47925ce install go on integration boxes 2019-12-13 01:03:41 -08:00
Medya Gh dc12daa28f go bin 2019-12-13 00:38:57 -08:00
Medya Gh f4006edcd5 generate prettier logs in html 2019-12-13 00:20:56 -08:00
Medya Gh b0ba1ff0c6 use tail instead of bc for div 2019-12-10 15:43:43 -08:00
Medya Gh dabf8c1cde better wording 2019-12-10 14:51:19 -08:00
Medya Gh e428b29ed2 fix typo 2019-12-10 14:48:23 -08:00
Medya Gh 8c806cc663 CI: adding integration test duration to commit status 2019-12-10 14:43:58 -08:00
Sharif Elgamal 29691a67b7 fix up release notes script 2019-12-02 14:46:31 -08:00
Thomas Stromberg 5efde8bf7d The PR field is actually the commit field 2019-11-11 19:21:46 -08:00
Thomas Stromberg f69498ca99 Include GitHub response to make debugging easier, escape strings 2019-11-11 19:00:31 -08:00
Thomas Stromberg cfcb498448 Send output to /dev/null to avoid corrupting write_out 2019-11-11 18:14:41 -08:00
Thomas Stromberg e96059df21 Remove headers from output, as they corrupted --write-out 2019-11-11 18:04:28 -08:00
Thomas Stromberg bed9b128a8 Fix argument indexes 2019-11-11 17:58:11 -08:00
Thomas Stromberg dac8f12e9f Update function name 2019-11-11 17:18:50 -08:00
Thomas Stromberg a1b8d571bd Increase retry limit to 8, just in case 2019-11-11 17:14:22 -08:00
Thomas Stromberg 2b025b17f9 Retry GitHub status updates 2019-11-11 17:08:48 -08:00
Medya Gh 154522b007 fix cron cleanup script 2019-11-01 13:00:39 -07:00
tstromberg f66c8d0193 exit 99 2019-10-31 12:48:45 -07:00
tstromberg 52bba15b38 Disable brew cask updater 2019-10-31 12:47:01 -07:00
Thomas Strömberg 94e0f289e9
Merge pull request #5648 from tstromberg/cleanup-scripts
Automatically install periodic cleanup script on macOS and Linux
2019-10-30 10:51:52 -07:00
Thomas Stromberg 07ab2751ec Output warning rather than fail if install does not work 2019-10-30 09:33:43 -07:00
Thomas Stromberg 67181c6dd6 Merge 2019-10-30 06:37:48 -07:00
Thomas Stromberg bf69daf93b Invoke wall in the older BSD style for macOS compat 2019-10-30 06:34:40 -07:00
Thomas Stromberg 96a96a044a Add software update to macOS for behavioral parity 2019-10-30 06:30:59 -07:00
Thomas Stromberg 52e965ecc0 Unify behavior between macOS and Linux cleanup scripts 2019-10-30 06:30:10 -07:00
Thomas Strömberg ba8aeaae71
Merge pull request #5784 from tstromberg/podwait-none2
Improve reliability of TestStartStop with none driver
2019-10-30 06:08:53 -07:00
Thomas Stromberg 042d509085 kill VboxHeadless processes, move load warning until after processes are killed 2019-10-29 22:57:14 -07:00
Thomas Stromberg 3238542390 Fix awkward typo in macOS script 2019-10-29 22:51:22 -07:00
Thomas Stromberg ce8e7e1510 Merge and fix LOAD calculation 2019-10-29 22:12:23 -07:00
Thomas Stromberg 9a8c26c2fe Call sudo to install cleanup script on Linux 2019-10-29 22:05:39 -07:00
Thomas Stromberg 970fc60403 Remove old kubeadm reset hack, also forcibly kill docker processes 2019-10-29 21:50:02 -07:00
Thomas Stromberg 0b65bbf1d9 Use underscores for script names, clear dhcpd leases 2019-10-29 21:33:39 -07:00
Thomas Stromberg f8a114ada9 t fetch
Merge branch 'cleanup-scripts' of github.com:tstromberg/minikube into cleanup-scripts
2019-10-29 21:29:17 -07:00
Thomas Stromberg af6468f5a4 Move gvisor testing to live behind a flag, double timeout 2019-10-29 20:20:33 -07:00
Thomas Stromberg 2c960a1435 Remove PARALLEL_COUNT 2019-10-29 20:15:35 -07:00
Thomas Stromberg df2dff532a Increase timeout to 90m, unset PARALLEL_COUNT 2019-10-29 20:03:39 -07:00
tstromberg f8f38f917b Fix issues with crontab installation 2019-10-29 16:10:13 -07:00
Thomas Strömberg d32431efba
Merge pull request #5735 from tstromberg/gvisor-yiso
gvisor: Use chroot instead of LD_LIBRARY_PATH
2019-10-25 15:41:28 -07:00
tstromberg 30614d1fbe Mention GVISOR_IMAGE_VERSION 2019-10-25 15:08:46 -07:00
tstromberg 416f132ebb Pass --expected-default-driver to the test rather than minikube
Improve VBoxManage detection on Windows

Add missing install_test
2019-10-25 10:43:30 -07:00
Thomas Stromberg 4d84ac2561 Merge branch 'master' into cleanup-scripts 2019-10-24 15:46:33 -07:00
Thomas Stromberg 33ef4e1103 Add comment explaining why EXPECTED_DEFAULT_DRIVER=hyperkit 2019-10-24 15:26:34 -07:00
Thomas Stromberg c2fd3c6504 Move expected driver check to its own subtest 2019-10-24 15:23:39 -07:00
Thomas Stromberg 32c3ccd486 Use print instead of printf to preserve whitespace 2019-10-24 13:01:52 -07:00
Thomas Stromberg bdd937d360 Adjust -expected-default-driver invocation 2019-10-23 22:06:48 -07:00
Thomas Stromberg dcdac36e98 Add integration tests 2019-10-23 21:45:23 -07:00
Thomas Strömberg 989dc02ec3
Merge pull request #5544 from duohedron/boilerplate
Get rid of python scripts in build process
2019-10-23 11:58:25 -07:00
tstromberg 255e755622 Merge branch 'master' into cleanup-scripts 2019-10-21 11:37:39 -07:00
tstromberg fb6295823f rsync cron directory 2019-10-21 11:37:32 -07:00
duohedron f9110b2ff4 Regexes are made top-level var. 2019-10-18 08:35:17 +02:00
Thomas Strömberg 60ae033a6a
Merge pull request #5623 from corneliusweig/w/release-notes-helper
Delegate release notes generation to external tool
2019-10-17 14:36:36 -07:00
Thomas Stromberg 0ce8ab0524 Add boilerplate 2019-10-17 13:11:31 -07:00
Thomas Stromberg 0c77885329 Add boilerplate 2019-10-17 13:11:04 -07:00
Thomas Stromberg b5f071d67f Fix 'grep: invalid character range' error on macOS 2019-10-17 13:09:05 -07:00
Thomas Stromberg c3e20bac5e Add boilerplate 2019-10-17 12:42:14 -07:00
Thomas Stromberg 305209e869 Automatically install periodic cleanup script on macOS and Linux 2019-10-17 12:19:43 -07:00
Thomas Stromberg 554f553c9e Include top output with load warning 2019-10-17 11:54:52 -07:00
Thomas Stromberg 23e94a3257 Use full paths consistently in cleanup 2019-10-17 11:37:14 -07:00
Thomas Stromberg 53136c8bb6 Add load warning, fix profile deletion, make vbox iface cleanup less noisy 2019-10-17 11:23:55 -07:00
Thomas Strömberg 7a7689bef3
Merge pull request #4780 from marekschwarz/DELETE_ALL_PROFILES
Added option to delete all profiles
2019-10-16 13:06:25 -07:00
Medya Ghazizadeh 89bc5922d9
Merge pull request #5622 from tstromberg/jenkins-mystery
jenkins: rsync needs -R, add version output
2019-10-14 15:08:52 -07:00
Thomas Stromberg a4e8b63de9 Calculate OS_ARCH, as the variable doesn't exist in this context 2019-10-14 14:37:03 -07:00
Cornelius Weig 7ef4654087 Delegate release notes to external tool 2019-10-14 23:18:15 +02:00
tstromberg 2a5174ad41 rsync needs -R, add version output 2019-10-14 12:12:48 -07:00
Thomas Strömberg 72698efd5f
Merge pull request #5620 from tstromberg/jenkins-mystery
gsutil: Remove trailing slashes, rsync instead of cp
2019-10-14 10:28:25 -07:00
tstromberg 47d558123d gsutil: Remove trailing slashes, rsync instead of cp 2019-10-14 09:06:31 -07:00
Marek Schwarz 09ce93faf0 Added delete --all to common.sh
Run delete --all after start_stop_delete_test
2019-10-10 21:32:27 +02:00
duohedron c8e41f3a79 Fix comment for extensionToBoilerplate in boilerplate.go 2019-10-10 12:34:40 +02:00