Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Azure DevOps Deployment Error Encountered #15

Open
kawofong opened this issue Sep 9, 2020 · 2 comments
Open

Azure DevOps Deployment Error Encountered #15

kawofong opened this issue Sep 9, 2020 · 2 comments

Comments

@kawofong
Copy link

kawofong commented Sep 9, 2020

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
Copy link
Contributor

jlorich commented Sep 9, 2020

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
Copy link
Author

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants