-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* master: (70 commits) Updating JSON syntax Updating trigger Adding bors timeout dual-iir: add some mqtt parameter docs changelog: spelling update lock let bors handle hitl prepare v0.5.0 release Updating code after review Adding comment, reverting change Adding sleep to HITL run Updating ping deadline Reverting unintended change Updating dependency revision Renaming interface to avoid confusion dual-iir: use InputPin re-export, rename digital_input Updating dependency dual-iir: add enable_hold, force_hold fix bench hardware: add digital input support ...
- Loading branch information
Showing
27 changed files
with
634 additions
and
263 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
block_labels = [ "S-blocked" ] | ||
delete_merged_branches = true | ||
timeout_sec = 1200 | ||
status = [ | ||
"style", | ||
"test (stable)", | ||
"compile (stable)", | ||
"HITL Run Status" | ||
] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# add changes-hitl label if any hitl scripts are changed | ||
# REVIEW those changes before approving HITL deployment! | ||
changes-hitl: | ||
- any: [hitl/*] |
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: HITL Trigger | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- staging | ||
- trying | ||
|
||
jobs: | ||
hitl-trigger: | ||
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) }}, "check_id": ${{steps.hitl-check.outputs.check_id}}} | ||
- uses: fountainhead/[email protected] | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
checkName: HITL Run Status | ||
ref: ${{ github.event.pull_request.head.sha }} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
name: "Pull Request Labeler" | ||
on: | ||
pull_request_target: | ||
branches: [master] | ||
|
||
jobs: | ||
labeler: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/labeler@v3 | ||
with: | ||
repo-token: "${{ secrets.GITHUB_TOKEN }}" |
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
Oops, something went wrong.