Skip to content
Snippets Groups Projects
  1. Mar 19, 2024
  2. Mar 18, 2024
    • GitBot's avatar
      Integrate gitlab-ci/bb-recipe-linter and 1 more · 586690f2
      GitBot authored
      --
      
      Commit: seco-ne/yocto/infrastructure/gitlab-ci@44000de1
      
      Check bitbake recipes with linter
      
      The job checks bitbake recipes added/updated in MR using the
      oelint-adv tool (https://github.com/priv-kweihmann/oelint-adv).
      
      .oelint.json is a rulefile, created with the command
      "oelint-adv --print-rulefile". It can be used during development.
      It contains default rules for now, but will probably be customized later.
      
      To get the list of changed files in MR, we adjusted the GIT_DEPTH variable.
      The new value is 50, which should be fine for getting MR changes,
      and still small enough to keep checkout fast for large projects.
      
      --
      
      Commit: seco-ne/yocto/infrastructure/gitlab-ci@9d9574d1
      
      convert_md2html: fix text duplication
      
      Fix the problem introduced by commit 4f06516 "convert_md2html: fix id
      fields for headings".
      
      The text converted from markdown was written twice to the HTML document.
      586690f2
  3. Mar 06, 2024
  4. Mar 04, 2024
  5. Mar 01, 2024
  6. Feb 28, 2024
  7. Feb 23, 2024
  8. Feb 19, 2024
  9. Dec 21, 2023
  10. Nov 20, 2023
  11. Nov 17, 2023
  12. Nov 07, 2023
  13. Nov 06, 2023
    • Tobias Kahlki's avatar
      setup:genio700: Remove PACKAGE_CLASSES override · 63d9fe5c
      Tobias Kahlki authored
      We use rpm packages per default in our Yocto setup.
      Use it for MediaTek as well (different package classes provoke potential
      issues in various pre-/post-steps and also reduce reusability between
      platforms with the same arch).
      63d9fe5c
  14. Nov 03, 2023
  15. Oct 27, 2023
  16. Oct 25, 2023
  17. Oct 23, 2023
  18. Oct 20, 2023
  19. Oct 19, 2023
    • GitBot's avatar
      Integrate gitlab-ci/reverse-pipeline-cancellation-order and 6 more · 13198e9d
      GitBot authored
      --
      
      Commit: seco-ne/yocto/infrastructure/gitlab-ci@3697b4ea
      
      cancel_pipelines: reverse order of cancellation
      
      Cancel parent pipeline first before cancelling its children in order not
      to have failed parent pipelines (trigger jobs are failed if their
      downstream pipeline is cancelled).
      
      --
      
      Commit: seco-ne/yocto/infrastructure/gitlab-ci@5f4ca2fb
      
      cancel_pipelines: list actually cancelled (child-)pipelines
      
      --
      
      Commit: seco-ne/yocto/infrastructure/gitlab-ci@c80cba84
      
      Cancel all pipelines on newer commit
      
      We already canceled running pipelines before. Gitlab, however, might
      have already canceled previous pipelines automatically, but without
      canceling their child pipelines.
      Remove the "running" status filter when cancelling pipelines, so that
      also already cancelled pipelines will be included.
      
      --
      
      Commit: seco-ne/yocto/infrastructure/gitlab-ci@84eb6e22
      
      Revert "Cancel all pipelines on newer commit"
      
      This reverts commit f7582b74e7c565d55bb8a0315fe75c4ab4385fa2.
      
      --
      
      Commit: seco-ne/yocto/infrastructure/gitlab-ci@f7582b74
      
      Cancel all pipelines on newer commit
      
      We already canceled running pipelines before. Gitlab, however, might
      have already canceled previous pipelines automatically, but without
      canceling their child pipelines.
      Extend the mechanism now to cancel all pipelines up to and including
      "running" as well as "canceled" states.
      
      --
      
      Commit: seco-ne/yocto/infrastructure/gitlab-ci@0ec55c07
      
      Fix list() call in update_submodule
      
      Here we don't just iterate over the results, so we have to use
      "all=True" instead of "as_list=False". See previous commit for
      explaination.
      
      --
      
      Commit: seco-ne/yocto/infrastructure/gitlab-ci@4b3a517e
      
      Make sure to get all items on Gitlab list() calls
      
      The list() call on Gitlab classes uses pagination per default. If the
      number of items exceeds a certain limit, we only get a part of the
      results. We can pass "all=True" to the calls in order to disable
      pagination and get all results.
      If we're looping over the items, though, the recommended way of getting
      them is to use a generator object, which works calling list() with
      "as_list=False". See documentation for reference:
      
      https://python-gitlab.readthedocs.io/en/v2.10.1/api-usage.html#pagination
      
      Note: the "as_list" argument is deprecated in newer versions of the
      python-gitlab library, in favor of the newer "iterator=True":
      https://python-gitlab.readthedocs.io/en/v3.6.0/changelog.html#feature
      We are using v2.10.1 of the library, though, so this commit also updates
      calls using the new way, which is not working with our version.
      13198e9d
    • GitBot's avatar
      Integrate gitlab-ci/combine-confluence-pages-from-multiple-pipelines and 2 more · 720a98ec
      GitBot authored
      --
      
      Commit: seco-ne/yocto/infrastructure/gitlab-ci@c292d144
      
      Confluence: combine data from parallel child pipelines
      
      We deploy Yocto image and SDK in different pipelines, which both have
      their Confluence jobs with the same Confluence target. Previously these
      pipelines have been independent, so that running the Confluence job in
      one of them would overwrite the Confluence page if it has been run in
      the other pipeline before. Hence we could either have the image files or
      the SDK files in the Confluence page.
      Combine these now by checking for other parallel child pipelines with
      the same Confluence configuration, so that running the Confluence jobs
      in the Yocto pipeline also includes the information from the SDK build
      and vice versa.
      
      --
      
      Commit: seco-ne/yocto/infrastructure/gitlab-ci@53106170
      
      Fix ci-test SDK version
      
      --
      
      Commit: seco-ne/yocto/infrastructure/gitlab-ci@d6d4ab61
      
      Fix ci-test SDK download
      
      Since the implementation of multiple child pipelines we cannot use the
      previous artifacts download links anymore specifying tag and job name,
      because the jobs for image build and SDK build are equal. Use direct
      download links instead via job number.
      720a98ec
  20. Oct 16, 2023
  21. Oct 04, 2023
  22. Sep 28, 2023
  23. Sep 25, 2023
  24. Sep 18, 2023
  25. Sep 15, 2023
  26. Sep 14, 2023
  27. Sep 08, 2023
    • GitBot's avatar
      Integrate gitlab-ci/remove-release-name-from-deploy-target and 10 more · f1f72a4d
      GitBot authored
      --
      
      Commit: seco-ne/yocto/infrastructure/gitlab-ci@f2a29f53
      
      Refactoring: remove RELEASE_NAME from deploy targets
      
      Append it to the configured target at the deploy class level instead.
      This removes the need for eval'ing the variables before usage.
      RELEASE_NAME can be used directly at the class level because it is known
      from build-version.env.
      
      This makes the deploy behavior identical to the Azure stage.
      
      --
      
      Commit: seco-ne/yocto/infrastructure/gitlab-ci@e136e5e2
      
      Remove top-level "release" folder from package
      
      --
      
      Commit: seco-ne/yocto/infrastructure/gitlab-ci@1d5e479f
      
      Define MACHINE variable on job level
      
      Instead of passing MACHINE from stage to stage or loading it from
      testdata.json, use the original value from the Jinja2 loop and set it
      directly for each job where it is used.
      
      --
      
      Commit: seco-ne/yocto/infrastructure/gitlab-ci@cdd47023
      
      Introduce separate variables to set RELEASE_NAME and RELEASE_VERSION
      
      The expressions to calculate RELEASE_NAME and RELEASE_VERSION cannot be
      stored within these variables themseselves. If set on the trigger level,
      they would override the calculated values in build-version.env then,
      as trigger variables always have the highest precedence.
      
      Use separate variables RELEASE_VERSION_EXPRESSION and
      RELEASE_NAME_EXPRESSION to define how RELEASE_VERSION and RELEASE_NAME
      are calculated instead.
      
      --
      
      Commit: seco-ne/yocto/infrastructure/gitlab-ci@372d192b
      
      Use RELEASE_VERSION and RELEASE_NAME from build-version job
      
      Instead of passing these variables from stage to stage or regenerating
      their values in later stages, use the ones set in the build-version job
      at all places.
      
      --
      
      Commit: seco-ne/yocto/infrastructure/gitlab-ci@cad30c20
      
      Remove RELEASE_SUFFIX variable
      
      The RELEASE_NAME variable can be set directly now, so there's no need to
      have a dedicated RELEASE_SUFFIX anymore. A previous configuration like
      
        RELEASE_SUFFIX: "-custom"
      
      can now be achieved using:
      
        RELEASE_NAME: "Yocto-${RELEASE_VERSION}-custom"
      
      --
      
      Commit: seco-ne/yocto/infrastructure/gitlab-ci@922f49f8
      
      Add yocto version job
      
      This adds a machine-independent job "build-version" which populates the
      RELEASE_VERSION and RELEASE_NAME variables, so that following jobs can
      use these without depending on the various build jobs.
      The variables can be set from the trigger job in a project's
      `.gitlab-ci.yml` file. They are eval'ed before saving them to
      version.env, so we can use deferred variable expansion or even command
      execution to construct their values. This mechanism is already used for
      the Flash-N-Go System variables.
      
      --
      
      Commit: seco-ne/yocto/infrastructure/gitlab-ci@073ae81e
      
      LAVA: rename MACHINE to LAVA_MACHINE
      
      Rename variable in order to avoid confusion with the original MACHINE
      variable used everywhere else. Also rename the local Jinja2 variable to
      include an underscore to make naming consistent.
      
      --
      
      Commit: seco-ne/yocto/infrastructure/gitlab-ci@a91baa55
      
      Clean build.env before writing
      
      This had been accidentally removed in
      5e36715ef6cf98df4c1b98fedddc0c3c50ed4040.
      
      --
      
      Commit: seco-ne/yocto/infrastructure/gitlab-ci@1860ca8e
      
      Remove LOG_PREFIX variable
      
      This was used in times when the same code was executed from different
      places. We don't do that anymore, so the variable is obsolete.
      
      --
      
      Commit: seco-ne/yocto/infrastructure/gitlab-ci@3d2dbe4d
      
      Documentation: update job generation chapter
      f1f72a4d
  28. Sep 05, 2023
  29. Sep 04, 2023
  30. Aug 31, 2023
  31. Aug 30, 2023
  32. Aug 28, 2023
  33. Aug 24, 2023
    • GitBot's avatar
      Integrate gitlab-ci/add-azure-stage · 2bab004d
      GitBot authored
      --
      
      Commit: seco-ne/yocto/infrastructure/gitlab-ci@e6808701
      
      Add "Deploy Azure" stage
      
      This stage contains jobs to deploy packaged artifacts to our Azure blob
      storage. The required variables `AZURE_STORAGE_ACCOUNT` and
      `AZURE_STORAGE_SAS_TOKEN` are stored in the GitLab CI/CD variables.
      The storage container `AZURE_CONTAINER_NAME` and artifact path
      `AZURE_TARGET_FOLDER` are passed from the parent pipeline.
      2bab004d
Loading