Skip to content

libp2p perf test

libp2p perf test #213

Workflow file for this run

name: libp2p perf test
# How to configure a repository for running this workflow:
# 1. Configure auth for the AWS provider as per https://registry.terraform.io/providers/hashicorp/aws/latest/docs#authentication-and-configuration
# 2. Run 'terraform init' and 'terraform apply' in 'perf/terraform/configs/remote' to create the resources needed for this workflow
# 3. Go to https://console.aws.amazon.com/iamv2/home?#/users/details/perf?section=security_credentials
# 4. Click 'Create access key' to get the access key ID and secret access key
# 5. Go to https://github.com/libp2p/test-plans/settings/secrets/actions
# 6. Click 'New repository secret', set the name to 'PERF_AWS_SECRET_ACCESS_KEY', and paste the secret access key from step 5
# 7. Go to https://github.com/libp2p/test-plans/settings/variables/actions
# 8. Click 'New repository variable', set the name to 'PERF_AWS_ACCESS_KEY_ID', and paste the access key ID from step 5
on:
workflow_dispatch:
inputs:
push:
description: "Push the benchmark results to the repository"
required: false
default: "true"
jobs:
perf:
name: Perf
runs-on: ubuntu-latest
timeout-minutes: 240
defaults:
run:
shell: bash
working-directory: perf
steps:
- name: Checkout test-plans
uses: actions/checkout@v3
with:
repository: ${{ github.repository }}
ref: ${{ github.ref }}
- uses: ./.github/actions/run-perf-benchmark
with:
s3-access-key-id: ${{ vars.PERF_AWS_ACCESS_KEY_ID }}
s3-secret-access-key: ${{ secrets.PERF_AWS_SECRET_ACCESS_KEY }}