Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TEST #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

TEST #1

wants to merge 2 commits into from

Conversation

ejoerns
Copy link
Owner

@ejoerns ejoerns commented Jan 6, 2020

Signed-off-by: Enrico Jorns [email protected]

@ejoerns ejoerns force-pushed the topic/sophisticated-ci branch 11 times, most recently from 2c6baaa to ab9ccb2 Compare January 6, 2020 10:26
@ejoerns ejoerns force-pushed the topic/sophisticated-ci branch 2 times, most recently from 265a305 to 4748b45 Compare February 2, 2020 20:46
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]>
@ejoerns ejoerns force-pushed the master branch 13 times, most recently from a2849c7 to 4c50f67 Compare November 9, 2020 01:43
@ejoerns ejoerns force-pushed the master branch 2 times, most recently from 356d934 to 582c4be Compare November 9, 2020 11:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant