From d7d4889bd6c64df7c9c39e2b1c4ff1b1cd0db50b Mon Sep 17 00:00:00 2001 From: gitbot <gitbot@garz-fricke.com> Date: Mon, 24 Jul 2023 08:45:36 +0000 Subject: [PATCH] Integrate gitlab-ci/use-common-artifact-pathspecs and 11 more -- Commit: https://git.seco.com/seco-ne/yocto/infrastructure/gitlab-ci/-/commit/c227e0531a0b9c6a2b23f6ec27ad0afe4bdac8c2 Yocto build: use common artifact pathspec for image and SDK builds This is the first step on the way to a common pipeline for all build configurations. -- Commit: https://git.seco.com/seco-ne/yocto/infrastructure/gitlab-ci/-/commit/fa2766e64a1bb5e298ebf0c7d736d28bcffd7c6a README: review documentation for adding new project -- Commit: https://git.seco.com/seco-ne/yocto/infrastructure/gitlab-ci/-/commit/c027f42b12a5d21dbf9d3ae54de36e33a00addb0 README: use consistent heading style -- Commit: https://git.seco.com/seco-ne/yocto/infrastructure/gitlab-ci/-/commit/f8bf107b6b2fbd85cd2dc3846ee1f361f6578a3c Sourcery: keep min-max-identity check disabled IMO code is easier to read without the proposed change: https://docs.sourcery.ai/Reference/Python/Default-Rules/min-max-identity/ Move the disabled check to the top of the list and add a comment that all the checks below need to be verified. -- Commit: https://git.seco.com/seco-ne/yocto/infrastructure/gitlab-ci/-/commit/01484573ef1acc4de788e412b38aaa09d61a531c Refactoring: replace if-expression with or See for reference: https://docs.sourcery.ai/Reference/Python/Default-Rules/or-if-exp-identity/ -- Commit: https://git.seco.com/seco-ne/yocto/infrastructure/gitlab-ci/-/commit/ccdac3d52ae36c05a880f8b149296793597b1076 Sourcery: enable more passing checks -- Commit: https://git.seco.com/seco-ne/yocto/infrastructure/gitlab-ci/-/commit/d5908ee5a499c15f52fe731f338400fff2caa7a9 Refactoring: remove needless str() from print() See for reference: https://docs.sourcery.ai/Reference/Python/Default-Rules/remove-str-from-print/ -- Commit: https://git.seco.com/seco-ne/yocto/infrastructure/gitlab-ci/-/commit/479861fbcf1be795e1d7da220904234dee29bc13 Sourcery: enable passing checks -- Commit: https://git.seco.com/seco-ne/yocto/infrastructure/gitlab-ci/-/commit/7c87d4d14eb37ed682450963071d58e6f10b97e7 Sourcery: skip use-assigned-variable -- Commit: https://git.seco.com/seco-ne/yocto/infrastructure/gitlab-ci/-/commit/26591c0b67fbc8c0e926de65443ad52576d6b513 Refactoring: use datetime.now() instead of datetime.today() now() is officially preferred over today() according to the docs. See for reference: https://docs.sourcery.ai/Reference/Python/Default-Rules/use-datetime-now-not-today/ https://docs.python.org/3/library/datetime.html#datetime.datetime.now -- Commit: https://git.seco.com/seco-ne/yocto/infrastructure/gitlab-ci/-/commit/414ebe6d55adc75a290d57ce2179f9ff69fd99a1 Add python code analysis via sourcery Disable all checks which do not pass currently. These should be enabled in the future along with a code refactoring to make them pass. -- Commit: https://git.seco.com/seco-ne/yocto/infrastructure/gitlab-ci/-/commit/df817ecf2e209b889e53fd61d3a20ca780a18757 README: Add howto to create a new project. --- .gitlab-ci | 2 +- .gitlab-ci.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci b/.gitlab-ci index 31e5a427d57e2..c227e0531a0b9 160000 --- a/.gitlab-ci +++ b/.gitlab-ci @@ -1 +1 @@ -Subproject commit 31e5a427d57e2d3cac971a32d18e6274932adb99 +Subproject commit c227e0531a0b9c6a2b23f6ec27ad0afe4bdac8c2 diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 606f398b0a4c8..54660c6ce03c3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,9 +4,9 @@ # --------------------------------------------------------------------------------------- include: - project: '${CI_PROJECT_ROOT_NAMESPACE}/yocto/infrastructure/gitlab-ci' - ref: 31e5a427d57e2d3cac971a32d18e6274932adb99 + ref: c227e0531a0b9c6a2b23f6ec27ad0afe4bdac8c2 file: 'manifest-integration.yml' variables: - GITLAB_CI_REVISION: 31e5a427d57e2d3cac971a32d18e6274932adb99 + GITLAB_CI_REVISION: c227e0531a0b9c6a2b23f6ec27ad0afe4bdac8c2 BB_RECIPE_NAME: linux-guf -- GitLab