Add Custom Layer
Setup the repositories
The first step to implement a new custom layer is to create the repositories for the manifest and the actual meta-layer. These repositories are placed into a group with the customer name. Let's consider for instance a new customer called custom-example
, the group and the repositories on GitLab should look like:
custom-example
├── manifest
└── meta-custom-example
The second step is to configure the repositories following the guidelines https://git.seco.com/clea-os/infrastructure/gitlab-ci/-/blob/master/docs/add-new-project-to-pipeline.md.
info
Proper credentials are required to perform these steps. Ask to a Clea OS mainteiner if the credentials are not sufficient.
Populate the layer repository
The basic structure of a Seco custom layer is:
meta-seco-custom-example
├── conf
│ ├── bblayers.conf
│ ├── configs/
│ ├── layer.conf
│ ├── machine/
│ ├── SRCREV.conf
│ └── Yconfig/
├── custom_layer
├── .git
│ ├── ...