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
|
2021-12-13 23:22:50 +00:00
|
|
|
GO_VERSION: '1.17.5'
|
2021-07-13 22:02:08 +00:00
|
|
|
jobs:
|
|
|
|
time-to-k8s-public-chart:
|
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:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/setup-go@v2
|
|
|
|
with:
|
|
|
|
go-version: ${{env.GO_VERSION}}
|
|
|
|
stable: true
|
2021-07-16 23:57:34 +00:00
|
|
|
- name: Benchmark time-to-k8s for Docker
|
2021-07-13 22:02:08 +00:00
|
|
|
run: |
|
2021-07-16 23:57:34 +00:00
|
|
|
./hack/benchmark/time-to-k8s/public-chart/public-chart.sh docker
|
|
|
|
- name: Benchmark time-to-k8s for Containerd
|
|
|
|
run: |
|
|
|
|
./hack/benchmark/time-to-k8s/public-chart/public-chart.sh containerd
|