forked from kubernetes/minikube
-
-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (39 loc) · 1.49 KB
/
time-to-k8s.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: "time-to-k8s benchmark"
on:
workflow_dispatch:
release:
types: [released]
env:
GOPROXY: https://proxy.golang.org
GO_VERSION: '1.22.5'
permissions:
contents: read
jobs:
benchmark:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
- name: Checkout submodules
run: git submodule update --init
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32
with:
go-version: ${{env.GO_VERSION}}
- name: time-to-k8s Benchmark
id: timeToK8sBenchmark
run: |
./hack/benchmark/time-to-k8s/time-to-k8s.sh
echo "version=$(minikube version --short)" >> "$GITHUB_OUTPUT"
- name: Create PR
uses: peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c
with:
token: ${{ secrets.MINIKUBE_BOT_PAT }}
commit-message: add time-to-k8s benchmark for ${{ steps.timeToK8sBenchmark.outputs.version }}
committer: minikube-bot <minikube-bot@google.com>
author: minikube-bot <minikube-bot@google.com>
branch: addTimeToK8s${{ steps.timeToK8sBenchmark.outputs.version }}
branch-suffix: short-commit-hash
push-to-fork: minikube-bot/minikube
base: master
delete-branch: true
title: "Post-release: Add time-to-k8s benchmark for ${{ steps.timeToK8sBenchmark.outputs.version }}"
body: Updating time-to-k8s benchmark as part of the release process