From d1f4220d05f42dd692421f900008c14e328f5169 Mon Sep 17 00:00:00 2001 From: sleep Date: Fri, 13 Feb 2026 09:34:23 +0100 Subject: [PATCH] Added microbenchmark dispatch workflow --- .github/workflows/run-microbenchmarks.yml | 25 +++++++++++++++++++++++ microbenchmarks/parameters.tfvars | 22 ++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 .github/workflows/run-microbenchmarks.yml create mode 100644 microbenchmarks/parameters.tfvars diff --git a/.github/workflows/run-microbenchmarks.yml b/.github/workflows/run-microbenchmarks.yml new file mode 100644 index 000000000..54a5dd971 --- /dev/null +++ b/.github/workflows/run-microbenchmarks.yml @@ -0,0 +1,25 @@ +name: Run microbenchmarks on release +on: + release: + types: [published] + workflow_dispatch: + inputs: + release_tag: + description: 'Release tag to benchmark' + required: true + default: 'main' + +jobs: + trigger: + runs-on: ubuntu-latest + steps: + - name: Trigger microbenchmarks workflow in ArmoniK.Microbench + env: + RELEASE_TAG: ${{ github.event.release.tag_name || github.event.inputs.release_tag }} + run: | + curl -X POST \ + -H "Accept: application/vnd.github+json" \ + -H "Authorization: Bearer ${{ secrets.MICROBENCH_PAT }}" \ + -H "X-GitHub-Api-Version: 2022-11-28" \ + https://api.github.com/repos/aneoconsulting/ArmoniK.Microbench/dispatches \ + -d '{"event_type":"trigger-microbenchmarks","client_payload":{"release_tag":"${{env.RELEASE_TAG}}"}}' diff --git a/microbenchmarks/parameters.tfvars b/microbenchmarks/parameters.tfvars new file mode 100644 index 000000000..859a67bfd --- /dev/null +++ b/microbenchmarks/parameters.tfvars @@ -0,0 +1,22 @@ +prefix = "armonik-microbench-workflow" +region = "us-east-1" +prefix = "default" + + +# Benchmark runner configuration +benchmark_runner = { + instance_type = "c7a.8xlarge" +} + +# Benchmark configurations + +# Redis +redis_benchmark = { + instance_type = "cache.m5.xlarge" +} + +# EFS +efs_benchmark = {} + +# S3 +s3_benchmark = {}