diff --git a/.github/workflows/smoke-tests.yml b/.github/workflows/smoke-tests.yml index 68e151d9..511a153a 100644 --- a/.github/workflows/smoke-tests.yml +++ b/.github/workflows/smoke-tests.yml @@ -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"