How to Deploy in Your Infrastructure¶
This page explains how to take possession of a Welma delivery and deploy it in your infrastructure.
First you need to retrieve the delivered Welma layers and components:
meta-welmawelma-bootflagswelma-manifestwelma-testci(optional)meta-cvescan(optional)pluma-lats(optional)
Push each of them to your Git server (eg: Gitlab).
Edit URI¶
Then you need to update some URI to match your infrastructure:
- In
welma-manifest, create you own manifest file, with your URI.# NAME URI REF poky git://git.yoctoproject.org/poky kirkstone-4.0.7 meta-openembedded git://git.openembedded.org/meta-openembedded 278ec081a64e6a7679d6def550101158126cd935 meta-welma <your-base-uri>/meta-welma kirkstone-next meta-demo-headless <your-base-uri>/meta-demo-headless kirkstone-next welma-test <your-base-uri>/welma-test kirkstone-next ... - In
local.conf, either:- Set:
WELMA_GIT_URI_BASE(used to fetch some Welma components, typicallybootflags).WELMA_MSC_GIT_URI_BASE(used bymeta-welma-sm2s-imx8to fetch MSC-related components such asu-boot-imx-msc,linux-imx-msc, ...).
- Or set
PREMIRRORSto redirect to your servers. Example:
- Set:
-
In
ciset up the following job variables:WELMA_MANIFEST_GIT_URIWELMA_MANIFEST_GIT_REFWELMA_MANIFEST_FILEMETA_CVESCAN_GIT_URI(optional)META_CVESCAN_GIT_REF(optional)CVESCAN_GIT_URI(optional)CVESCAN_GIT_REF(optional)PLUMA_PIP_URI(optional)PLUMA_LATS_GIT_URI(optional)-
PLUMA_LATS_GIT_REF(optional) -
where:
_GIT_REFcan either be git commit identifiers, branches or tags._GIT_URImust be in a format supported bygit._PIP_URImust be in a format supported bypip.
These variables are used by the snippets of welma.yml and must be set in
your jobs descriptions (typically in .gitlab-ci.yml).