Commit Graph

663 Commits (54f94000065d186b05fe6363d090fb1923b9b3e5)

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