Merge branch 'master' into feature/phy-reset
This commit is contained in:
commit
bf3c7e815b
|
@ -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/*]
|
|
@ -1,4 +1,4 @@
|
||||||
name: HITL
|
name: HITL Trigger
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
@ -6,7 +6,7 @@ on:
|
||||||
branches: [ master ]
|
branches: [ master ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
hitl:
|
hitl-trigger:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
environment: hitl
|
environment: hitl
|
||||||
steps:
|
steps:
|
||||||
|
@ -16,3 +16,12 @@ jobs:
|
||||||
event-type: stabilizer
|
event-type: stabilizer
|
||||||
repository: quartiq/hitl
|
repository: quartiq/hitl
|
||||||
client-payload: '{"github": ${{ toJson(github) }}}'
|
client-payload: '{"github": ${{ toJson(github) }}}'
|
||||||
|
|
||||||
|
- name: Wait for startup
|
||||||
|
run: sleep 30
|
||||||
|
|
||||||
|
- uses: fountainhead/action-wait-for-check@v1.0.0
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
checkName: HITL Run Status
|
||||||
|
ref: ${{ github.event.pull_request.head.sha }}
|
|
@ -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 }}"
|
|
@ -15,6 +15,8 @@ python3 -m venv --system-site-packages py
|
||||||
. py/bin/activate
|
. py/bin/activate
|
||||||
python3 -m pip install -r requirements.txt
|
python3 -m pip install -r requirements.txt
|
||||||
|
|
||||||
|
cargo flash --elf target/thumbv7em-none-eabihf/release/dual-iir --chip STM32H743ZITx
|
||||||
|
|
||||||
# Test pinging Stabilizer. This exercises that:
|
# Test pinging Stabilizer. This exercises that:
|
||||||
# * DHCP is functional and an IP has been acquired
|
# * DHCP is functional and an IP has been acquired
|
||||||
# * Stabilizer's network is functioning as intended
|
# * Stabilizer's network is functioning as intended
|
||||||
|
|
Loading…
Reference in New Issue