What Azure DevOps services are necessary to automate the Yocto build pipeline

Anonymous
2023-10-07T08:04:38.9733333+00:00

I have previously constructed a Yocto Image for Rpi3 device manually and are now seeking to automate the Yocto Image building process using Azure DevOps pipelines.

The manual Yocto build process consists of the following steps:

  1. Cloning specific layers with a particular commit ID.
  2. Creating the source environment and making necessary configuration file modifications.
  3. Executing the 'bitbake' command to initiate the Yocto Image build.
  4. Downloading the successfully built Yocto Image from the "/tmp/deploy/images" directory.

I have little knowledge of where GitLab is used for maintaining the Yocto-related files, Jenkins is for building the image, Kubernetes will be as a backend to build the image into a runtime pod. and Nexus is to save the built Yocto Image.

Now, I have several questions that require clarification for setting up this automation process within the Azure DevOps pipeline.

Questions:

  1. Which Azure services are required to automate the process of building Yocto Image from cloning the layers to downloading the image?
  2. In order to automate the pipeline, including tasks such as starting from cloning specific layers, building Yocto Image, and saving the final Yocto image in Nexus kind of thing as an example, what kind of configuration file or script should be created, where should it be stored, and should it be maintained within the Git repository or elsewhere?
  3. To copy some Yocto-related files from Git to Kubernetes Service, how it can be done?
  4. Once the image is built successfully where we can save the image so that we can go and download the image?
  5. It will be great if you provide an end-to-end flow architecture diagram as well.

Thanks in Advance!

Community Center | Not monitored
0 comments No comments
{count} vote

2 answers

Sort by: Most helpful
  1. navba-MSFT 27,550 Reputation points Microsoft Employee Moderator
    2023-10-09T02:51:12.2866667+00:00

    @Anonymous Welcome to Microsoft Q&A! Thanks for posting the question.

    DevOps is currently not supported in the Q&A forums, the supported products are listed over here

    https://learn.microsoft.com/en-us/answers/products (more to be added later on).

    You can ask the experts in the dedicated forum over here:
    https://stackoverflow.com/questions/tagged/devops https://developercommunity.visualstudio.com/spaces/21/index.html

    **
    Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.

    0 comments No comments

  2. TIm Black 0 Reputation points
    2024-08-15T22:39:48.1966667+00:00

    I'm researching the same but not restricted to Azure, and thought I'd ask if you implemented yocto build pipeline in Azure DevOps, and wanted to follow up with any details.

    If you're still looking for information, the official yocto projects autobuilder is a good start:

    https://docs.yoctoproject.org/test-manual/understand-autobuilder.html

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.