Merge pull request #332 from quartiq/feature/hitl-check
Adding check wait for HITL
This commit is contained in:
commit
05ead19cff
@ -1,4 +1,4 @@
|
||||
name: HITL
|
||||
name: HITL Trigger
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
@ -6,7 +6,7 @@ on:
|
||||
branches: [ master ]
|
||||
|
||||
jobs:
|
||||
hitl:
|
||||
hitl-trigger:
|
||||
runs-on: ubuntu-latest
|
||||
environment: hitl
|
||||
steps:
|
||||
@ -16,3 +16,12 @@ jobs:
|
||||
event-type: stabilizer
|
||||
repository: quartiq/hitl
|
||||
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 }}
|
@ -15,6 +15,8 @@ python3 -m venv --system-site-packages py
|
||||
. py/bin/activate
|
||||
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:
|
||||
# * DHCP is functional and an IP has been acquired
|
||||
# * Stabilizer's network is functioning as intended
|
||||
|
Loading…
Reference in New Issue
Block a user