2021-07-13 22:02:08 +00:00
|
|
|
name: "time-to-k8s Public Chart"
|
|
|
|
on:
|
|
|
|
workflow_dispatch:
|
|
|
|
schedule:
|
2021-07-17 00:17:37 +00:00
|
|
|
# every day at 7am & 7pm pacific
|
|
|
|
- cron: "0 2,14 * * *"
|
2021-07-13 22:02:08 +00:00
|
|
|
env:
|
|
|
|
GOPROXY: https://proxy.golang.org
|
2024-06-17 09:02:09 +00:00
|
|
|
GO_VERSION: '1.22.4'
|
2022-03-12 00:25:30 +00:00
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
|
2021-07-13 22:02:08 +00:00
|
|
|
jobs:
|
2021-12-17 00:14:16 +00:00
|
|
|
time-to-k8s-public-chart-docker:
|
2021-11-04 19:47:49 +00:00
|
|
|
if: github.repository == 'kubernetes/minikube'
|
2021-09-28 03:01:27 +00:00
|
|
|
runs-on: ubuntu-20.04
|
2021-11-29 22:20:42 +00:00
|
|
|
env:
|
|
|
|
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
|
|
|
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
|
|
|
AWS_DEFAULT_REGION: 'us-west-1'
|
2021-07-13 22:02:08 +00:00
|
|
|
steps:
|
2024-06-17 18:08:42 +00:00
|
|
|
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
|
2024-05-07 17:35:23 +00:00
|
|
|
- uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7
|
2021-07-13 22:02:08 +00:00
|
|
|
with:
|
|
|
|
go-version: ${{env.GO_VERSION}}
|
2021-12-17 00:14:16 +00:00
|
|
|
- name: Benchmark time-to-k8s for Docker driver with Docker runtime
|
2021-07-13 22:02:08 +00:00
|
|
|
run: |
|
2021-12-17 00:14:16 +00:00
|
|
|
./hack/benchmark/time-to-k8s/public-chart/public-chart.sh docker docker
|
|
|
|
- name: Benchmark time-to-k8s for Docker driver with containerd runtime
|
2021-07-16 23:57:34 +00:00
|
|
|
run: |
|
2021-12-17 00:14:16 +00:00
|
|
|
./hack/benchmark/time-to-k8s/public-chart/public-chart.sh docker containerd
|
|
|
|
time-to-k8s-public-chart-virtualbox:
|
|
|
|
if: github.repository == 'kubernetes/minikube'
|
2022-08-01 18:36:21 +00:00
|
|
|
runs-on: macos-12
|
2021-12-17 00:14:16 +00:00
|
|
|
env:
|
|
|
|
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
|
|
|
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
|
|
|
AWS_DEFAULT_REGION: 'us-west-1'
|
|
|
|
steps:
|
2024-06-17 18:08:42 +00:00
|
|
|
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
|
2021-12-20 19:18:55 +00:00
|
|
|
- name: Install kubectl
|
|
|
|
shell: bash
|
|
|
|
run: |
|
2023-02-13 18:34:42 +00:00
|
|
|
curl -LO "https://dl.k8s.io/release/$(curl -sSL https://dl.k8s.io/release/stable.txt)/bin/darwin/amd64/kubectl"
|
2021-12-20 19:18:55 +00:00
|
|
|
sudo install kubectl /usr/local/bin/kubectl
|
|
|
|
kubectl version --client=true
|
2024-05-07 17:35:23 +00:00
|
|
|
- uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7
|
2021-12-17 00:14:16 +00:00
|
|
|
with:
|
|
|
|
go-version: ${{env.GO_VERSION}}
|
|
|
|
- name: Disable firewall
|
|
|
|
run: |
|
|
|
|
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --setglobalstate off
|
|
|
|
sudo /usr/libexec/ApplicationFirewall/socketfilterfw -k
|
|
|
|
- name: Benchmark time-to-k8s for VirtualBox driver with Docker runtime
|
|
|
|
run: |
|
|
|
|
./hack/benchmark/time-to-k8s/public-chart/public-chart.sh virtualbox docker
|
|
|
|
- name: Benchmark time-to-k8s for VirtualBox driver with containerd runtime
|
|
|
|
run: |
|
|
|
|
./hack/benchmark/time-to-k8s/public-chart/public-chart.sh virtualbox containerd
|