ci: configure gh cli for the major update release step (#3876) #447
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: microbenchmark | |
on: | |
workflow_dispatch: | |
inputs: | |
stack_version: | |
description: "JVM, use values from: curl -s https://jvm-catalog.elastic.co/jdks/tags/linux,x86_64 | jq '.[] | .id'" | |
default: 'openjdk-17+35-linux' | |
required: false | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- '**.md' | |
- '**.asciidoc' | |
# limit the access of the generated GITHUB_TOKEN | |
permissions: | |
contents: read | |
jobs: | |
microbenchmark: | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- name: Run microbenchmark | |
uses: elastic/oblt-actions/buildkite/[email protected] | |
env: | |
JAVA_VERSION: ${{ inputs.java_version || 'openjdk-17+35-linux' }} | |
with: | |
pipeline: "apm-agent-microbenchmark" | |
token: ${{ secrets.BUILDKITE_TOKEN }} | |
wait-for: false | |
env-vars: | | |
script=.ci/scripts/bench.sh | |
repo=apm-agent-java | |
sha=${{ github.sha }} | |
JAVA_VERSION=${{ env.JAVA_VERSION }} | |
BRANCH_NAME=${{ github.ref_name }} |