fix block_ab and snapshot_ab after 4160 #42
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
on: | |
push: | |
branches: | |
- main | |
- firecracker-v* | |
jobs: | |
trigger_ab_test: | |
runs-on: ubuntu-latest | |
if: ${{ github.event.forced == false }} | |
steps: | |
- name: "Trigger Buildkite Pipeline" | |
run: | | |
curl -X POST https://api.buildkite.com/v2/organizations/firecracker/pipelines/performance-a-b-tests/builds \ | |
-H 'Content-Type: application/json' \ | |
-H 'Authorization: Bearer ${{ secrets.BUILDKITE_TOKEN }}' \ | |
-d '{ | |
"commit": "HEAD", | |
"branch": "${{ github.event.ref }}", | |
"env": { | |
"REVISION_A": "${{ github.event.before }}", | |
"REVISION_B": "${{ github.event.after }}" | |
} | |
}' |