meta data for this page
  •  

This is an old revision of the document!


CI

Problems to solve:

layers revision

Change version of meta layers

  • repo: create another manifest with branch names, not hashes
  • kas:
    • use 2 sets of config (1st: pinned.yml 2nd: integration.yml)
    • use lockfiles

single recipe revision

Change fixed SRCREV and SRCBRANCH in recipes ? quite problematic. For example recipe name is my_app.bb:

  • my_app.bbappend in new meta layer used only during CI ?
  • my_app-latest.bb in the same meta layer and use PREFERRED_VERSION_my_app = “latest” ?
  • PREFERRED_VERSION_my_app = “latest” ?
    • create new meta layer for CI and

Already solved in Yocto!

Yocto contains special latest distro poky-bleeding.conf where config file poky-floating-revisions.inc is used:

poky-floating-revisions.inc
SRCREV_pn-oh-puzzles ?= "${AUTOREV}"
SRCREV_pn-libowl ?= "${AUTOREV}"
SRCREV_pn-matchbox-applet-light ?= "${AUTOREV}"

See: Using an External SCM