Commit Graph

694 Commits (72fa0be5f4ce69857c43dec9168a91ff66f054df)

Author SHA1 Message Date
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