Open kawofong opened 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).
@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.
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](https://user-images.githubusercontent.com/14829553/92607271-e54db700-f281-11ea-8e0d-220dba37236b.png)
Screenshot 2:![image](https://user-images.githubusercontent.com/14829553/92607313-f4cd0000-f281-11ea-88ff-ddc87a24a3ff.png)