Azure IoT Edge Layered deployment in DevOps Pipeline

Dhanavath Vishnu 366 Reputation points
2023-04-18T15:30:51.2266667+00:00

Hi Team Hello @satishbodduakon I am having scenario, using the Azure DevOps Pipeline I am generating an IoT Edge layered deployment from the build pipeline, as I am having different modules, so I will be having different condition tags for each deployment template. Now when I target this layered deployment using CI release pipeline using Azure IoT Edge task (Azure IoT Edge - Deploy to IoT Edge devices) I am facing error. My question is, will the release pipeline -CI setup of azure IoT edge work for layered deployment? or will it only work for the standard deployment template. I am getting the error for the release pipeline task for layered deployment, I am assuming as layered deployment is not having system modules, I am getting this error:

##[error]TypeError: Cannot read property 'modules' of undefined

Could you clarify this, if there are any reference regarding the layered deployment targeting in CI Pipeline task, please share with me. Thanks D. Vishnu

Azure IoT Edge
Azure IoT Edge
An Azure service that is used to deploy cloud workloads to run on internet of things (IoT) edge devices via standard containers.
548 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,136 questions
{count} votes

Accepted answer
  1. LeelaRajeshSayana-MSFT 13,791 Reputation points
    2023-04-21T23:49:17.7466667+00:00

    Hi @Dhanavath Vishnu Greetings! We have update from the product team on the issue. Please find the response below.

    The deployment manifest template that is provided is for the basic deployment and its schema is not applicable to layered deployment. The error is expected.

    Having said that, the team has added layered deployment support for CICD tasks using the IoTEdgeDev tool. The product team will analyze if the layered deployment manifest template used by the tool can be used by Azure CI/CD tasks.

    Please refer this link on GitHub which provides additional details on support for layered deployment.

    Hope this helps! Please let us know if you have any additional questions or need further clarification on this. We would be glad to connect with you offline and answer any further questions you may on this.


    If the response helped, please do click Accept Answer and Yes. Doing so would help other community members with similar issue identify the solution. I highly appreciate your contribution to the community.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful