Skip to content
Snippets Groups Projects
  1. Aug 23, 2023
  2. Aug 22, 2023
    • GitBot's avatar
      Integrate gitlab-ci/add-confluence-stage and 2 more · 108d99a5
      GitBot authored
      --
      
      Commit: seco-ne/yocto/infrastructure/gitlab-ci@f8c1d732
      
      Add confluence stage
      
      This adds two jobs to the Yocto pipeline:
      
       - generate-confluence-page
       - publish-confluence-page
      
      The first one generates a confluence page from a template
      (`confluence-page.xml.jinja2`) using information downloaded from all
      successful "Deploy FTP" jobs of the same pipeline.
      
      The second one publishes this page in Confluence and displays a link to
      the new page. If the page already exists it is overwritten.
      
      The place in Confluence where the new page is published is configurable
      via the `CONFLUENCE_SPACE` and `CONFLUENCE_PARENT_ID` variables.
      
      --
      
      Commit: seco-ne/yocto/infrastructure/gitlab-ci@fee9493b
      
      generate-build-pipeline: re-add YAML format parsing
      
      This was accidentally forgotten in the previous commit.
      
      --
      
      Commit: seco-ne/yocto/infrastructure/gitlab-ci@9b777f29
      
      Rename "generate_job_from_template" script to "render_jinja2_template"
      
      This makes the script more general and open for other future purposes.
      The parsing of the YAML content is conditional now, depending on the new
      "format" argument.
      108d99a5
  3. Aug 11, 2023
  4. Jul 27, 2023
    • GitBot's avatar
      Integrate gitlab-ci/separate-images-in-multiple-pipelines and 1 more · 533dd90b
      GitBot authored
      --
      
      Commit: seco-ne/yocto/infrastructure/gitlab-ci@9406ad75
      
      Yocto build: separate images in multiple pipelines
      
      Instead of building the Yocto image, the Yocto SDK and the FNGSystem
      image in one single pipeline, separate them into three independent
      pipelines that are triggered in parallel.
      
      This makes the concept more modular: we have a single general pipeline
      now which is configurable from outside via variables. Hence we can have
      a custom number of pipelines along with custom build targets in each
      project without having to make code changes in the gitlab-ci project.
      
      The default Yocto manifest pipeline configures three build pipelines:
      
      - yocto-build-jobs
      - sdk-build-jobs
      - fngsystem-build-jobs
      
      In a project including the Yocto manifest pipeline, we can disable
      certain build pipelines using job rules, e.g. disabling the SDK build:
      
      sdk-build-jobs:
        rules:
          - when: never
      
      Furthermore we can add more pipelines by simply adding jobs extending
      the '.build-jobs' class in the project's .gitlab-ci.yml:
      
      yocto-custom-build-jobs:
        extends:
          - .build-jobs
        variables:
          BITBAKE_TASK: build
          CI_PARAM_IMAGE: custom-image
          CI_PARAM_DISTRO: custom-distro
          PACKAGE_TYPE: image
      
      --
      
      Commit: seco-ne/yocto/infrastructure/gitlab-ci@447804d2
      
      .gitlab-ci: increase analyze timeout
      533dd90b
  5. Jul 25, 2023
    • GitBot's avatar
      Integrate gitlab-ci/unify-image-and-sdk-package-jobs and 3 more · d9177eeb
      GitBot authored
      --
      
      Commit: seco-ne/yocto/infrastructure/gitlab-ci@5762a54c
      
      Yocto build: unify image and SDK package jobs
      
      Image and SDK package jobs call the same package script just with
      different arguments. Instead of having two job classes `package_release`
      and `package_sdk` for these two tasks, merge them into the base class
      `package` and make the differences configurable via a variable
      `PACKAGE_TYPE`.
      
      --
      
      Commit: seco-ne/yocto/infrastructure/gitlab-ci@8e72eac2
      
      Yocto build: add variable for manual builds
      
      Instead of hard-coding the rules for manual builds in each actual job,
      conditionally add this to the `buildbase` class and add a variable
      `MANUAL_BUILD` to the according jobs.
      
      --
      
      Commit: seco-ne/yocto/infrastructure/gitlab-ci@e6d71996
      
      Yocto build: unify image and SDK build jobs
      
      Image and SDK builds share a lot of similar code. Instead of having two
      job classes `build_yocto_image` and `build_yocto_sdk` for these two
      tasks, merge them into the base class `build_yocto` and make the
      differences configurable via a variable.
      
      The `dump_install_command` part of the script, which was not executed
      for SDK builds, is always present now, but it's only executed if the
      `INSTALLSCRIPT` variable is set, which is not the case for SDK builds.
      
      The `collect_srcrevs` part of the script is executed in all cases. It
      was not part of the SDK build before, but it's not less relevant there.
      
      --
      
      Commit: seco-ne/yocto/infrastructure/gitlab-ci@f892500f
      
      Yocto build: make main artifacts path configurable
      
      Instead of specifying all possible artifacts paths and abusing the fact
      that GitLab ignores non-existing paths during artifact upload, implement
      a cleaner solution with a configurable path.
      d9177eeb
  6. Jul 24, 2023
  7. Jun 02, 2023
  8. Apr 24, 2023
  9. Apr 04, 2023
    • GitBot's avatar
      Integrate gitlab-ci/depend-pipeline-execution-on-branch-protection-state and 2 more · 6e4ed1db
      GitBot authored and Tim Jaacks's avatar Tim Jaacks committed
      --
      
      Commit: seco-ne/yocto/infrastructure/gitlab-ci@939ade2b
      
      Depend intgration pipeline execution on branch protection state
      
      Previously we had the master branch hard-coded in a variable in order to
      determine whether to run the integration pipeline (on non-master branch)
      or the merge pipeline (on master branch). This variable had to be
      adapted everytime we copy a branch, which can potentially be forgotten
      and lead to problems.
      
      Remove the hard-coded branch and use the branch protection state for
      this decision instead in order to make this more flexible.
      
      --
      
      Commit: seco-ne/yocto/infrastructure/gitlab-ci@dbc49ad0
      
      Simplify yamllint job rules
      
      The rules for the yamllint jobs have been defined in the .yamllint class
      before. They were overridden in the manifest pipeline's yamllint job,
      though, which has its own rules, so we don't need them to be inherited
      in this case. And in the manifest integration pipeline the rules can be
      much easier, so define them there instead of at the class-level.
      
      --
      
      Commit: seco-ne/yocto/infrastructure/gitlab-ci@cd8de4ff
      
      .gitlab-ci: add analyze stage for limiting YAML script blocks
      6e4ed1db
  10. Mar 21, 2023
  11. Mar 20, 2023
  12. Mar 10, 2023
  13. Mar 09, 2023
  14. Feb 28, 2023
  15. Feb 20, 2023
  16. Feb 10, 2023
  17. Feb 07, 2023
  18. Feb 06, 2023
  19. Jan 19, 2023
  20. Jan 17, 2023
  21. Jan 10, 2023
  22. Jan 09, 2023
  23. Jan 06, 2023
    • Felix Gerking's avatar
      SDK: Add gdb and gdbserver to toolchain · f9bdf3d9
      Felix Gerking authored
      gdb is under GPLv3, but very usefull for development. Therefore we
      add it to the SDK but not to the image.
      f9bdf3d9
    • Felix Gerking's avatar
      emc-tests: Add new distro file to include test packages · dd4bc65a
      Felix Gerking authored
      The distro is a copy of seconorth-wayland-no-gplv3.conf, but adds the
      packgegroup-tests. This allows nogplv3 based Yocto images to be used
      for EMC tests.
      INCOMPATIBLE_LICENSE_EXCEPTIONS: emc-tests, drm-framebuffer, glmark2, gdb
      Remove readline from gdb packageconfig, otherwise the gdb config fails.
      
      BCS 746-001189
      dd4bc65a
  24. Jan 03, 2023
  25. Dec 20, 2022
  26. Nov 21, 2022
  27. Nov 10, 2022
  28. Oct 18, 2022
    • GitBot's avatar
      Integrate gitlab-ci/add-hide-ftp-upload-flag · b944812a
      GitBot authored
      --
      
      Commit: seco-ne/yocto/infrastructure/gitlab-ci@a5e27f6e
      
      FTP upload: Add flag to hide FTP upload stage
      
      This is a workaround to prevent customer releases being uploaded to our
      public FTP area. It should be removed as soon as we support uploading to
      different FTP target folders.
      b944812a
    • GitBot's avatar
      Integrate gitlab-ci/add-release-suffix and 3 more · 234ad3e1
      GitBot authored
      --
      
      Commit: seco-ne/yocto/infrastructure/gitlab-ci@543a2170
      
      manifest_package: add release suffix
      
      Customer specific manifest projects can now set the RELEASE_SUFFIX
      variable, which then gets appended to the deployment folder names.
      
      --
      
      Commit: seco-ne/yocto/infrastructure/gitlab-ci@c763c43f
      
      alphaplan_fwr: change variable "release_name_local" to "release_name"
      
      Otherwise it can be assumed that it might be correlated with
      outputdir_local, which is not the case.
      
      --
      
      Commit: seco-ne/yocto/infrastructure/gitlab-ci@2d8d26a5
      
      package_release: more refactoring
      
      - Make output-dir an argument that can be passed multiple times instead
        of hard-coding two dirs with certain meanings.
      - Remove LOCALDIR variable from package.env, because it is not used
        anywhere (only occurence was job class ".uploadsdkftp" which wasn't
        used anywhere either).
      
      --
      
      Commit: seco-ne/yocto/infrastructure/gitlab-ci@dc3698c8
      
      package_release: refactoring
      
      Improve readability of package_release.py and its submodule
      generate_release_metadata.py.
      
      - Add describing comments throughout the file.
      - Remove duplicate code from functions. Simplify them, so that they do
        what their names say (and nothing more).
      - Rename variables and function arguments to make their purpose clearer.
      - Harmonize variable names with their corresponding command line arguments.
      - Add pydoc for functions.
      - Add type declarations to function arguments.
      - Generate MD5 and metadata files in the source directories so that they
        can be copied along with the rest of the files.
      234ad3e1
  29. Sep 27, 2022
  30. Sep 20, 2022
  31. Sep 14, 2022
  32. Sep 06, 2022
Loading