Skip to content

Commit

Permalink
Merge #349
Browse files Browse the repository at this point in the history
349: HITL Check Update r=ryan-summers a=ryan-summers

Updating the HITL workflow to create the check locally before having the remote repository create it. This makes it belong to a deterministic test suite and always exist

Co-authored-by: Ryan Summers <[email protected]>
  • Loading branch information
bors[bot] and ryan-summers authored Apr 29, 2021
2 parents 738fc52 + c9f6114 commit 339332d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/bors.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
block_labels = [ "S-blocked" ]
delete_merged_branches = true
timeout_sec = 1200
status = [
"style",
"test (stable)",
Expand Down
18 changes: 14 additions & 4 deletions .github/workflows/hitl_trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,25 @@ jobs:
runs-on: ubuntu-latest
environment: hitl
steps:
- uses: LouisBrunner/[email protected]
id: hitl-check
with:
repo: ${{ github.repository }}
sha: ${{ github.event.head_commit.id }}
token: ${{ github.token }}
name: HITL Run Status
status: in_progress
details_url: "https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}"
output: |
{"summary": "Starting..."}
- uses: peter-evans/repository-dispatch@v1
with:
token: ${{ secrets.DISPATCH_PAT }}
event-type: stabilizer
repository: quartiq/hitl
client-payload: '{"github": ${{ toJson(github) }}}'

- name: Wait for startup
run: sleep 30
client-payload: |
{"github": ${{ toJson(github) }}, "check_id": ${{steps.hitl-check.outputs.check_id}}}
- uses: fountainhead/[email protected]
with:
Expand Down

0 comments on commit 339332d

Please sign in to comment.