[pull] master from kubernetes:master #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "time-to-k8s benchmark" | ||
on: | ||
workflow_dispatch: | ||
release: | ||
types: [released] | ||
env: | ||
GOPROXY: https://proxy.golang.org | ||
GO_VERSION: '1.22.1' | ||
permissions: | ||
contents: read | ||
jobs: | ||
benchmark: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 | ||
- name: Checkout submodules | ||
run: git submodule update --init | ||
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 | ||
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@9153d834b60caba6d51c9b9510b087acf9f33f83 | ||
with: | ||
token: ${{ secrets.MINIKUBE_BOT_PAT }} | ||
commit-message: add time-to-k8s benchmark for ${{ steps.timeToK8sBenchmark.outputs.version }} | ||
committer: minikube-bot <[email protected]> | ||
author: minikube-bot <[email protected]> | ||
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 |