Skip to content
Snippets Groups Projects
  1. Aug 23, 2024
    • Lorenzo Pagliai's avatar
      [RASPBERRY] Add support to Raspberry Pi 4 machine · f2c40bcc
      Lorenzo Pagliai authored
      * The Raspberry Pi 4 machine only supports U-Boot in Edgehog Things distro,
      for this reason we introduce a check on the presence of U-Boot files and
      eventually not deploy the package in case no files are found.
      * At build time, we only check the number of U-Boot artifacts and give a
        warning if they are less than expected.
      f2c40bcc
  2. Aug 08, 2024
  3. Jul 03, 2024
  4. Jul 02, 2024
    • Lorenzo Pagliai's avatar
      [FIX][INTEGRATION] Bug fix in merging integration MR · 139ddf9b
      Lorenzo Pagliai authored
      * The integration branch name when a new MR is created actually contains
        the repository name, while the script that is performing the merging
      of the branch was using the recipe name. Aligning the behaviour of the
      two scripts.
      * Handle GitLab exception when no MR pipeline is created.
      * Insert Mediatek handling in pipeline retriggering function.
      139ddf9b
  5. Jun 17, 2024
  6. May 31, 2024
  7. May 28, 2024
    • Lorenzo Pagliai's avatar
      [BITBAKE] Handle custom Edgehog distros · 9a507bbe
      Lorenzo Pagliai authored
      In order to handle the scenarios where bitbake needs to compile an
      image different from the standard ones we introduce the possibility to
      have a custom DISTRO variable value. However, the variable shall follow
      the following convention:
      
      * The first part of the string shall indicate the standard Edgehog OS
        distro, i.e. 'things' or 'embedded' as of now
      * The second part of the string shall be the custom Edgehog OS image
        distro with at maximum a '-' as a separator, e.g. 'custom-image'
      * The two parts of the string shall be separated by a '-'
      
      An example could be 'embedded-custom-image'.
      9a507bbe
  8. May 16, 2024
    • Lorenzo Pagliai's avatar
      [TEST] Allow Edgehog Things LAVA test on Intel · d769f604
      Lorenzo Pagliai authored
      * The 'apollolake' machine is no longer used since a single Intel image
        is released
      d769f604
    • Lorenzo Pagliai's avatar
      [RELEASE] Fix on the software artifact name · 2f3d9c1e
      Lorenzo Pagliai authored
      * This commit removee the read-only SAS token from the name of the artifact
      2f3d9c1e
    • Lorenzo Pagliai's avatar
      [KERNEL][VERSION] Update preferrred version for C31 · bd3d87e0
      Lorenzo Pagliai authored
      * Update preferred kernel version to 5.10 for C31
      * Add comment to make the kernel version forcing reason for some of the
        boards more explanatory
      bd3d87e0
    • Lorenzo Pagliai's avatar
      [INTEGRATION] Fix on integration branch name · 7c698616
      Lorenzo Pagliai authored
      Since now, the integration branch name created by a MR on the BSP
      into the layer was formed by the BB_RECIPE_NAME followed by the name
      of merge request source branch. Changing the BB_RECIPE_NAME with the
      CI_PROJECT_PATH variable to fix a bug in the build process when
      integration is performed and the integration branch is not found and
      also for consistency reasons.
      7c698616
    • Lorenzo Pagliai's avatar
      [SRCREV] Improve search for recipe names · 7e54754c
      Lorenzo Pagliai authored
      Since now, when searching for a recipe name, if the line in the SRCREV.conf
      file was matched, a break occurred, and all the lines with the same commit SHA
      of that line were updated. This could be the case of the SRCREV.conf file
      for meta-seco-rk layer where there need to be two recipes (one for u-boot
       and one for fw-sysdata) pointing to the same commit SHA.
      In that case, if both recipes had the same commit SHA, the
      script could handle it and update both lines. However, if a misalignment
      occured by any chance, the script could not handle it. For this reason
      we search for all occurrencies of the same recipe name in the
      SRCREV.conf and update separately each occurrency.
      7e54754c
    • Lorenzo Pagliai's avatar
      [NOTIFY] Include SAS token in Teams notifications · 68ca4c93
      Lorenzo Pagliai authored
      * Since now the links available in the notification message displayed in
        Teams channel with the link, changelog and job results report were
      broken for software artifacts in private container.
      * Introducing the creation of read-only SAS token with 6-months
        expiration policy also for reports.
      * Fix in deploy stage for software artifact URL generation in case of
        public containers.
      68ca4c93
    • Lorenzo Pagliai's avatar
      [ARTIFACTS][URL] Insert blob SAS token in URL · f9a26792
      Lorenzo Pagliai authored
      * For software artifacts that are saved within private Azure container
        it is necessary to add a blob SAS token in order for the URL to
      correctly work. For such purpose we include the generation of a 6-months
      duration read-only SAS token to be attached to the URL.
      * Add AZURE_STORAGE_KEY among necessary CI/CD variables.
      f9a26792
    • Lorenzo Pagliai's avatar
      [CHANGELOG] Improve search for MRs to be collected · 9cfa350f
      Lorenzo Pagliai authored
      * Since now, for each project, the script was searching only for MRs
      that were merged into branches having the same name of the manifest main
      branch.
      * In order to correct this approach, we define a function that searches
        for the INTEGRATION variable in each project and get the name of
      the branch whose changes are integrated into the manifest main branch. If
      more than one branch integrates into the manifest one, all of them are
      considered in the search for MRs to be inserted in the changelog.
      * Include BSP repositories and new meta-layers in CHANGELOG_PROJECTS
        variable
      9cfa350f
  9. Mar 29, 2024
  10. Mar 25, 2024
  11. Mar 22, 2024
    • Lorenzo Pagliai's avatar
      [SHA] Insert SHA of the manifest in artifacts name · 34e9c6dd
      Lorenzo Pagliai authored
      * Instead of inserting the "weekly" string in the artifacts name, which is
        already defined in the Azure path, we insert the short SHA for not
      tagged version of Edgehog.
      * Remove TAG_NAME variable from "latest" tagged artifacts
      34e9c6dd
    • Lorenzo Pagliai's avatar
      [KERNEL] Get main kernel version from bitbake · b8dd7a1d
      Lorenzo Pagliai authored
      * Instead of setting the kernel version by variable, the kernel main
      version is derived from the PREFERRED_VERSION of virtual/kernel used
      by Yocto using bitbake commands.
      * The following algorithm does not actually apply on the 'c31' and
      'tanaro' boards, for which a different handling is applied.
      b8dd7a1d
  12. Mar 21, 2024
    • Lorenzo Pagliai's avatar
      [ARTIFACTS][NAME] Handle equal variables · 9314c567
      Lorenzo Pagliai authored
      * Since for Intel boards the PROCESSOR and BOARD variable values
        coincides, it is necessary to handle this case and remove one of the
      two variables from the artifact name.
      9314c567
    • Lorenzo Pagliai's avatar
      [INTEL] Add "intel" generic machine handling · 74498c1c
      Lorenzo Pagliai authored
      * From now on, the compiled image for all Intel CPU-based SECO boards
      will be unique and not separate for different processor generations/flavours.
      * Bump of the kernel version for all Intel architectures to rel. 6.1.
      * Set KERNEL variable separately for each board and avoid the
        override of the value set in the generic yocto variables.
      74498c1c
  13. Mar 11, 2024
  14. Feb 29, 2024
  15. Feb 19, 2024
  16. Feb 12, 2024
  17. Oct 25, 2023
  18. Oct 06, 2023
  19. Sep 25, 2023
  20. Sep 18, 2023
    • Lorenzo Pagliai's avatar
      [CACHE][TAG] Use downloads and sstate-cache on tag · 943eac76
      Lorenzo Pagliai authored
      * In a first implementation of the build logic, the downloads and
      sstate-cache were supposed to be used only on sheduled and MR builds.
      However, as the number of supported boards increase, there is more necessity of
      CPU and time to get all Yocto images built when a tag is performed. For
      this reason we decide to remove the differentiation at least as long as
      the build server is not upgraded.
      943eac76
    • Lorenzo Pagliai's avatar
      [REPORT] Fix on link report naming on tag · 9d545f2b
      Lorenzo Pagliai authored
      * The report creation included an extra string on the link to the
      artifacts that was not really present and gave rise to not working URLs.
      9d545f2b
  21. Sep 15, 2023
    • Lorenzo Pagliai's avatar
      [DEPLOY-CI] Fix on projects to be CI-integrated · b62c6b1e
      Lorenzo Pagliai authored
      In the previous implementation the deploy-ci job was looking only for
      projects with the INTEGRATION project variable explicitly referring to
      the manifest repository. With this fix, the script will allow searching
      also forprojects with the reference to the meta-layer inside the
      INTEGRATION variable, thus allowing to integrate CI also for 'bsp' group
      projects.
      b62c6b1e
    • Lorenzo Pagliai's avatar
      [BSP][RETRIGGER] Retrigger pipelines for BSP MRs · 1842df03
      Lorenzo Pagliai authored
      Every time a BSP related MR is merged, the SRCREV.conf file in the
      corresponding meta-layer is updated and all other integration MRs in
      that meta-layer can no longer be merged due to conflicts. For this
      reason we add this steps every time a BSP related MR is merged:
      * Search for all open MRs in the same BSP group of the project on which
      the MR occurred.
      * Retrigger the pipelines for all these MRs, that in turn updates the
      integration branches in the meta-layer.
      * All the integration MRs in the meta-layer are now mergeable so that if
      two or more MRs are merged (tipically U-Boot and Kernel MRs are merged
      almost at the same time) no conflict are expected to occur.
      * Moreover, this procedure allows to have an integration MR in the
      meta-layer always updated with the latest BSP version in the main
      branch.
      
      To make this work we also need to change the retrigger job, avoiding the
      possibility to run 'check' jobs that are already running and that would
      throw an error.
      1842df03
    • Lorenzo Pagliai's avatar
      [TIMEOUT] Increase timeout in notify, deploy jobs · 42dfce13
      Lorenzo Pagliai authored
      * The timeout in that jobs need to scale up as the number of boards and
      thus build jobs increases.
      * Increase timeout also in .infrastructure generic job for CI tasks
      since sometimes it failed because it took too much to clone/fetch the
      repository.
      42dfce13
  22. Sep 14, 2023
    • Lorenzo Pagliai's avatar
      [DEPLOY-CI] Fix on srcrev conf file in manifest · ad8064b4
      Lorenzo Pagliai authored
      In the current implementation of Edgehog project, manifest
      repositories do not have to contain SRCREV.conf files which are
      instead in the conf/SRCREV.conf file of the meta-layer. For this reason
      we want to avoid to throw an error when the file is not found
      inside the manifest.
      ad8064b4
Loading