Version v1.10.2 #91
Workflow file for this run
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
# This workflow triggers siegfried's automated benchmarks. | |
# | |
# Trigger it by creating a release (the main benchmark runs) | |
# or by a commit to the develop branch (the develop benchmark runs). | |
name: Benchmark | |
on: | |
push: | |
branches: | |
- develop | |
release: | |
types: [released] | |
jobs: | |
bench: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install latest version of go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: 1.x | |
- name: Check out repository code | |
uses: actions/checkout@v3 | |
with: | |
repository: richardlehane/provisioner | |
- name: Install provisioner | |
run: go install github.com/richardlehane/provisioner | |
- name: Provision develop | |
if: github.ref_name == 'develop' | |
run: provisioner -life=2h -host=develop-RAND.itforarchivists.com -env=PACKET_AUTH_TOKEN,RUNNER_AUTH,BB_ACCOUNT,BB_KEY -tu=https://www.itforarchivists.com/siegfried/develop -ts='div:nth-of-type(7) a' -td=15 scripts/develop.yaml | |
env: | |
PACKET_AUTH_TOKEN: ${{ secrets.PACKET_AUTH_TOKEN }} | |
RUNNER_AUTH: ${{ secrets.RUNNER_AUTH }} | |
BB_ACCOUNT: ${{ secrets.BB_ACCOUNT }} | |
BB_KEY: ${{ secrets.BB_KEY }} | |
- name: Provision main | |
if: github.ref_name != 'develop' # release | |
run: provisioner -life=12h -max=-1 -host=bench-RAND.itforarchivists.com -env=PACKET_AUTH_TOKEN,RUNNER_AUTH,BB_ACCOUNT,BB_KEY scripts/bench.yaml | |
env: | |
PACKET_AUTH_TOKEN: ${{ secrets.PACKET_AUTH_TOKEN }} | |
RUNNER_AUTH: ${{ secrets.RUNNER_AUTH }} | |
BB_ACCOUNT: ${{ secrets.BB_ACCOUNT }} | |
BB_KEY: ${{ secrets.BB_KEY }} |