Skip to content

Integrate gitlab-ci/layers-integration and 9 more

Commit: https://git.seco.com/yocto_ng/infrastructure/gitlab-ci/-/commit/d2f7d1264a8c93edbc60117129bbd78d94db1667

Comment out rockchip integration for testing purpose

  • Partial testing of correct NXP repository integration

--

Commit: https://git.seco.com/yocto_ng/infrastructure/gitlab-ci/-/commit/befb5fcb7f3b5833bc7b862f0f69aa4e6bb4c253

Insert accept_layer_merge_request.py file

  • The script is a direct derivation of the original one and can be merged in a near future
  • The script search for the latest updated MR in the project repository to retrieve the source branch
  • Then merge the MR on the layer project according to the recontructed integration branch

--

Commit: https://git.seco.com/yocto_ng/infrastructure/gitlab-ci/-/commit/ac01de8d46270d31ff334ccb9cdcc6d6343ba54a

Include 'check_if_layer_branch_is_up_to_date.py'

  • This commit adds the script to check if the integration branch is up-to-date on the layer side
  • Very few modification with respect to the original script
  • The script can be merged with the original one in the near future

--

Commit: https://git.seco.com/yocto_ng/infrastructure/gitlab-ci/-/commit/6c707e3875704f4d7128a68f3684fea42f87dd6f

Include integrate_into_layer.py script

  • The script is derived from the integrate_into_manifest file and is used to create the integration branch on layers
  • The script create a new branch with the modifications on the SRCREV.conf indicated as parameter and on the bitbake recipe indicated
  • In a future this file could be merged with the integrate_inot_manifest one

--

Commit: https://git.seco.com/yocto_ng/infrastructure/gitlab-ci/-/commit/9998c3ddd17fcaf881cd63311db38615fbd39841

Include layers-integration.yml file

  • The file is intended to contain all the automation tasks to be executed by the projects used in the Yocto layers
  • The steps are the main steps that this CI file contains:
    • Every time a MR is opened on a project an integration branch is opened on the layer which updates the SHA of the commit on the 'conf/SRCREV.conf' file referring to correct bb recipe
    • A MR is automatically opened on the layer master branch, that triggers all the downstream job of the manifest-integration file, which is left untouched
    • A check job checks that the layer project branch is up-to-date with the commit revision
    • Once the MR is accepted on the project, the one in the layer is merged and closed by default after having tried a rebase.
  • Minor bug fix on gitlab-ci.yml file

--

Commit: https://git.seco.com/yocto_ng/infrastructure/gitlab-ci/-/commit/236704a783ebed050a3b9668c32f4ae3571b71cb

Bug fix on python script execution

--

Commit: https://git.seco.com/yocto_ng/infrastructure/gitlab-ci/-/commit/1a1213ee4925188fd7dd47176a333b3587fb3c9b

Bug fix on yaml syntax

Commit: https://git.seco.com/yocto_ng/infrastructure/gitlab-ci/-/commit/25b37b9207dbb527c933885c3d08e496eba7d240

Insert new script for .gitlab-ci submodule integration

  • The script is identical to the 'scripts/deploy_gitlab_ci_projects.py' apart from the fact that does look for a manifest project to integrate/merge
  • In the future the two scripts may be merged to treat both cases correctly, for now we skip this part

--

Commit: https://git.seco.com/yocto_ng/infrastructure/gitlab-ci/-/commit/1e330dfb6b53259c321eef65f08c8cdadeafa091

Insert PROJECT_INTEGRATION_GROUPS variable

  • The .gitlab-ci submodule is added also to other groups (those containing kernel, uboot, etc.) so it is necessary to create an integration branch also them

--

Commit: https://git.seco.com/yocto_ng/infrastructure/gitlab-ci/-/commit/4b57461a9ffdb8134adc05378df9ea8be019517b

Add MANIFEST_GROUP variable

  • The variable is necessary when the GitBot will be given access to sveral groups to restrict the search for the manifest repository
  • Add --verbose option and other debug stuff in merge job

Merge request reports

Loading