Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
.circleci: test for specific Yocto branch
Up to now, all tests did simply check out any latest state of all layers to perform testing. This is sufficient for master in most cases, but will fail when attempting to test for other releases as it is required for stable branch updates. Unfortunately, despite this would be the best reference, currently there is no way in circleci to determine the actual branch a pull request was opened against. See also https://ideas.circleci.com/ideas/CCI-I-894 Thus for now, we define the targeted Yocto/poky branch and release version with environment variables, named 'YOCTO_BRANCH' and 'YOCTO_VERSION'. With them, the job now clones the exact branches required and also writes the exact sstate mirror path required into local.conf. By adapting the environment variable for different stable branches this potentially allows running tests against the concrete poky version. Signed-off-by: Enrico Jorns <[email protected]>
- Loading branch information