mirror of
https://github.com/armbian/scripts.git
synced 2026-01-06 10:32:48 -08:00
Update smoke-tests.yml
This commit is contained in:
2
.github/workflows/smoke-tests.yml
vendored
2
.github/workflows/smoke-tests.yml
vendored
@@ -45,7 +45,7 @@ jobs:
|
||||
curl -H "Authorization: Token ${{ secrets.NETBOX_TOKEN }}" -H "Accept: application/json; indent=4" \
|
||||
"https://stuff.armbian.com/netbox/api/dcim/devices/?limit=500?name__empty=false&tenant=igor&device_role=DUT&tag=qa" \
|
||||
| jq '.results[] | .display, .primary_ip.address' | xargs -n2 -d'\n' | grep -v null | sed -e 's/ ([^()]*)//g' \
|
||||
| sed 's/\/.*"/"/g' | sed "s/\" \"/:/g" | sed "s/\"//g" |jq -cnR '[inputs | select(length>0)]' | jq)
|
||||
| sed 's/\/24"/"/g' | sed "s/\" \"/:/g" | sed "s/\"//g" |jq -cnR '[inputs | select(length>0)]' | jq)
|
||||
|
||||
Test:
|
||||
name: "DUT"
|
||||
|
||||
Reference in New Issue
Block a user