AzureIoTGBB / iot-edge-offline-dashboarding

Azure IoT Edge offline dashboarding/reporting sample. Guidance and sample dashboards
MIT License
34 stars 18 forks source link

Azure DevOps Deployment Error Encountered #15

Open kawofong opened 3 years ago

kawofong commented 3 years ago

I tried to follow the Azure DevOps deployment doc (https://github.com/AzureIoTGBB/iot-edge-offline-dashboarding/blob/master/documentation/deployment-devops.md) but the Azure Pipeline fails. I am attaching few screenshots related to the failure.

Screenshot 1: image

Screenshot 2: image

jlorich commented 3 years ago

There's a couple common things this could be. Usually this is some kind of failing in the build step, specifically on the "Publish" IoT Edge Step. Either the credential isn't getting added to the final deployment manifest, or the containers aren't successfully pushing to azure. Would you be able to post the "Build" step logs as well as the final config/deployment.amd64/json (obviously strip the credentials, but let me know if they are present and correct).

kawofong commented 3 years ago

@jlorich Thank you for the quick response. Please see attached for my logs (logs_208.zip) and deployment.amd64.json (sanitize-deployment.amd64.json.txt). For reference, I was able to download the deployment.amd64.json and manually create the IoT Edge deployment through Az CLI.

az iot edge deployment create -d {deployment-name} -n {iot-hub-name} --content deployment.amd64.json --target-condition "tags.dashboard=true" --priority 10

However, the Azure pipeline still fails for some reason.