Skip to content

Instantly share code, notes, and snippets.

View tstromberg's full-sized avatar
🎵
codeGROOVE'in

Thomas Strömberg tstromberg

🎵
codeGROOVE'in
View GitHub Profile
ARG COMMIT_SHA
# using base image created by kind https://github.com/kubernetes-sigs/kind/blob/master/images/base/Dockerfile
# which is an ubuntu 19.10 with an entry-point that helps running systemd
# could be changed to any debian that can run systemd
FROM kindest/base:v20200317-92225082 as base
USER root
# specify version of everything explicitly using 'apt-cache policy'
RUN apt-get update && apt-get install -y --no-install-recommends \
lz4=1.9.1-1 \
gnupg=2.2.12-1ubuntu3 \
ARG COMMIT_SHA
# using base image created by kind https://github.com/kubernetes-sigs/kind/blob/master/images/base/Dockerfile
# which is an ubuntu 19.10 with an entry-point that helps running systemd
# could be changed to any debian that can run systemd
FROM kindest/base:v20200317-92225082 as base
USER root
# specify version of everything explicitly using 'apt-cache policy'
RUN apt-get update && apt-get install -y --no-install-recommends \
lz4=1.9.1-1 \
gnupg=2.2.12-1ubuntu3 \
ARG COMMIT_SHA
# using base image created by kind https://github.com/kubernetes-sigs/kind/blob/master/images/base/Dockerfile
# which is an ubuntu 19.10 with an entry-point that helps running systemd
# could be changed to any debian that can run systemd
FROM kindest/base:v20200317-92225082 as base
USER root
# specify version of everything explicitly using 'apt-cache policy'
RUN apt-get update && apt-get install -y --no-install-recommends \
lz4=1.9.1-1 \
gnupg=2.2.12-1ubuntu3 \
# install cri-o based on https://github.com/cri-o/cri-o/commit/96b0c34b31a9fc181e46d7d8e34fb8ee6c4dc4e1#diff-04c6e90faac2675aa89e2176d2eec7d8R128
RUN sh -c "echo 'deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable:/cri-o:/1.17:/1.17.3/xUbuntu_19.10/ /' > /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list" && \
curl -LO https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable/xUbuntu_19.10/Release.key && \
apt-key add - < Release.key && apt-get update && \
apt-get install -y --no-install-recommends cri-o=1.17.3~3
*** LOOP 23 of 50: v1.11.0 to HEAD, logging to /var/folders/n1/qxvd9kc11w15mc4qv6g43x80000kt3/T/tmp.lchLxlhY
*** start flags: -p stresscd597 --base-image gcr.io/k8s-minikube/kic:ubuntu-upgrade --driver=docker --delete-on-failure
Upgrade v1.11.0 to HEAD hot test: loop 23
I0724 03:09:33.214125 70622 start.go:98] hostinfo: {"hostname":"tstromberg-macbookpro.roam.corp.google.com","uptime":235076,"bootTime":1595350297,"procs":488,"os":"darwin","platform":"darwin","platformFamily":"","platformVersion":"10.15.5","kernelVersion":"19.5.0","virtualizationSystem":"","virtualizationRole":"","hostid":"54f1a78d-6f41-32bd-bfed-4381f9f6e2ef"}
W0724 03:09:33.214257 70622 start.go:106] gopshost.Virtualization returned error: not implemented yet
I0724 03:09:33.234536 70622 driver.go:253] Setting default libvirt URI to qemu:///system
I0724 03:09:33.291763 70622 docker.go:95] docker version: linux-19.03.8
*** LOOP 23 of 50: v1.11.0 to HEAD, logging to /var/folders/n1/qxvd9kc11w15mc4qv6g43x80000kt3/T/tmp.lchLxlhY
*** start flags: -p stresscd597 --base-image gcr.io/k8s-minikube/kic:ubuntu-upgrade --driver=docker --delete-on-failure
Upgrade v1.11.0 to HEAD hot test: loop 23
I0724 03:09:33.214125 70622 start.go:98] hostinfo: {"hostname":"tstromberg-macbookpro.roam.corp.google.com","uptime":235076,"bootTime":1595350297,"procs":488,"os":"darwin","platform":"darwin","platformFamily":"","platformVersion":"10.15.5","kernelVersion":"19.5.0","virtualizationSystem":"","virtualizationRole":"","hostid":"54f1a78d-6f41-32bd-bfed-4381f9f6e2ef"}
W0724 03:09:33.214257 70622 start.go:106] gopshost.Virtualization returned error: not implemented yet
I0724 03:09:33.234536 70622 driver.go:253] Setting default libvirt URI to qemu:///system
I0724 03:09:33.291763 70622 docker.go:95] docker version: linux-19.03.8
#!/bin/sh
version="v1.11.0"
old="/tmp/minikube-${version}"
curl -L -C - -o "${old}" https://storage.googleapis.com/minikube/releases/${version}/minikube-darwin-amd64
chmod 755 "${old}"
git fetch
git pull
make
2020-04-08T15:35:11.1051573Z ##[section]Starting: Request a runner to run this job
2020-04-08T15:35:11.4252647Z Requesting a hosted runner in current repository's account/organization with labels: 'ubuntu-18.04', require runner match: True
2020-04-08T15:35:11.5245861Z Labels matched hosted runners has been found, waiting for one of them get assigned for this job.
2020-04-08T15:35:11.5599694Z ##[section]Finishing: Request a runner to run this job
2020-04-08T15:35:17.5479494Z Current runner version: '2.168.0'
2020-04-08T15:35:17.5499496Z ##[group]Operating System
2020-04-08T15:35:17.5500014Z Ubuntu
2020-04-08T15:35:17.5500124Z 18.04.4
2020-04-08T15:35:17.5500265Z LTS
2020-04-08T15:35:17.5500406Z ##[endgroup]
## Fake hyperkit
```
% cat /tmp/hyperkit
#!/bin/sh
echo "hyperkit: v0.20190802-4-g97f091"
```
## Set PATH
% ./out/minikube start --alsologtostderr [+0007] tstromberg@:~/src/minikube
I0407 08:50:04.096199 61908 notify.go:125] Checking for updates...
I0407 08:50:04.443902 61908 start.go:262] hostinfo: {"hostname":"tstromberg-macbookpro.roam.corp.google.com","uptime":516377,"bootTime":1585758227,"procs":533,"os":"darwin","platform":"darwin","platformFamily":"","platformVersion":"10.15.4","kernelVersion":"19.4.0","virtualizationSystem":"","virtualizationRole":"","hostid":"ab0aa7ee-3d03-3c21-91ad-5719d79d7af6"}
W0407 08:50:04.444367 61908 start.go:270] gopshost.Virtualization returned error: not implemented yet
😄 minikube v1.9.2 on Darwin 10.15.4
I0407 08:50:04.465639 61908 driver.go:245] Setting default libvirt URI to qemu:///system
I0407 08:50:04.465715 61908 global.go:100] Querying for installed drivers using PATH=