minikube/.github/workflows/time-to-k8s-public-chart.yml

60 lines
2.4 KiB
YAML
Raw Normal View History

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 * * *"
env:
GOPROXY: https://proxy.golang.org
2024-06-17 09:02:09 +00:00
GO_VERSION: '1.22.4'
permissions:
contents: read
jobs:
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'
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
- uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7
with:
go-version: ${{env.GO_VERSION}}
- name: Benchmark time-to-k8s for Docker driver with Docker runtime
run: |
./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: |
./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
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:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
2021-12-20 19:18:55 +00:00
- name: Install kubectl
shell: bash
run: |
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
- uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7
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