Skip to content
Snippets Groups Projects
  1. Jul 29, 2024
    • GitBot's avatar
      Integrate gitlab-ci/PBB-32-flash-n-go-deploy-folder-no-suffix · 3f8f3936
      GitBot authored
      --
      
      Commit: seco-ne/yocto/infrastructure/gitlab-ci@7bd78810
      
      PBB-32 Fix suffix addition in FNGo pipeline for custom projects
       due to an issue in GitLab where escaped variables are not correctly
       passed to child pipelines, a workaround is required.
       As a result, we use raw variables.
       The DEFERRED_RELEASE_VERSION variable was introduced for this purpose.
       However, for custom builds, we have an additional place where we modify
       the DEFERRED_RELEASE_VERSION variable to add a suffix.
       Therefore, extra interim variables need to be added to handle the workaround
       and ensure we get the raw variable in the end.
      3f8f3936
  2. Jul 23, 2024
  3. Jul 12, 2024
  4. Jul 11, 2024
  5. Jul 09, 2024
  6. Jul 05, 2024
  7. Jul 04, 2024
  8. Jun 26, 2024
  9. Jun 25, 2024
  10. Jun 17, 2024
  11. Jun 14, 2024
  12. Jun 13, 2024
  13. Jun 05, 2024
  14. Jun 03, 2024
  15. May 30, 2024
  16. May 28, 2024
  17. May 24, 2024
    • GitBot's avatar
      Integrate gitlab-ci/delete-infrastucture and 1 more · d6493f9b
      GitBot authored
      --
      
      Commit: seco-ne/yocto/infrastructure/gitlab-ci@01d6973b
      
      Scripts: Add script to delete all integration/ branches
      
      It happens that the integration branches are left over from provious
      runs of the pipeline, when MRs are closed without merging, for example.
      
      Also a bug in the gitlab-ci makes the pipeline fail, when an integration
      branch should be reused. The new scripts just deletes all integration
      branch in the given project tree without further checks.
      
      Needs to be run manually.
      
      --
      
      Commit: seco-ne/yocto/infrastructure/gitlab-ci@c05acbe1
      
      Add scripts to setup a virtual python environment
      
      Use:
      ```
      cd script
      source setup_venv.sh
      ```
      to change to the venv.
      d6493f9b
  18. May 23, 2024
    • GitBot's avatar
      Integrate gitlab-ci/fix_collect_confluence · 4bff62e0
      GitBot authored
      --
      
      Commit: seco-ne/yocto/infrastructure/gitlab-ci@58554035
      
      scripts:release_info: Deep copy dict in merge_variables
      
      Without the deep copy, the merge operation manipulates the dict it is
      storing the new values in.
      4bff62e0
    • GitBot's avatar
      Integrate gitlab-ci/report-image-diff-rework and 1 more · b0321fca
      GitBot authored
      --
      
      Commit: seco-ne/yocto/infrastructure/gitlab-ci@bd4caeae
      
      report_image_diff: rework variables extraction
      
      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
      
      --
      
      Commit: seco-ne/yocto/infrastructure/gitlab-ci@cbf168eb
      
      build:credentials: Fix error when storing credentials in cache
      
      The credentials helper wasn't storing the credentials in the cache.
      Seemingly, the echo added whitespaces at the beginning of the lines
      which can't be interpreted by the git credential approve command.
      Also the USERNAME was renamed to TOKEN_USER because the variable is
      already filled with the system users name.
      b0321fca
  19. May 13, 2024
  20. May 08, 2024
  21. May 02, 2024
  22. Apr 26, 2024
    • GitBot's avatar
      Integrate gitlab-ci/allow_failure · 0b4c04a6
      GitBot authored
      --
      
      Commit: seco-ne/yocto/infrastructure/gitlab-ci@6656c465
      
      CI: allow failure in new jobs 'handle_artifacts' and 'report-image-diff'
      
      It seems that these jobs are not yet completly errorsafe and we could
      ignore the failure without changing the build artifacts.
      0b4c04a6
    • GitBot's avatar
      Integrate gitlab-ci/keep_artifacts · 98682bac
      GitBot authored
      --
      
      Commit: seco-ne/yocto/infrastructure/gitlab-ci@de9851be
      
      ci: add a job to handle artifacts after merge
      
      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")
      98682bac
  23. Apr 25, 2024
    • GitBot's avatar
      Integrate gitlab-ci/report_image_changes_in_mr · 5b3b0f79
      GitBot authored
      --
      
      Commit: seco-ne/yocto/infrastructure/gitlab-ci@1299a9d6
      
      CI: add "report-image-diff" job
      
      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.
      5b3b0f79
  24. Apr 19, 2024
  25. Apr 11, 2024
  26. Apr 08, 2024
  27. Mar 20, 2024
Loading