Skip to content

Commit

Permalink
Increase frequency of self-hosted performance tests to once per hour
Browse files Browse the repository at this point in the history
Fix #54
  • Loading branch information
gyohuangxin committed May 13, 2022
1 parent 8a559d6 commit 1511ecd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/scheduled-benchmarks-self-hosted.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ on:
profile_filename:
description: "test configuration file"
required: false
# scheduled to run at everyday at 13:00
# scheduled to run on everyhour
schedule:
- cron: '0 13 * * *'
- cron: '0 * * * *'

jobs:
# Manual Benchmark Test
Expand Down Expand Up @@ -286,4 +286,4 @@ jobs:
run: |
runner_id=$(curl -s -H 'Authorization: token ${{ secrets.GH_ACCESS_TOKEN }}' -H "Accept: application/vnd.github.v3+json" https://api.github.com/repos/${{github.repository}}/actions/runners | jq '.runners[] | select(.name == "${{ matrix.service-mesh }}-${{ matrix.load-generator }}-${{ matrix.test-configuration }}-${{ needs.start-runners-scheduled.outputs.github_run_id }}") | {id}' | jq -r .id)
curl -X DELETE -H 'Authorization: token ${{ secrets.GH_ACCESS_TOKEN }}' -H "Accept: application/vnd.github.v3+json" https://api.github.com/repos/${{github.repository}}/actions/runners/$runner_id
shell: bash
shell: bash

0 comments on commit 1511ecd

Please sign in to comment.