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

ci: Introduce initial GitHub workflows #1005

Merged
merged 10 commits into from Feb 19, 2022
Merged

ci: Introduce initial GitHub workflows #1005

merged 10 commits into from Feb 19, 2022

Conversation

agherzan
Copy link
Owner

@agherzan agherzan commented Feb 9, 2022

This pull request provides the initial workflows for bringing back the CI validations and improving them with additional checks:

  1. Build all the currently supported boards with poky/systemd configuration on core-image-base. As I get (happy to hear from you if you want to help) more runners I can easily extend it for more configuration (uboot/firmware, userland/VC4 etc.).
  2. Fix small nits for having the layer pass the yocto layer checker script.
  3. Check the layer with the yocto layer checker script - we can now apply for yocto compatible.
  4. Check for DCO - SoB needs to match the Author.
  5. Check for reuse - currently, the result of this job is not affecting the CI overall outcome as the layer is not yet reuse compliant. That is already WIP - FSFE-REUSE Booster Recomended Updates #916.

@agherzan agherzan self-assigned this Feb 9, 2022
@agherzan agherzan force-pushed the github-actions branch 19 times, most recently from 9ef4d2b to ef94843 Compare February 9, 2022 19:56
@agherzan agherzan changed the title ci: Add DCO workflow and associated Docker files ci: Introduce initial workflows Feb 9, 2022
@agherzan agherzan force-pushed the github-actions branch 9 times, most recently from 73681ec to e28b5c7 Compare February 9, 2022 21:23
Andrei Gherzan added 6 commits February 11, 2022 16:18
The dependencies to the meta-openembedded layers are handled through
dynamic layers so there is no need to advertise this in the
documentation. Especially that the layer configuration doesn't set that
either.

Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
…list

Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
It provides support for building a locally defined image. It also
includes a retry logic to handle eventual concurrent cleanups on the
runner.

Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
Cleanup existing dangling docker images on the runner.

Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
This is useful when cleaning up after a temporary built docker image.

Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
It includes jobs for checking DCO and reuse. The latter is set to allow
fails as the repository is not yet reuse compliant. When that is done,
we can switch it.

Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
@agherzan agherzan force-pushed the github-actions branch 2 times, most recently from a87d29d to f4da1e5 Compare February 11, 2022 15:29
esben
esben previously approved these changes Feb 11, 2022
.github/workflows/docker-images/yocto-builder/Dockerfile Outdated Show resolved Hide resolved
We include a workflow for checking yocto compliance using the poky
provided script and also a matrix workflow for building the CI supported
build configurations.

Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
@agherzan agherzan changed the title ci: Introduce initial workflows ci: Introduce initial GitHub workflows Feb 12, 2022
@kraj
Copy link
Collaborator

kraj commented Feb 15, 2022

the patches seems incremental fixes. Can you squash them into changelogs that are rewiewable units ?

@agherzan
Copy link
Owner Author

the patches seems incremental fixes. Can you squash them into changelogs that are rewiewable units ?

@kraj they should be. Could you give me an example?

This is not yet baked into GitHub but can be achived using a public
action.

Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
@agherzan agherzan merged commit b7b34ec into master Feb 19, 2022
@agherzan agherzan deleted the github-actions branch February 19, 2022 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants