Commit Graph

1515 Commits (910fe36c0741c449c7c614219f9f90edcc3897ef)

Author SHA1 Message Date
Steven Powell 13993d565d fix running `minikube delete` before `MINIKUBE_HOME` set 2021-11-09 07:54:09 -05:00
Sharif Elgamal dae454ecd8 fix unbound var error part 3 2021-11-08 15:20:14 -08:00
Sharif Elgamal 390dff5fed fix unbound var error part 2 2021-11-08 14:49:52 -08:00
Sharif Elgamal 3cb1f322a5 fix unbound var error 2021-11-08 14:18:37 -08:00
Sharif Elgamal 4cfe4afdc3 Merge branch 'latest-bin' of github.com:sharifelgamal/minikube into latest-bin 2021-11-08 13:06:25 -08:00
Sharif Elgamal c7a208daef be more specific about what gets copied to the mirror 2021-11-08 13:06:00 -08:00
Sharif Elgamal 1517f73ae0
Update hack/jenkins/minikube_cross_build_and_upload.sh
Co-authored-by: Steven Powell <44844360+spowelljr@users.noreply.github.com>
2021-11-08 10:37:05 -08:00
Steven Powell 8c74e26567
Merge pull request #12770 from spowelljr/arm64Jq
Throw error if trying to install jq on arm64 machines
2021-11-08 11:21:09 -07:00
Sharif Elgamal 4d1d0e0cde only copy binaries to minikube/latest on non-PR builds 2021-11-08 08:35:57 -08:00
Sharif Elgamal 41a3a99f87
Merge pull request #12873 from sharifelgamal/time-to-k8s
Various CI Script Improvements
2021-11-08 08:17:08 -08:00
Steven Powell f8a0c53415 update exit message 2021-11-08 08:58:28 -05:00
Steven Powell a565ec05e5 add install case for linux arm64 2021-11-08 08:56:48 -05:00
minikube-bot bc7ee0e00c bump golang versions 2021-11-08 09:02:26 +00:00
srikrishnabh93@gmail.com c80793cd5d Merge branch 'master' of https://github.com/kubernetes/minikube into master_srikrishnabh 2021-11-07 00:26:40 +05:30
srikrishnabh93@gmail.com 7dd0eb0c94 fixed review comments 2021-11-07 00:25:33 +05:30
Sharif Elgamal bc93814168 remove extra script and just use alternate spot as a mirror 2021-11-04 14:01:33 -07:00
Sharif Elgamal 21a66f038c ci script stuffs 2021-11-04 12:47:49 -07:00
Sharif Elgamal 63a37d2e53 stop setting ACLs on preload tarball 2021-11-02 15:57:09 -07:00
Sharif Elgamal 3a90d58d8f propagate ROOT_JOB_ID into cloud shell tests for proper log storage 2021-11-02 13:36:21 -07:00
Sharif Elgamal da2507d151 set env vars correctly so go install works 2021-10-26 15:06:54 -07:00
Sharif Elgamal 31eff422b3 retag latest kicbase for release instead of rebuilding it 2021-10-26 14:30:01 -07:00
Steven Powell 82bd665abb error if trying to install jq on arm64 machines 2021-10-25 10:25:40 -07:00
Sharif Elgamal 4936430c7a
Merge pull request #12758 from sharifelgamal/conf-notes
add detailed repro steps for conformance README
2021-10-21 16:45:09 -07:00
Sharif Elgamal 9b28e2330d don't let root own the go installation folder on CI machines 2021-10-21 14:31:28 -07:00
Sharif Elgamal 1a8a6e1e88 add detailed repro steps for conformance README 2021-10-21 12:55:15 -07:00
srikrishnabh93@gmail.com fce35c9721 Merge branch 'master' of https://github.com/kubernetes/minikube into master_srikrishnabh 2021-10-21 22:56:01 +05:30
srikrishnabh93@gmail.com 991d9d47ce removed vars latestP0 latestMM from update kubeadm consts 2021-10-21 22:51:46 +05:30
Steven Powell b6e8a3be1b directly code golang version 2021-10-20 16:29:58 -07:00
Sharif Elgamal 1afb5f57a9 make sure jq is installed 2021-10-19 12:14:27 -07:00
Sharif Elgamal 7272dc48e3 use latest version of sonobuoy for conformance tests 2021-10-19 12:05:42 -07:00
Sharif Elgamal 55f5c2fab7 disable the cleanup cron for now 2021-10-18 13:51:41 -07:00
srikrishnabh93@gmail.com 2d7e884817 Merge branch 'master' of https://github.com/kubernetes/minikube into master_srikrishnabh 2021-10-18 22:55:57 +05:30
Sharif Elgamal 88547d8ca3 check for more than just the e2e binary for the cleanup cron 2021-10-12 14:29:58 -07:00
KallyDev 70022d9b2e
Move from deprecated ioutil to os and io packages 2021-10-08 08:57:19 +08:00
Sharif Elgamal de3deb727a reboot windows machines after every test 2021-10-06 13:25:09 -07:00
Sharif Elgamal f1f43eab51 Merge branch 'master' of github.com:kubernetes/minikube into hyperv-test 2021-10-05 12:55:11 -07:00
Sharif Elgamal 85422b0a9d actually run the cron :) 2021-10-05 11:16:58 -07:00
Sharif Elgamal 79c16ab5cb fix github context when docker fails 2021-10-05 09:25:08 -07:00
Sharif Elgamal d61c75cab1 cleanup the, uh, cleanup scripts 2021-10-05 08:55:39 -07:00
Sharif Elgamal b887c235e7 refactor common code like a good programmer 2021-10-01 16:45:03 -07:00
Sharif Elgamal 5247cfd195 typo for commit status 2021-10-01 11:25:00 -07:00
Sharif Elgamal 8b95abe7b5 one last syntax issue 2021-09-30 16:00:31 -07:00
Sharif Elgamal c5921094c8 fix powershell syntax 2021-09-30 15:53:16 -07:00
Sharif Elgamal 268ac0e9a4 make sure docker is running no matter what 2021-09-30 15:23:48 -07:00
Sharif Elgamal 1b503098c5 fix github api call, account for not uploading directly to GCS 2021-09-30 14:59:59 -07:00
Sharif Elgamal 86a616c157 remove the mkdir from common.ps1 since that dir already needs to exist 2021-09-30 09:45:48 -07:00
Wei Luo fb8711bf4a Don't add CPU time to total 2021-09-29 23:50:45 -07:00
Sharif Elgamal ebbc4113a7 enable hyperv ci status 2021-09-29 14:30:43 -07:00
Sharif Elgamal 28ada81a3c enable hyperv integration tests 2021-09-29 14:23:31 -07:00
Wei Luo 6e7a4b5863 remember to init plots 2021-09-29 10:22:36 -07:00
srikrishnabh93@gmail.com ab496e6765 Merge branch 'master' of https://github.com/kubernetes/minikube into master_srikrishnabh 2021-09-29 20:28:34 +05:30
Wei Luo 87835362aa Add CPU time to time-to-k8s charts 2021-09-28 22:19:10 -07:00
Sharif Elgamal c28eeb30aa change gopogh windows updater to look at common.ps1 2021-09-27 15:58:10 -07:00
Sharif Elgamal a8197ac9f5 change file name for updaters 2021-09-27 15:30:54 -07:00
Steven Powell f24c81b3e9
Merge pull request #12563 from spowelljr/fixLeaderboard
Fix update-leaderboard GitHub Action
2021-09-23 12:14:09 -07:00
Steven Powell 19618be287 add comment to issue 2021-09-23 12:07:48 -07:00
Steven Powell daef4844fe fetch latest tags 2021-09-23 12:04:27 -07:00
Sharif Elgamal 6388a1be0e fix perms for mkcmp 2021-09-22 17:29:07 -07:00
Sharif Elgamal 5a89895154 used PR's mkcmp for perf comments 2021-09-22 23:01:31 +00:00
Sharif Elgamal 7fef2012af don't install github-release for now 2021-09-21 16:20:14 -07:00
Steven Powell 027403f1e9 change go get to go install 2021-09-17 13:10:03 -07:00
Steven Powell cb6fe0f6a6 add github-release install script 2021-09-17 12:02:17 -07:00
Steven Powell a455dce003 echo message was actually running the commands 2021-09-16 22:58:11 -07:00
Steven Powell 1936a7b508
Merge pull request #12425 from spowelljr/updateCrio
Update cri-o from v1.20.0 to 1.22.0
2021-09-15 18:21:10 -07:00
Sharif Elgamal 728e97d154 install dnsutils for nslookup on linux machines 2021-09-15 09:40:32 -07:00
Sharif Elgamal 28770a3848
Merge pull request #12439 from sharifelgamal/filter-arm
filter out arm64, macOS, and crio from flake reports
2021-09-14 10:45:54 -07:00
Steven Powell 16941e8925 make sure current go version is installed 2021-09-14 09:50:53 -07:00
Sharif Elgamal cd05ababea filter crio instead of windows 2021-09-13 16:38:35 -07:00
Steven Powell d2de1aac02 update build tag regex 2021-09-13 12:50:40 -07:00
Sharif Elgamal 94891b4704 add windows to list 2021-09-09 13:47:50 -07:00
Sharif Elgamal 9446725acd fix bash syntax for filtering 2021-09-09 10:16:13 -07:00
Sharif Elgamal 1997995132 syntax 2021-09-08 17:19:06 -07:00
Sharif Elgamal d3d4f74d8a filter out arm64 and macOS from flake reports 2021-09-08 17:14:01 -07:00
Sharif Elgamal c7a41c70bd remove common.sh from update golang check 2021-09-02 13:38:50 -07:00
Sharif Elgamal ff023382c4 fix regex 2021-09-02 12:33:36 -07:00
Sharif Elgamal 0b9e97648b fix go version check 2021-09-02 11:58:39 -07:00
Sharif Elgamal 9d939663a6 correct path to script 2021-09-02 11:47:27 -07:00
Sharif Elgamal f11d14de59 make sure to install the same version of golang across scripts 2021-09-02 11:22:53 -07:00
minikube-bot bf5f081a53 bump golang versions 2021-08-30 23:49:19 +00:00
Medya Ghazizadeh 0f7be4fa51
Merge pull request #12375 from medyagh/fix_go_auto
Fix go bump automation to adopt Kubernetes new kube-cross image name
2021-08-30 16:48:39 -07:00
Medya Gh b6dfcd53e5 fix regex 2021-08-30 15:04:41 -07:00
Medya Gh 2e9915dbbf fix regex 2021-08-30 15:01:56 -07:00
Medya Gh 50e14f30c3 add automation for k8s version 2021-08-30 14:53:28 -07:00
Medya Gh ecaa3e7dc6 update go bump version logic to match kubernetes new image for kube cross 2021-08-30 14:36:59 -07:00
Akihiro Suda 323225483e
Support Rootless Docker
Requirements:
- Install rootless Docker 20.10 or later, see https://rootlesscontaine.rs/getting-started/docker/
- Enable cgroup v2 delegation, see https://rootlesscontaine.rs/getting-started/common/cgroup2/

Usage: `minikube start --driver=docker --container-runtime=containerd`.
The `--container-runtime` flag needs to be set to "containerd".
CRI-O can be also supported later.

Closes issue 10836 ("add support for rootless Docker").

Support for rootless Podman (issue 8719) is not covered in this commit.

---

Code reading guide:
- `deploy/kicbase/Dockerfile`: updated to install fuse-overlayfs and containerd-fuse-overlayfs, which is used
  instead of `overlayfs` snapshotter

- `deploy/kicbase/entrypoint`: updated to verify cgroup v2 delegation.
  Mostly from 8a83ee46b2/images/base/files/usr/local/bin/entrypoint

- `cmd/minikube/cmd/start_flags.go`: updated to set `KubeletInUserNamespace` feature gate when rootless

- `pkg/drivers/kic/oci`: updated to use port forwarding, because rootless container IPs are not reachable from the host

- `pkg/minikube/cruntime`: updated to generate `/etc/containerd/config.toml` with rootless support.

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2021-08-27 17:21:53 +09:00
srikrishnabh93@gmail.com 6a9d08ecef Merge branch 'master' of https://github.com/kubernetes/minikube into master_srikrishnabh 2021-08-26 20:47:47 +05:30
Sharif Elgamal c2153fb8cc fix link to iso/kicbase logs on build failure 2021-08-24 13:42:05 -07:00
Sharif Elgamal c5246ad15e Merge branch 'master' of github.com:kubernetes/minikube into cs-start-stop 2021-08-19 16:45:10 -07:00
Andriy Dzikh 7e3d874265 Display date in a better format, since old format reported time of 0:00 am 2021-08-17 09:37:52 -07:00
Andriy Dzikh aa90cfb57f Replace Math.min with destructuring with custom array min. 2021-08-16 16:19:47 -07:00
Sharif Elgamal 2a1693655a add space for aesthetics 2021-08-13 12:30:24 -07:00
Medya Gh ccf4af0997 change depricated golint to revive and fix lint issues 2021-08-12 18:11:16 -07:00
Medya Gh 6aa7abc24a fix lint issues on master 2021-08-12 17:38:24 -07:00
Medya Gh 2a60c0672f add github workflow 2021-08-12 16:01:41 -07:00
Medya Gh e6d2371518 update golang version 2021-08-12 15:50:11 -07:00
Medya Ghazizadeh 5360e1296a
Merge pull request #12239 from spowelljr/removeVolumes
Add `--volumes` to `docker system prune`
2021-08-12 12:45:37 -07:00
Andriy Dzikh aae6390004 Add link directly to test log for gopogh link. 2021-08-12 10:05:43 -07:00
Steven Powell e88344977e add `--volumes` to `docker system prune` 2021-08-11 15:05:35 -07:00
Sharif Elgamal 72c5ee1e32 widen it to all start stop tests 2021-08-11 12:49:48 -07:00
Sharif Elgamal 2646b49a19 add TestStartStop to Cloud Shell tests 2021-08-11 11:15:51 -07:00
Andriy Dzikh 146f1dd3eb Add link to flake charts in auto-created issues 2021-08-10 13:50:34 -07:00
Sharif Elgamal 59a2929394
Merge pull request #12176 from andriyDev/ChangeDateRange
Change date range to be relative to the current day
2021-08-10 13:09:41 -07:00
Andriy Dzikh 4efd9514c5 Add priority/backlog label to all newly created issues. 2021-08-10 11:22:51 -07:00
Andriy Dzikh 6c36bb49ab Ensure gh is installed for compute_flake_rate. 2021-08-10 10:19:17 -07:00
Medya Ghazizadeh 4f99dedbfc
Merge pull request #12154 from andriyDev/CreateIssues
Create issues automatically for flaky tests
2021-08-10 09:51:08 -07:00
Andriy Dzikh b252738824 Use gh and flake rates csv to manage issues for flake rates. 2021-08-09 17:17:04 -07:00
Sharif Elgamal 4f8b628f49 display the URL to the logs on failed kicbase/iso builds 2021-08-09 16:22:46 -07:00
Andriy Dzikh 7bdb76deb6 For missing flake rate, do not link to the charts. 2021-08-09 14:41:45 -07:00
Andriy Dzikh 7e14f87786 Add reporting for tests with no flake rates computed. 2021-08-09 14:09:09 -07:00
Andriy Dzikh 790d2f1aab Refactor report_flakes.sh to make it easier to read. 2021-08-09 14:04:20 -07:00
Andriy Dzikh 9ea203bb2a Make date range be relative to the current date rather than based on when tests ran. 2021-08-09 10:22:30 -07:00
minikube-bot f3a069b729 bump golang versions 2021-08-09 09:02:04 +00:00
Andriy Dzikh dc11031e70 Create script to handle flake rate computation Jenkins job. 2021-08-06 09:35:08 -07:00
Medya Gh 100878eead fix extra line in update kuberenetes autmation 2021-08-05 17:01:31 -07:00
Sharif Elgamal 923455d7ca
Merge pull request #12111 from andriyDev/SimplifyLineCode
Replace yield iterator with simple await array
2021-08-04 10:08:58 -07:00
Medya Ghazizadeh 8d20e4f49e
Merge pull request #12112 from andriyDev/DisableCaching
Manage caching of HTML/JS/data.csv for public flake rate system
2021-08-03 20:46:40 -07:00
Andriy Dzikh fbd96a4bad Add cache control to ensure data.csv is checked at least after an hour of use. 2021-08-03 15:35:10 -07:00
Andriy Dzikh 1515f668dd Prevent caching of flake_chart.js. 2021-08-03 15:35:10 -07:00
Andriy Dzikh a27500e1b5 Disable caching on HTML. 2021-08-03 15:35:10 -07:00
Andriy Dzikh 4e0478eb97 Add progress bar for parsing data. 2021-08-03 14:51:52 -07:00
Andriy Dzikh 37d7ff3eff Turn bodyByLinesIterator into getBodyLinesWithProgress.
Yielding is slow! Improves processing time from 8s to 3s.
2021-08-03 14:22:31 -07:00
Andriy Dzikh 01343b001b Simplify bodyByLinesIterator to only use splitting instead of regex. 2021-08-03 13:55:33 -07:00
Andriy Dzikh c2a4e03ad0 Add message at bottom of page saying when the data was collected. 2021-08-03 10:49:24 -07:00
srikrishnabh93@gmail.com ddfcf464dc fixed formatting 2021-08-02 23:02:01 +05:30
srikrishnabh93@gmail.com 837c73d964 added gofmt for constants_kubeadm_images 2021-08-01 13:42:42 +05:30
srikrishnabh93@gmail.com efbfbc1f21 Merge branch 'master' of https://github.com/kubernetes/minikube into master_srikrishnabh 2021-08-01 13:01:54 +05:30
srikrishnabh93@gmail.com 8f0483461b added makefile target 2021-07-31 23:20:32 +05:30
minikube-bot 390c72ec61 bump golang versions 2021-07-28 23:11:44 +00:00
Medya Ghazizadeh 9d33993f36
Merge pull request #12059 from medyagh/golang_update
Add CI bot to bump golang version to match Kubernetes golang
2021-07-28 16:10:57 -07:00
Medya Gh ba75573ba5 change common 2021-07-28 16:02:33 -07:00
Medya Gh 4bf3b3659b update regex 2021-07-28 16:01:53 -07:00
Medya Gh ec3fdf17b4 get image from kubecross 2021-07-28 15:17:48 -07:00
Medya Gh 8e09395fdf fix regex 2021-07-28 15:01:39 -07:00
Medya Ghazizadeh 93b084a7fb
Merge pull request #12068 from andriyDev/VariableNameScoping
Add brackets around variable name to prevent scoping problems
2021-07-28 13:31:16 -07:00
Medya Ghazizadeh d69a98c45c
Merge pull request #12065 from andriyDev/UseJobId
Use job id for logs instead of short commit hash
2021-07-28 13:30:50 -07:00
Medya Gh cee70d71a6 bump golang 2021-07-28 13:28:25 -07:00
Andriy Dzikh fd3354fad2 Add brackets around variable name to prevent scoping problems. 2021-07-28 13:22:32 -07:00
Medya Ghazizadeh 2b84cb9a71
Merge pull request #12052 from minikube-bot/auto_bump_k8s_versions
bump default/newest kubernetes versions
2021-07-27 15:00:24 -07:00
Andriy Dzikh 6b21eff101 Update flake charts to use new link setup. 2021-07-27 13:28:33 -07:00
Andriy Dzikh 2951ab9a33 Replace all links in hack/jenkins using short commit with root job id. 2021-07-27 11:35:43 -07:00
srikrishnabh93@gmail.com 5f46b98eae initial fix on update kubeadm images automatically 2021-07-27 23:41:17 +05:30
Andriy Dzikh 780b11bdae Parse report data correctly in report-flakes. 2021-07-27 10:33:52 -07:00
Andriy Dzikh 14e6012fd0 Fix compute flake rate not reading data correctly. 2021-07-27 09:28:13 -07:00
Medya Gh e883950d77 add a bot to bump golang version atuomatically 2021-07-26 15:56:21 -07:00
Andriy Dzikh 617d4e3bdf Use root job id to collect test count and total duration for all jobs. 2021-07-26 15:55:26 -07:00
Andriy Dzikh 6e100f1402 Parse root job and related fields in JS. 2021-07-26 15:42:58 -07:00
Medya Gh 12a174a7ba update kubeadm yamls 2021-07-26 15:06:45 -07:00
Andriy Dzikh 5e528689e6 Remove duration chart. 2021-07-26 11:54:41 -07:00
Andriy Dzikh ec4848686d Add fields to csv data for root job ids and related variables. 2021-07-26 10:30:13 -07:00
Andriy Dzikh c47d07612b Add safety check to data processing to prevent inheritance from previous entries. 2021-07-26 10:30:10 -07:00