Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 9 additions & 6 deletions .github/workflows/ci.action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,11 @@ jobs:
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
git-ref: ${{ github.event.pull_request.head.sha }}
git-repo: ${{ github.event.pull_request.head.repo.clone_url }}
#run-args: '--log-level=debug'
run-config-urls: >-
https://raw.githubusercontent.com/ethpandaops/benchmarkoor/${{ github.event.pull_request.head.sha }}/.github/workflows/config/benchmarkoor-global-cleanup.yaml,
https://raw.githubusercontent.com/ethpandaops/benchmarkoor/${{ github.event.pull_request.head.sha }}/.github/workflows/config/benchmarkoor-global-clientstdout.yaml
https://raw.githubusercontent.com/${{ github.event.pull_request.head.repo.full_name }}/${{ github.event.pull_request.head.sha }}/.github/workflows/config/benchmarkoor-global-cleanup.yaml,
https://raw.githubusercontent.com/${{ github.event.pull_request.head.repo.full_name }}/${{ github.event.pull_request.head.sha }}/.github/workflows/config/benchmarkoor-global-clientstdout.yaml
run-config: |
runner:
benchmark:
Expand Down Expand Up @@ -62,10 +63,11 @@ jobs:
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
git-ref: ${{ github.event.pull_request.head.sha }}
git-repo: ${{ github.event.pull_request.head.repo.clone_url }}
#run-args: '--log-level=debug'
run-config-urls: >-
https://raw.githubusercontent.com/ethpandaops/benchmarkoor/${{ github.event.pull_request.head.sha }}/.github/workflows/config/benchmarkoor-global-cleanup.yaml,
https://raw.githubusercontent.com/ethpandaops/benchmarkoor/${{ github.event.pull_request.head.sha }}/.github/workflows/config/benchmarkoor-global-clientstdout.yaml
https://raw.githubusercontent.com/${{ github.event.pull_request.head.repo.full_name }}/${{ github.event.pull_request.head.sha }}/.github/workflows/config/benchmarkoor-global-cleanup.yaml,
https://raw.githubusercontent.com/${{ github.event.pull_request.head.repo.full_name }}/${{ github.event.pull_request.head.sha }}/.github/workflows/config/benchmarkoor-global-clientstdout.yaml
run-config: |
runner:
container_runtime: podman
Expand Down Expand Up @@ -102,10 +104,11 @@ jobs:
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
git-ref: ${{ github.event.pull_request.head.sha }}
git-repo: ${{ github.event.pull_request.head.repo.clone_url }}
#run-args: '--log-level=debug'
run-config-urls: >-
https://raw.githubusercontent.com/ethpandaops/benchmarkoor/${{ github.event.pull_request.head.sha }}/.github/workflows/config/benchmarkoor-global-cleanup.yaml,
https://raw.githubusercontent.com/ethpandaops/benchmarkoor/${{ github.event.pull_request.head.sha }}/.github/workflows/config/benchmarkoor-global-clientstdout.yaml
https://raw.githubusercontent.com/${{ github.event.pull_request.head.repo.full_name }}/${{ github.event.pull_request.head.sha }}/.github/workflows/config/benchmarkoor-global-cleanup.yaml,
https://raw.githubusercontent.com/${{ github.event.pull_request.head.repo.full_name }}/${{ github.event.pull_request.head.sha }}/.github/workflows/config/benchmarkoor-global-clientstdout.yaml
run-config: |
runner:
container_runtime: podman
Expand Down
11 changes: 9 additions & 2 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ inputs:
required: false
default: ''

git-repo:
description: 'Git repository URL to clone for building the image. Only used when image is not provided. Defaults to ethpandaops/benchmarkoor.'
required: false
default: 'https://github.com/ethpandaops/benchmarkoor.git'

upload-artifacts:
description: 'Whether to upload run results as GitHub artifacts'
required: false
Expand Down Expand Up @@ -65,8 +70,10 @@ runs:
GIT_REF="master"
fi

echo "Cloning https://github.com/ethpandaops/benchmarkoor.git at ref $GIT_REF"
git clone https://github.com/ethpandaops/benchmarkoor.git benchmarkoor-build
GIT_REPO="${{ inputs.git-repo }}"

echo "Cloning ${GIT_REPO} at ref $GIT_REF"
git clone "${GIT_REPO}" benchmarkoor-build
cd benchmarkoor-build
git checkout "$GIT_REF"

Expand Down