Skip to content
Snippets Groups Projects
  1. May 24, 2024
  2. May 23, 2024
  3. May 21, 2024
    • Dmitry Petrov's avatar
      report_image_diff: rework variables extraction · bd4caeae
      Dmitry Petrov authored and Jonas Höppner's avatar Jonas Höppner committed
      The current solution makes too much assumptions about the pipeline and needs
      to reimplement some of the gitlab yaml interpretion.
      
      The new version of the script extracts MACHINE and DISTRO from the jobs themselves:
      - MACHINE is part of the build job name ("build-$MACHINE");
      - DISTRO is printed by bitbake and can be found in build log.
      
      Typos
      bd4caeae
  4. May 13, 2024
  5. May 10, 2024
  6. May 07, 2024
  7. Apr 30, 2024
  8. Apr 26, 2024
    • Jonas Höppner's avatar
      CI: allow failure in new jobs 'handle_artifacts' and 'report-image-diff' · 6656c465
      Jonas Höppner authored
      It seems that these jobs are not yet completly errorsafe and we could
      ignore the failure without changing the build artifacts.
      6656c465
    • Dmitry Petrov's avatar
      ci: add a job to handle artifacts after merge · de9851be
      Dmitry Petrov authored and Jonas Höppner's avatar Jonas Höppner committed
      In the latest commit in the manifest it often happens, that the pipeline
      does not contain the artifacts itself, but just a link to the pipeline of the MR.
      
      Added a python script with corresponding GitLab CI job to launch this script.
      The script searches for the latest pipelines for default branch in manifest repo,
      and then decides either to keep or delete artifacts for particular build.
      
      The build artifacts are kept for:
      - the latest commit
      - the last successful build
      - the tagged commits (e.g. "fngsystem/47.0", "kirkstone/20.0")
      de9851be
  9. Apr 23, 2024
    • Dmitry Petrov's avatar
      CI: add "report-image-diff" job · 1299a9d6
      Dmitry Petrov authored and Jonas Höppner's avatar Jonas Höppner committed
      Add a python script and a GitLab CI job to run it. The job is triggered
      when the build is complete.
      
      The script retrieves build artifacts for the default/main branch
      (currently "kirkstone") in the manifest repo and build artifacts
      for the integration branch of merge request.
      
      After that, it compares those builds and creates a summary of the overall
      changes. In particular:
      - size of compressed artifacts (artifacts.zip)
      - size of built image
      - difference between manifest files
      
      The summary is reported to stdout and as a comment to the merge request.
      Each run of the pipeline means removing the old summary comment and
      creating a new one when the build is finished.
      1299a9d6
  10. Apr 19, 2024
  11. Apr 16, 2024
  12. Apr 11, 2024
  13. Apr 04, 2024
  14. Mar 20, 2024
  15. Mar 19, 2024
  16. Mar 15, 2024
    • Dmitry Petrov's avatar
      Check bitbake recipes with linter · 44000de1
      Dmitry Petrov authored and Jonas Höppner's avatar Jonas Höppner committed
      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.
      44000de1
  17. Mar 13, 2024
  18. Mar 06, 2024
  19. Feb 29, 2024
  20. Feb 27, 2024
  21. Feb 23, 2024
  22. Feb 19, 2024
Loading